From: jervfors Date: Sun, 5 Feb 2006 12:23:04 +0000 (+0000) Subject: Replacing deprecated HTML "center" element (second try). X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0e271f86f9c08a13f87745083bed91948a6dda89;p=squirrelmail.git Replacing deprecated HTML "center" element (second try). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10650 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/fortune/functions.php b/plugins/fortune/functions.php index 5bded057..d62dd885 100644 --- a/plugins/fortune/functions.php +++ b/plugins/fortune/functions.php @@ -49,14 +49,14 @@ function fortune_function() { $fortune_command=$fortune_location; } - echo "
\n". + echo "
\n". "
\n". "
\n"; echo '
'; if (!$exist) { printf(_("%s is not found."),$fortune_location); } else { - echo "
" . _("Today's Fortune") . "
\n" .
+        echo "
" . _("Today's Fortune") . "
\n" .
             htmlspecialchars(shell_exec($fortune_command)) .
             "
\n"; } diff --git a/plugins/squirrelspell/modules/check_me.mod b/plugins/squirrelspell/modules/check_me.mod index ad3ad080..7f0273bd 100644 --- a/plugins/squirrelspell/modules/check_me.mod +++ b/plugins/squirrelspell/modules/check_me.mod @@ -164,7 +164,7 @@ if( check_php_version ( 4, 3 ) ) { * Check if the execution was successful. Bail out if it wasn't. */ if ($sqspell_exitcode){ - $msg= "
" + $msg= '
' . sprintf(_("I tried to execute '%s', but it returned:"), $sqspell_command) . "
"
      . htmlspecialchars(join("\n", $sqspell_output)) . '
' @@ -469,7 +469,7 @@ if ($errors){ /** * AREN'T YOU SUCH A KNOW-IT-ALL! */ - $msg='
' . + $msg='
' . '
'; sqspell_makeWindow(null, _("No errors found"), null, $msg); diff --git a/plugins/squirrelspell/modules/forget_me_not.mod b/plugins/squirrelspell/modules/forget_me_not.mod index d0dcbb78..069cd10b 100644 --- a/plugins/squirrelspell/modules/forget_me_not.mod +++ b/plugins/squirrelspell/modules/forget_me_not.mod @@ -54,7 +54,7 @@ sqspell_writeWords($word_dic,$sqspell_use_app); * display the splash screen, then close it automatically after 2 sec. */ $onload = "setTimeout('self.close()', 2000)"; -$msg = '
' +$msg = '
' . '
'; sqspell_makeWindow($onload, _("Personal Dictionary Updated"), null, $msg); diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index e4dcce4b..1a722e48 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -200,7 +200,7 @@ echo '
' . html_tag( 'tr' ) . html_tag( 'td', '', 'left', '', 'style="white-space: nowrap;" valign="middle"' ) . "\n" . addForm($PHP_SELF.'?html_addr_search=true', 'post', 'f'). - "\n
\n" . + "\n
\n" . ' ' . _("Search for") . "\n"; addr_insert_hidden(); echo addInput('addrquery', $addrquery, 26); diff --git a/src/help.php b/src/help.php index 1ddeeea9..4f42932d 100644 --- a/src/help.php +++ b/src/help.php @@ -118,7 +118,7 @@ if (!isset($squirrelmail_language)) { if (file_exists("../help/$squirrelmail_language")) { $user_language = $squirrelmail_language; } else if (file_exists('../help/en_US')) { - echo "
" + echo "
" ._("The help has not been translated to the selected language. It will be displayed in English instead."); echo '

'; $user_language = 'en_US';