$fortune_command=$fortune_location;
}
- echo "<div style="text-align: center;"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$color[10]\">\n".
+ echo "<div style=\"text-align: center;\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"$color[10]\">\n".
"<tr><td><table width=\"100%\" cellpadding=\"2\" cellspacing=\"1\" border=\"0\" bgcolor=\"$color[5]\">\n".
"<tr><td align=\"center\">\n";
echo '<table><tr><td>';
if (!$exist) {
printf(_("%s is not found."),$fortune_location);
} else {
- echo "<div style="text-align: center;"><em>" . _("Today's Fortune") . "</em></div><pre>\n" .
+ echo "<div style=\"text-align: center;\"><em>" . _("Today's Fortune") . "</em></div><pre>\n" .
htmlspecialchars(shell_exec($fortune_command)) .
"</pre>\n";
}
* Check if the execution was successful. Bail out if it wasn't.
*/
if ($sqspell_exitcode){
- $msg= "<div align='center'>"
+ $msg= '<div style="text-align: center;">'
. sprintf(_("I tried to execute '%s', but it returned:"),
$sqspell_command) . "<pre>"
. htmlspecialchars(join("\n", $sqspell_output)) . '</pre>'
/**
* AREN'T YOU SUCH A KNOW-IT-ALL!
*/
- $msg='<form onsubmit="return false"><div align="center">' .
+ $msg='<form onsubmit="return false"><div style="text-align: center;">' .
'<input type="submit" value=" ' . _("Close") .
' " onclick="self.close()" /></div></form>';
sqspell_makeWindow(null, _("No errors found"), null, $msg);
* display the splash screen, then close it automatically after 2 sec.
*/
$onload = "setTimeout('self.close()', 2000)";
-$msg = '<form onsubmit="return false"><div align="center">'
+$msg = '<form onsubmit="return false"><div style="text-align: center;">'
. '<input type="submit" value=" '
. _("Close") . ' " onclick="self.close()" /></div></form>';
sqspell_makeWindow($onload, _("Personal Dictionary Updated"), null, $msg);
html_tag( 'tr' ) .
html_tag( 'td', '', 'left', '', 'style="white-space: nowrap;" valign="middle"' ) . "\n" .
addForm($PHP_SELF.'?html_addr_search=true', 'post', 'f').
- "\n<div style="text-align: center;">\n" .
+ "\n<div style=\"text-align: center;\">\n" .
' <nobr><strong>' . _("Search for") . "</strong>\n";
addr_insert_hidden();
echo addInput('addrquery', $addrquery, 26);
if (file_exists("../help/$squirrelmail_language")) {
$user_language = $squirrelmail_language;
} else if (file_exists('../help/en_US')) {
- echo "<div style="text-align: center;"><font color=\"$color[2]\">"
+ echo "<div style=\"text-align: center;\"><font color=\"$color[2]\">"
._("The help has not been translated to the selected language. It will be displayed in English instead.");
echo '</font></div><br />';
$user_language = 'en_US';