require_once('../functions/imap.php');
require_once('../functions/array.php');
require_once('../functions/options.php');
+require_once('../functions/strings.php');
/* Set the base uri. */
ereg ("(^.*/)[^/]+/[^/]+$", $PHP_SELF, $regs);
$first_optpage = false;
echo "<TABLE BGCOLOR=\"$color[4]\" WIDTH=\"100%\" CELLPADDING=0 CELLSPACING=\"5\" BORDER=\"0\">" .
'<TR><TD VALIGN="TOP">' .
- "<TABLE BGCOLOR=\"$color[4]\" WIDTH=\"100%\" CELLPADDING=\"3\" CELLSPACING=\"0\" BORDER=\"0\">";
+ "<TABLE BGCOLOR=\"$color[4]\" WIDTH=\"100%\" CELLPADDING=\"3\" CELLSPACING=\"0\" BORDER=\"0\"><TR><TD>";
foreach ($optpage_blocks as $next_optpage) {
if ($first_optpage == false) {
$first_optpage = $next_optpage;
print_optionpages_row($first_optpage);
}
- echo "</TABLE></TD></TR></TABLE>\n";
+ echo "</TD></TR></TABLE></TD></TR></TABLE>\n";
do_hook('options_link_and_description');
/*************************************************************************/
} else {
echo '<FORM NAME="f" ACTION="options.php" METHOD="POST"><BR>' . "\n"
- . '<TABLE WIDTH="100%" CELLPADDING=2 CELLSPACING=0 BORDER=0>' . "\n"
. create_optpage_element($optpage)
- . create_optmode_element(SMOPT_MODE_SUBMIT);
+ . create_optmode_element(SMOPT_MODE_SUBMIT)
+ . '<TABLE WIDTH="100%" CELLPADDING=2 CELLSPACING=0 BORDER=0>' . "\n";
/* Output the option groups for this page. */
print_option_groups($optpage_data['options']);
echo "<TD VALIGN=top BGCOLOR=\"$color[4]\" WIDTH=\"50%\"> </TD>";
}
- echo '</TR>' .
+ echo '</TR>' . "\n" .
'<TR>' .
"<TD VALIGN=top BGCOLOR=\"$color[0]\" WIDTH=\"50%\">" .
$leftopt['desc'] .
echo "<TD VALIGN=top BGCOLOR=\"$color[4]\" WIDTH=\"50%\"> </TD>";
}
- echo '</TR>' .
+ echo '</TR>' . "\n" .
'</TABLE>' .
'</TD></TR>' .
"</TABLE>\n";