From: <on...@us...> - 2002-09-18 11:44:04
|
Update of /cvsroot/xoops/xoops-current/html/include In directory usw-pr-cvs1:/tmp/cvs-serv5437 Modified Files: xoopscodes.php Log Message: no message Index: xoopscodes.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/include/xoopscodes.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** xoopscodes.php 17 Sep 2002 22:36:00 -0000 1.4 --- xoopscodes.php 18 Sep 2002 11:44:01 -0000 1.5 *************** *** 18,23 **** // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------- // ! // Author of File: // ! // Kazumi Ono (http://www.mywebaddons.com/ , http://www.myweb.ne.jp/) // // ------------------------------------------------------------------------- // ?> --- 18,24 ---- // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------- // ! // Author: Kazumi Ono (AKA onokazu) // ! // URL: http://www.xoops.org/ http://jp.xoops.org/ http://www.myweb.ne.jp/ // ! // Project: The XOOPS Project (http://www.xoops.org/) // // ------------------------------------------------------------------------- // ?> *************** *** 48,54 **** var text2 = prompt("<?php echo _ENTERIMGPOS;?>\n<?php echo _IMGPOSRORL;?>", ""); while ( ( text2 != "" ) && ( text2 != "r" ) && ( text2 != "R" ) && ( text2 != "l" ) && ( text2 != "L" ) && ( text2 != null ) ) { ! text2 = prompt("<?php echo _ERRORIMGPOS;?>\n<?php echo _IMGPOSRORL;?>",""); } ! if ( text2 == "l" || text2 == "L" ) { text2 = " align=left"; } else if ( text2 == "r" || text2 == "R" ) { --- 49,55 ---- var text2 = prompt("<?php echo _ENTERIMGPOS;?>\n<?php echo _IMGPOSRORL;?>", ""); while ( ( text2 != "" ) && ( text2 != "r" ) && ( text2 != "R" ) && ( text2 != "l" ) && ( text2 != "L" ) && ( text2 != null ) ) { ! text2 = prompt("<?php echo _ERRORIMGPOS;?>\n<?php echo _IMGPOSRORL;?>",""); } ! if ( text2 == "l" || text2 == "L" ) { text2 = " align=left"; } else if ( text2 == "r" || text2 == "R" ) { *************** *** 171,175 **** } else { submitDom.disabled = true; ! return true; } } else { --- 172,176 ---- } else { submitDom.disabled = true; ! return true; } } else { *************** *** 188,192 **** * $textarea_id is a unique id of the target textarea */ ! function xoopsCodeTarea($textarea_id, $cols=50, $rows=10){ echo "<input type='button' value='URL' onclick='xoopsCodeUrl(\"$textarea_id\");' /><input type='button' value='IMG' onclick='xoopsCodeImg(\"$textarea_id\");' /><input type='button' value='EMAIL' onclick='xoopsCodeEmail(\"$textarea_id\");' /><input type='button' value='CODE' onclick='xoopsCodeCode(\"$textarea_id\");' /><input type='button' value='QUOTE' onclick='xoopsCodeQuote(\"$textarea_id\");' /><br />\n"; --- 189,193 ---- * $textarea_id is a unique id of the target textarea */ ! function xoopsCodeTarea($textarea_id, $cols=60, $rows=15){ echo "<input type='button' value='URL' onclick='xoopsCodeUrl(\"$textarea_id\");' /><input type='button' value='IMG' onclick='xoopsCodeImg(\"$textarea_id\");' /><input type='button' value='EMAIL' onclick='xoopsCodeEmail(\"$textarea_id\");' /><input type='button' value='CODE' onclick='xoopsCodeCode(\"$textarea_id\");' /><input type='button' value='QUOTE' onclick='xoopsCodeQuote(\"$textarea_id\");' /><br />\n"; *************** *** 240,244 **** echo "<a href='javascript: justReturn()' onclick='xoopsCodeSmilie(\"$textarea_id\", \" :-P \");'><img width='15' height='15' src='".XOOPS_URL."/".$smileyPath."/icon_razz.gif' border='0' alt=':-P' /></a>"; echo "<a href='javascript: justReturn()' onclick='xoopsCodeSmilie(\"$textarea_id\", \" :-x \");'><img width='15' height='15' src='".XOOPS_URL."/".$smileyPath."/icon_mad.gif' border='0' alt=':-x' /></a>"; ! echo " [<a href='javascript:openWithSelfMain(\"".XOOPS_URL."/misc.php?action=showpopups&type=smilies&target=".$textarea_id."\",\"smilies\",300,430);'>"._MORE."</a>]"; } ?> --- 241,245 ---- echo "<a href='javascript: justReturn()' onclick='xoopsCodeSmilie(\"$textarea_id\", \" :-P \");'><img width='15' height='15' src='".XOOPS_URL."/".$smileyPath."/icon_razz.gif' border='0' alt=':-P' /></a>"; echo "<a href='javascript: justReturn()' onclick='xoopsCodeSmilie(\"$textarea_id\", \" :-x \");'><img width='15' height='15' src='".XOOPS_URL."/".$smileyPath."/icon_mad.gif' border='0' alt=':-x' /></a>"; ! echo " [<a href='javascript:openWithSelfMain(\"".XOOPS_URL."/misc.php?action=showpopups&type=smilies&target=".$textarea_id."\",\"smilies\",300,430);'>"._MORE."</a>]"; } ?> |