X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_display.php;h=69cba54bea73de561481ddf1d78e3ac8ea3fb278;hb=23d6bd09c631285eae8c45af3a37aa7c86be3cfa;hp=4a943ef9ddb7b2f14b8daede4061c148c46b6dc1;hpb=87448e92f9b604d63b173cbfbf9b3c8273bf33fb;p=squirrelmail.git diff --git a/src/options_display.php b/src/options_display.php index 4a943ef9..69cba54b 100644 --- a/src/options_display.php +++ b/src/options_display.php @@ -10,14 +10,15 @@ ** $Id$ **/ - include('../src/validate.php'); - include('../functions/display_messages.php'); - include('../functions/imap.php'); - include('../functions/array.php'); - include('../functions/plugin.php'); - + 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'); - $chosen_language = getPref($data_dir, $username, 'language'); + $chosen_language = getPref($data_dir, $username, 'language'); ?>
@@ -30,260 +31,78 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '; + 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 ' '; -?> -
- - -
- : - - > - -
- : - - > - -
  - - "name="submit_display"> -
@@ -292,6 +111,10 @@ echo _("Don't remove me from the CC addresses when I use \"Reply All\""); + +