|
From: Lo?c C. <lo...@us...> - 2001-04-28 15:41:27
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv13252/chat
Modified Files:
input.php3
Log Message:
Fix a bug with double quotes with javascript disabled browsers and improve html links 'target' part
Index: input.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/input.php3,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** input.php3 2001/04/27 18:28:53 1.26
--- input.php3 2001/04/28 15:41:23 1.27
***************
*** 244,248 ****
?>
<!-- Help popup link -->
! <a href="<?php echo($helpUrl); ?>" onclick="window.parent.pmcHelpPopup(<?php echo((L_CHARSET == 'windows-1256') ? 610 : 10); ?>); return false" target="_blank" onmouseover="document.images['helpImg'].src = window.parent.jsImgHelpOn.src" onmouseout="document.images['helpImg'].src = window.parent.jsImgHelpOff.src"><img name="helpImg" src="images/help_off.gif" width="15" height="15" border="0" alt="<?php echo(L_HLP); ?>" onclick="window.parent.pmcSetMsgBoxFocus()" /></a>
<?php
--- 244,248 ----
?>
<!-- Help popup link -->
! <a href="<?php echo($helpUrl); ?>" target="help_popup" onclick="window.parent.pmcHelpPopup(<?php echo((L_CHARSET == 'windows-1256') ? 610 : 10); ?>); return false" onmouseover="document.images['helpImg'].src = window.parent.jsImgHelpOn.src" onmouseout="document.images['helpImg'].src = window.parent.jsImgHelpOff.src"><img name="helpImg" src="images/help_off.gif" width="15" height="15" border="0" alt="<?php echo(L_HLP); ?>" onclick="window.parent.pmcSetMsgBoxFocus()" /></a>
<?php
***************
*** 255,259 ****
// message if the bowser does not know JavaScript);
// - else nothing.
! $msgValue = ($displayMessage) ? $prevMessage : '';
if (isset($error))
{
--- 255,259 ----
// message if the bowser does not know JavaScript);
// - else nothing.
! $msgValue = ($displayMessage) ? str_replace('"', '"', $prevMessage) : '';
if (isset($error))
{
|