'<input type="submit" value="'._("Rename")."\" />\n".
'<input type="submit" name="cancelbutton" value="'._("Cancel")."\" />\n".
'</form><br /></td></tr></table>';
- echo "\n\n</body></html>";
+ echo "\n</td></tr></table>\n</td></tr></table>\n\n</body></html>";
sqimap_logout($imapConnection);
exit;
addSubmit(_("No"), 'cancelbutton').
'</p></form><br /></td></tr></table>';
- echo "\n\n</body></html>";
+ echo "\n</td></tr></table>\n</td></tr></table>\n\n</body></html>";
sqimap_logout($imapConnection);
exit;
} else {
$url = "plugins/listcommands/mailout.php?action=$cmd&";
}
- $url .= 'send_to=' . strtr($act,'?','&');
+ $url .= 'send_to=' . str_replace('?','&', $act);
$output[] = makeComposeLink($url, $fieldsdescr[$cmd]);
'help' => _("Help"));
}
-?>
\ No newline at end of file
+?>
//$returnValue .= returnTime($start).'<br />';
$xtra = <<<ECHO
-<style>
+<style type="text/css">
<!--
.ent_body {
sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
-echo "<frameset rows=\"60, *\" noresize border=\"0\">\n";
-echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id". '" name="top_frame" scrolling="off" />';
-echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) .'&get_message_details=yes&passed_id=' . "$passed_id" . '" name="bottom_frame" />';
+echo "<frameset rows=\"60, *\" >\n";
+echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id".
+ '" name="top_frame" scrolling="no" noresize="noresize" frameborder="0" />';
+echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox) .
+ '&get_message_details=yes&passed_id=' . "$passed_id" .
+ '" name="bottom_frame" frameborder="0" />';
echo '</frameset>'."\n"."</html>\n";
?>
require_once(SM_PATH . 'functions/forms.php');
displayHtmlHeader( _("Message Details"),
- "<script language=\"javascript\">\n".
+ "<script language=\"javascript\" type=\"text/javascript\">\n".
"<!--\n".
"function printPopup() {\n".
"parent.frames[1].focus();\n".
sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
- '<center><b>' .
+ '<center>' .
addForm(SM_PATH . 'src/download.php', 'GET').
addHidden('mailbox', $mailbox).
addHidden('passed_id', $passed_id).
'<input type="button" value="' . _("Print") . '" onclick="printPopup()" /> '.
'<input type="button" value="' . _("Close Window") . '" onclick="window.parent.close()" /> '.
addSubmit(_("Save Message")).
- '</form>'.
- '</b>'.
+ '</form></center>'.
'</body>'.
"</html>\n";
-?>
\ No newline at end of file
+?>
echo html_tag( 'table', '', 'center', '', 'cellpadding="0" cellspacing="0" border="0"' ) .
html_tag( 'tr' ) .
html_tag( 'td' ) .
- '<b><center>' . _("Table of Contents") . '</center></b><br />';
+ '<center><b>' . _("Table of Contents") . '</b></center><br />';
echo html_tag( 'ol' );
for ($i=0, $cnt = count($helpdir); $i < $cnt; $i++) {
$doc = file("../help/$user_language/$helpdir[$i]");
} else {
$doc = file("../help/$user_language/" . $helpdir[$chapter-1]);
$help_info = get_info($doc, 0);
- echo '<small><center>';
+ echo '<center><small>';
if ($chapter <= 1){
echo '<font color="' . $color[9] . '">' . _("Previous")
. '</font> | ';
echo ' | <a href="../src/help.php?chapter=' . ($chapter+1)
. '">' . _("Next") . '</a>';
}
- echo '</center></small><br />';
+ echo '</small></center><br />';
echo '<font size="5"><b>' . $chapter . ' - ' . $help_info[0]
. '</b></font><br /><br />';
html_tag( 'td', ' ', 'left', $color[0] )
);
?>
-</table></body></html>
\ No newline at end of file
+</table></body></html>
echo '<body text="'.$color[8].'" bgcolor="'.$color[3].'" link="'.$color[7].'" vlink="'.$color[7].'" alink="'.$color[7]."\">\n" .
html_tag( 'div',
- '<b>'.
'<form>'.
'<input type="button" value="' . _("Print") . '" onclick="printPopup()" /> '.
'<input type="button" value="' . _("Close") . '" onclick="window.parent.close()" />'.
- '</form>'.
- '</b>',
+ '</form>',
'right' );
?>
-</body></html>
\ No newline at end of file
+</body></html>
html_tag( 'table',
html_tag( 'tr',
html_tag( 'th', _("Sign Out"), 'center' ) ,
- '', $color[0], 'width="100%"' ) .
+ '', $color[0] ) .
$plugin_message .
html_tag( 'tr',
html_tag( 'td', _("You have been successfully signed out.") .
'<br /><a href="login.php" target="' . $frame_top . '">' .
_("Click here to log back in.") . '</a><br />' ,
'center' ) ,
- '', $color[4], 'width="100%"' ) .
+ '', $color[4] ) .
html_tag( 'tr',
html_tag( 'td', '<br />', 'center' ) ,
- '', $color[0], 'width="100%"' ) ,
-'center', $color[4], 'width="50%" cols="1" cellpadding="2" cellspacing="0" border="0"' )
+ '', $color[0] ) ,
+'center', $color[4], 'width="50%" cellpadding="2" cellspacing="0" border="0"' )
?>
</body>
</html>
_("Viewing Full Header") . '</b> - '.
'<a href="';
echo_template_var($ret_addr);
- echo '">' ._("View message") . "</a></b></td></tr></table>\n";
+ echo '">' ._("View message") . "</a></td></tr></table>\n";
echo_template_var($header,
array(
'<table width="99%" cellpadding="2" cellspacing="0" border="0" '.
"align=center>\n".'<tr><td>',
- '<nobr><tt><b>',
+ '<tt style="white-space: nowrap;"><b>',
'</b>',
- '</tt></nobr>',
+ '</tt>',
'</td></tr></table>'."\n"
)
);
$header = parse_viewheader($imapConnection,$passed_id, $passed_ent_id);
view_header($header, $mailbox, $color);
-?>
\ No newline at end of file
+?>