adding new options to plugin defines.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 9 Feb 2006 19:38:50 +0000 (19:38 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 9 Feb 2006 19:38:50 +0000 (19:38 +0000)
undoing centering changes in plugin. align attribute is deprecated, but
css does not provide options for table alignment.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10680 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/administrator/defines.php
plugins/administrator/options.php

index 939365d50f3c3af86107c7c4847d182bc6683b55..373052ea915fde28d6ccdfad7a02b88a897ad5d0 100644 (file)
@@ -267,10 +267,10 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                  '$hide_auth_header' => array( 'name' => _("Remove username from headers"),
                                                'comment' => _("Used only when identities can't be modified"),
                                                'type' => SMOPT_TYPE_BOOLEAN ),
-                 '$allow_server_sort' => array( 'name' => _("Use server-side sorting"),
+                 '$disable_server_sort' => array( 'name' => _("Disable server-side sorting"),
                                                 'type' => SMOPT_TYPE_BOOLEAN,
                                                 'default' => false ),
-                 '$allow_thread_sort' => array( 'name' => _("Use server-side thread sorting"),
+                 '$disable_thread_sort' => array( 'name' => _("Disable server-side thread sorting"),
                                                 'type' => SMOPT_TYPE_BOOLEAN,
                                                 'default' => false ),
                  '$allow_charset_search' => array( 'name' => _("Allow server charset search"),
index 7faf33dd01fdff348ea97e3b60cd8a58cfb4ef32..1c35dc432c4f2c529f2e64a27bddbae6b2418b56 100644 (file)
@@ -272,7 +272,7 @@ if ( sqgetGlobalVar('switch', $switch, SQ_GET) ) {
 }
 
 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].'">'.
      '<tr bgcolor="'.$color[5].'"><th colspan="2">'.
      _("Configuration Administrator").'</th></tr>'.
@@ -581,7 +581,7 @@ if ( $colapse['Group8'] == 'off' ) {
                 $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 ) {
             if ( in_array( $plg, $plugins ) ) {
                 $sw = ' checked="checked"';
@@ -598,7 +598,7 @@ if ( $colapse['Group8'] == 'off' ) {
                  "<td><input$sw type=\"checkbox\" name=\"plgs_$plg\" /></td>".
                  "</tr>\n";
         }
-        echo '</table></div></td></tr>';
+        echo '</table></td></tr>';
     } else {
         echo '<tr><td colspan="2" align="center">'.
              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 />'.
      '<a href="'.SM_PATH.'src/configtest.php" target="_blank">'.
      _("Test Configuration")."</a></th></tr>\n".
-     '</table></td></tr></table></div></form>';
+     '</table></td></tr></table></form>';
 
 /*
     Write the options to the file.