X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_display.php;h=22254bbf13d7f83dc8b8784161c65f4f1a015381;hb=174a32e0b5afca8b1bae89d7e1b81fba1bfbc339;hp=6e99041459eb38a4a96c22981297c2a28069344c;hpb=e9f8ea4ecb40efdb6f19631f8359ebd1fbf588be;p=squirrelmail.git diff --git a/src/options_display.php b/src/options_display.php index 6e990414..22254bbf 100644 --- a/src/options_display.php +++ b/src/options_display.php @@ -7,263 +7,230 @@ ** ** Displays all optinos about display preferences ** + ** $Id$ **/ - session_start(); - - if (!isset($config_php)) - include("../config/config.php"); - if (!isset($strings_php)) - include("../functions/strings.php"); - if (!isset($page_header_php)) - include("../functions/page_header.php"); - if (!isset($display_messages_php)) - include("../functions/display_messages.php"); - if (!isset($imap_php)) - include("../functions/imap.php"); - if (!isset($array_php)) - include("../functions/array.php"); - if (!isset($i18n_php)) - include("../functions/i18n.php"); - - include("../src/load_prefs.php"); - displayPageHeader($color, "None"); - $chosen_language = getPref($data_dir, $username, "language"); + require_once('../src/validate.php'); + require_once('../functions/display_messages.php'); + require_once('../functions/imap.php'); + require_once('../functions/array.php'); + require_once('../functions/plugin.php'); + require_once('../functions/options.php'); + + displayPageHeader($color, 'None'); + $language = getPref($data_dir, $username, 'language'); ?>
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - +
: - -"; -?> -
: - -"; -?> -
  - - "; - if ($use_javascript_addr_book == true) { - echo " " . _("JavaScript") . "    "; - echo " " . _("HTML"); - } else { - echo " " . _("JavaScript") . "    "; - echo " " . _("HTML"); - } - ?> -
: - -
"; - else - echo "
"; -?> -
: - -
"; - else - echo "
"; -?> -
: - -= 10 && $editor_size <= 255) - echo "
"; - else - echo "
"; -?> -
: - -\n"; - if ($left_size == 100) - echo "
: - -"; - if (($left_refresh == "None") || ($left_refresh == "")) - echo "