X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Foptions_display.php;h=a59e46e2ce65dc28c0eaa2508f52d114401bba94;hp=9c98ef14b111639328536604b4f1b1ca0b69b431;hb=849bdf42ed7bd7cca68909d2b46869742dfd210e;hpb=ff8a98e7e1d368c57b088522586bddcf68d443a5 diff --git a/src/options_display.php b/src/options_display.php index 9c98ef14..a59e46e2 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,231 +31,72 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '; + do_hook('options_display_inside'); + OptionSubmit( 'submit_display' ); ?> - - - - - - - - - - - - - - - - - +
: - -'; -?> -
: - '; - 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 ' '; + echo '

- - - - >    - >
-
- : - - > - -
- : - - > - -
  - - "name="submit_display"> -