X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Foptions_display.php;h=87029187b3f53fa3c7228b3c7d919b6528c17ffd;hp=9b433ec4e60d4469df0098f90651db71eee37cfc;hb=0e2feeb57d858fa98aecf536efe911f10b5c1a1e;hpb=f740c049d91feb836dd9633be9e8ff52c00d066f diff --git a/src/options_display.php b/src/options_display.php index 9b433ec4..87029187 100644 --- a/src/options_display.php +++ b/src/options_display.php @@ -10,301 +10,227 @@ ** $Id$ **/ - include('../src/validate.php'); - include('../functions/strings.php'); - include('../config/config.php'); - include('../functions/page_header.php'); - include('../functions/display_messages.php'); - include('../functions/imap.php'); - include('../functions/array.php'); - include('../functions/i18n.php'); - include('../functins/plugin.php'); - include('../src/load_prefs.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'); + $language = getPref($data_dir, $username, 'language'); ?>
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
: - -'; -?> -
: - -'; - 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"; - if ($left_size == 100) - echo '
: - + + +
+ +
+ + +
+ +
+ '; - if (($left_refresh == 'None') || ($left_refresh == '')) - echo ' \n"; + echo ' \n"; + echo ' \n"; + echo "\n"; + } else { + echo $option->createHTMLWidget(); + } + } + + /*** NOT YET CONVERTED TO OPTION OBJECTS ***/ + + echo ''; + do_hook('options_display_inside'); + OptionSubmit( 'submit_display' ); ?> - - - - - - - - - - -
' + . $option->caption . ":' . $option->createHTMLWidget() . "

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