X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_display.php;h=b258a075c1bd6fb1302ddefb1167fd908902683a;hb=2016e64507116836c60613a7e0569a9e9f7b5f57;hp=935f2d0c61643945689e4b66462aa234cdaaf3eb;hpb=1de36f81f2a4f2f16c44f3ce4af3739d97f409c0;p=squirrelmail.git diff --git a/src/options_display.php b/src/options_display.php index 935f2d0c..b258a075 100644 --- a/src/options_display.php +++ b/src/options_display.php @@ -7,299 +7,104 @@ ** ** Displays all optinos about display preferences ** + ** $Id$ **/ - session_start(); + 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'); - 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"); - if (!isset($plugin_php)) - include("../functins/plugin.php"); - - include("../src/load_prefs.php"); - displayPageHeader($color, "None"); - $chosen_language = getPref($data_dir, $username, "language"); + displayPageHeader($color, 'None'); + $chosen_language = getPref($data_dir, $username, 'language'); ?>
-
-
-
+ + +
-
- - - - - - +
: - -"; -?> -
: - +
+ + +
+ +
+ "; - if (! $use_gettext) - echo "
This system doesn't support multiple languages"; - -?> - - - - - - - - - - - - - - - - - - - - - - - - - - '; + do_hook('options_display_inside'); + OptionSubmit(); ?> - - - - - - -
  - "; - 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 "
: - - _("Never"), + 30 => '30 '. _("Seconds"), + 60 => '1 ' . _("Minute"), + 120 => "2 $minutes_str", + 180 => "3 $minutes_str", + 300 => "5 $minutes_str", + 600 => "10 $minutes_str" ), + $left_refresh ); + OptionRadio( _("Use alternating row colors?"), + 'altIndexColors', + array( 1 => _("Yes"), + 0 => _("No") ), + $alt_index_colors ); + OptionCheck( _("Show HTML version by default"), + 'showhtmldefault', + $show_html_default, + _("Yes, show me the HTML version of a mail message, if it is available.") ); + OptionCheck( _("Include Self"), + 'includeselfreplyall', + getPref($data_dir, $username, 'include_self_reply_all', FALSE ), + _("Don't remove me from the CC addresses when I use \"Reply All\"") ); + $psw = getPref($data_dir, $username, 'page_selector_max', 10 ); + OptionCheck( _("Page Selector"), + 'pageselector', + !getPref($data_dir, $username, 'page_selector', FALSE ), + _("Show page selector") . + "  " . + _("pages max") ); - echo " "; + echo '

  - - "name="submit_display"> -
+ +
- - + + + +
+ +
+ \ No newline at end of file