From: tokul Date: Thu, 9 Feb 2006 19:38:50 +0000 (+0000) Subject: adding new options to plugin defines. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=0d53a854dbf582a0e52ad8c82dd5637e428f3462 adding new options to plugin defines. 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 --- diff --git a/plugins/administrator/defines.php b/plugins/administrator/defines.php index 939365d5..373052ea 100644 --- a/plugins/administrator/defines.php +++ b/plugins/administrator/defines.php @@ -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"), diff --git a/plugins/administrator/options.php b/plugins/administrator/options.php index 7faf33dd..1c35dc43 100644 --- a/plugins/administrator/options.php +++ b/plugins/administrator/options.php @@ -272,7 +272,7 @@ if ( sqgetGlobalVar('switch', $switch, SQ_GET) ) { } echo '
' . - '
'. + '
'. ''. ''. @@ -581,7 +581,7 @@ if ( $colapse['Group8'] == 'off' ) { $i++; } } - echo ''; } else { echo '\n". - '
'. _("Configuration Administrator").'
'; + echo ''; + echo '
'; foreach ( $op_plugin as $plg ) { if ( in_array( $plg, $plugins ) ) { $sw = ' checked="checked"'; @@ -598,7 +598,7 @@ if ( $colapse['Group8'] == 'off' ) { "". "\n"; } - echo '
'. sprintf(_("Plugin directory could not be found: %s"), $plugpath). @@ -609,7 +609,7 @@ echo '

'. ''. _("Test Configuration")."
'; + '
'; /* Write the options to the file.