'.
- "$optpage_title \n".
- ''.
- "\n";
+echo ' ' .
+ html_tag( 'table', '', 'center', $color[0], 'width="95%" cellpadding="2" cellspacing="0" border="0"' ) . "\n" .
+ html_tag( 'tr' ) . "\n" .
+ html_tag( 'td', '', 'center' ) .
+ "$optpage_title \n".
+ html_tag( 'table', '', '', '', 'width="100%" cellpadding="5" cellspacing="0" border="0"' ) . "\n" .
+ html_tag( 'tr' ) . "\n" .
+ html_tag( 'td', '', 'center', $color[4] ) . "\n";
/*******************************************************************/
/* DO OLD SAVING OF SUBMITTED OPTIONS. THIS WILL BE REMOVED LATER. */
@@ -261,14 +265,14 @@ if ($optpage == SMOPT_PAGE_MAIN) {
$frame_top = '_top';
}
/* Display a message indicating a successful save. */
- echo '' . _("Successfully Saved Options") . ": $optpage_name \n";
+ echo '' . _("Successfully Saved Options") . ": $optpage_name \n";
/* If $max_refresh != SMOPT_REFRESH_NONE, provide a refresh link. */
if ( !isset( $max_refresh ) ) {
} else if ($max_refresh == SMOPT_REFRESH_FOLDERLIST) {
- echo '' . _("Refresh Folder List") . ' ';
+ echo '' . _("Refresh Folder List") . ' ';
} else if ($max_refresh) {
- echo '' . _("Refresh Page") . ' ';
+ echo '' . _("Refresh Page") . ' ';
}
}
/******************************************/
@@ -337,9 +341,12 @@ if ($optpage == SMOPT_PAGE_MAIN) {
/* Now, print out each option page section. */
/********************************************/
$first_optpage = false;
- echo "" .
- '' .
- "";
+ echo html_tag( 'table', '', '', $color[4], 'width="100%" cellpadding="0" cellspacing="5" border="0"' ) . "\n" .
+ html_tag( 'tr' ) . "\n" .
+ html_tag( 'td', '', 'left', '', 'valign="top"' ) .
+ html_tag( 'table', '', '', $color[4], 'width="100%" cellpadding="3" cellspacing="0" border="0"' ) . "\n" .
+ html_tag( 'tr' ) . "\n" .
+ html_tag( 'td', '', 'left' );
foreach ($optpage_blocks as $next_optpage) {
if ($first_optpage == false) {
$first_optpage = $next_optpage;
@@ -353,7 +360,7 @@ if ($optpage == SMOPT_PAGE_MAIN) {
print_optionpages_row($first_optpage);
}
- echo " |
| \n";
+ echo " | |