From: Fredrik J. <jer...@us...> - 2006-02-05 11:19:04
|
Update of /cvsroot/squirrelmail/squirrelmail/plugins/newmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30034/devel-center/squirrelmail/plugins/newmail Modified Files: newmail.php testsound.php Log Message: Replacing deprecated HTML "center" element. Index: newmail.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/newmail/newmail.php,v retrieving revision 1.23 retrieving revision 1.24 diff -u -w -r1.23 -r1.24 --- newmail.php 23 Jan 2006 18:42:22 -0000 1.23 +++ newmail.php 5 Feb 2006 11:18:50 -0000 1.24 @@ -24,7 +24,7 @@ displayHtmlHeader( _("New Mail"), '', FALSE ); echo '<body bgcolor="'.$color[4].'" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">'."\n". - '<center>'. "\n" . + '<div style="text-align: center;">'. "\n" . html_tag( 'table', "\n" . html_tag( 'tr', "\n" . html_tag( 'td', '<b>' . _("SquirrelMail Notice:") . '</b>', 'center', $color[0] ) @@ -41,7 +41,7 @@ 'center' ) ) , '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) . - '</center>' . + '</div>' . "<script language=javascript>\n". "<!--\n". "document.nm.bt.focus();\n". Index: testsound.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/newmail/testsound.php,v retrieving revision 1.25 retrieving revision 1.26 diff -u -w -r1.25 -r1.26 --- testsound.php 23 Jan 2006 18:42:22 -0000 1.25 +++ testsound.php 5 Feb 2006 11:18:50 -0000 1.26 @@ -23,10 +23,10 @@ if ( ! sqgetGlobalVar('sound', $sound, SQ_GET) ) { $sound = 'Click.wav'; } elseif ( $sound == '(none)' ) { - echo '<center><form><br /><br />'. + echo '<div style="text-align: center;"><form><br /><br />'. '<b>' . _("No sound specified") . '</b><br /><br />'. '<input type="button" name="close" value="' . _("Close") . '" onclick="window.close()" />'. - '</form></center>'. + '</form></div>'. '</body></html>'; return; } |