X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_display.php;h=9b18c47e559bf9d3bf9b02ed75fb16c850cbc17c;hb=c45c3f60f4ff4c2140e1183177f587d8dedfd71b;hp=37227bd6637ea70d14014f8c2ce5fc2012354865;hpb=9a732bb67ea88537b219f500b9ef3faf487a893b;p=squirrelmail.git diff --git a/src/options_display.php b/src/options_display.php index 37227bd6..9b18c47e 100644 --- a/src/options_display.php +++ b/src/options_display.php @@ -7,79 +7,72 @@ ** ** Displays all optinos about display preferences ** + ** $Id$ **/ - session_start(); - - 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"); + include('../src/validate.php'); + include('../functions/display_messages.php'); + include('../functions/imap.php'); + include('../functions/array.php'); + include('../functions/plugin.php'); + + displayPageHeader($color, 'None'); + $chosen_language = getPref($data_dir, $username, 'language'); ?>
-
-
-
+ + +
+ +
+ + +
-
- +
+
- - @@ -89,43 +82,58 @@ - - - + + + + + @@ -133,153 +141,128 @@ - + + + + + + + - + + + + + -
: + : ' . "\n"; for ($i = 0; $i < count($theme); $i++) { - if ($theme[$i]["PATH"] == $chosen_theme) - echo "
: + : "; + echo ' '; + if (! $use_gettext) + echo '
This system doesn\'t support multiple languages'; + ?>
  - - "; + '; if ($use_javascript_addr_book == true) { - echo " " . _("JavaScript") . "    "; - echo " " . _("HTML"); + echo ' ' . _("JavaScript") . '    '; + echo ' ' . _("HTML"); } else { - echo " " . _("JavaScript") . "    "; - echo " " . _("HTML"); + echo ' ' . _("JavaScript") . '    '; + echo ' ' . _("HTML"); } ?>
"; + echo '
'; else - echo "
"; + echo '
'; ?>
: + :
"; + echo '
'; else - echo "
"; + echo '
'; ?>
: + : = 10 && $editor_size <= 255) - echo "
"; + echo '
'; else - echo "
"; + echo '
'; ?>
:: +
:
: \n"; - if ($left_size == 100) - echo "
: + : "; - if (($left_refresh == "None") || ($left_refresh == "")) - echo "
+ + + + >    + >
+
+ : + + > +
+ : + + > + +
  "name="submit_display">
+
- + + + +
+ + +