|
@@ -272,7 +272,7 @@ if ( sqgetGlobalVar('switch', $switch, SQ_GET) ) {
|
|
}
|
|
}
|
|
|
|
|
|
echo '<form action="options.php" method="post" name="options">' .
|
|
echo '<form action="options.php" method="post" name="options">' .
|
|
- '<div style="text-align: center;"><table width="95%" bgcolor="'.$color[5].'"><tr><td>'.
|
|
|
|
|
|
+ '<table width="95%" align="center" bgcolor="'.$color[5].'"><tr><td>'.
|
|
'<table width="100%" cellspacing="0" bgcolor="'.$color[4].'">'.
|
|
'<table width="100%" cellspacing="0" bgcolor="'.$color[4].'">'.
|
|
'<tr bgcolor="'.$color[5].'"><th colspan="2">'.
|
|
'<tr bgcolor="'.$color[5].'"><th colspan="2">'.
|
|
_("Configuration Administrator").'</th></tr>'.
|
|
_("Configuration Administrator").'</th></tr>'.
|
|
@@ -581,7 +581,7 @@ if ( $colapse['Group8'] == 'off' ) {
|
|
$i++;
|
|
$i++;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- echo '<tr><td colspan="2"><input type="hidden" name="plg" value="on" /><div style="text-align: center;"><table>';
|
|
|
|
|
|
+ echo '<tr><td colspan="2"><input type="hidden" name="plg" value="on" /><table align="center">';
|
|
foreach ( $op_plugin as $plg ) {
|
|
foreach ( $op_plugin as $plg ) {
|
|
if ( in_array( $plg, $plugins ) ) {
|
|
if ( in_array( $plg, $plugins ) ) {
|
|
$sw = ' checked="checked"';
|
|
$sw = ' checked="checked"';
|
|
@@ -598,7 +598,7 @@ if ( $colapse['Group8'] == 'off' ) {
|
|
"<td><input$sw type=\"checkbox\" name=\"plgs_$plg\" /></td>".
|
|
"<td><input$sw type=\"checkbox\" name=\"plgs_$plg\" /></td>".
|
|
"</tr>\n";
|
|
"</tr>\n";
|
|
}
|
|
}
|
|
- echo '</table></div></td></tr>';
|
|
|
|
|
|
+ echo '</table></td></tr>';
|
|
} else {
|
|
} else {
|
|
echo '<tr><td colspan="2" align="center">'.
|
|
echo '<tr><td colspan="2" align="center">'.
|
|
sprintf(_("Plugin directory could not be found: %s"), $plugpath).
|
|
sprintf(_("Plugin directory could not be found: %s"), $plugpath).
|
|
@@ -609,7 +609,7 @@ echo '<tr bgcolor="'.$color[5].'"><th colspan="2"><input value="'.
|
|
_("Change Settings").'" type="submit" /><br />'.
|
|
_("Change Settings").'" type="submit" /><br />'.
|
|
'<a href="'.SM_PATH.'src/configtest.php" target="_blank">'.
|
|
'<a href="'.SM_PATH.'src/configtest.php" target="_blank">'.
|
|
_("Test Configuration")."</a></th></tr>\n".
|
|
_("Test Configuration")."</a></th></tr>\n".
|
|
- '</table></td></tr></table></div></form>';
|
|
|
|
|
|
+ '</table></td></tr></table></form>';
|
|
|
|
|
|
/*
|
|
/*
|
|
Write the options to the file.
|
|
Write the options to the file.
|