From: <w4...@us...> - 2002-09-17 22:36:03
|
Update of /cvsroot/xoops/xoops-current/html/include In directory usw-pr-cvs1:/tmp/cvs-serv29160/html/include Modified Files: xoopscodes.php Log Message: Replaced _ENTERCode by _ENTERCODE Index: xoopscodes.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/include/xoopscodes.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** xoopscodes.php 17 Sep 2002 15:17:59 -0000 1.3 --- xoopscodes.php 17 Sep 2002 22:36:00 -0000 1.4 *************** *** 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" ) { --- 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" ) { *************** *** 85,89 **** function xoopsCodeCode(id){ ! var text = prompt("<?php echo _ENTERCode;?>", ""); var dom = xoopsGetElementById(id); if ( text != null && text != "" ) { --- 85,89 ---- function xoopsCodeCode(id){ ! var text = prompt("<?php echo _ENTERCODE;?>", ""); var dom = xoopsGetElementById(id); if ( text != null && text != "" ) { *************** *** 171,175 **** } else { submitDom.disabled = true; ! return true; } } else { --- 171,175 ---- } else { submitDom.disabled = true; ! return true; } } else { *************** *** 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>]"; } ?> --- 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>]"; } ?> |