X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Foptions_display.php;h=e3ee45a70448fdef831b9cd96fe74b1a378dba7c;hp=2ee032b0fbc2086db79cd6477563cbdbd3e5d701;hb=45cfc1247b2a15a60d24f0af7a5303e8a4ae0edf;hpb=f1e6f580186aed693bd544e31895422f49642571 diff --git a/src/options_display.php b/src/options_display.php index 2ee032b0..e3ee45a7 100644 --- a/src/options_display.php +++ b/src/options_display.php @@ -15,9 +15,10 @@ require_once('../functions/imap.php'); require_once('../functions/array.php'); require_once('../functions/plugin.php'); - + require_once('../functions/options.php'); + displayPageHeader($color, 'None'); - $chosen_language = getPref($data_dir, $username, 'language'); + $chosen_language = getPref($data_dir, $username, 'language'); ?>
@@ -30,237 +31,68 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + do_hook('options_display_inside'); ?>
: - -'; -?> -
: - -'; - if (! $use_gettext) - echo '
This system doesn\'t support multiple languages'; - -?> -
  - '; - 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"; - for ($i = 100; $i <= 300; $i += 10) - { - if ($left_size >= $i && $left_size < $i + 10) - 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 ' '; -?> -
- - - - >    - >
-
- : - - > - -
- : - - ' . _("Don't remove me from the CC addresses when I use \"Reply All\""); - ?> -
- '; - echo ' ' . _("Show page selector") . ' '; - $psw = getPref($data_dir, $username, 'page_selector_max', 10 ); - echo ""; - echo ' ' . _("pages max"); - ?> -