minor update for options api
[squirrelmail.git] / include / options / display.php
index 7ccb61101aa553d618aa3568cac12c6bc0167012..2907cf3a96520b56d23966259ac4ab982b1266a5 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * options_display.php
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Displays all optinos about display preferences
@@ -109,7 +109,7 @@ function load_optpage_data_display() {
         'caption' => '',
         'type'    => SMOPT_TYPE_HIDDEN,
         'refresh' => SMOPT_REFRESH_NONE,
-        'script'  => $js_autodetect_script,
+        'post_script' => $js_autodetect_script,
         'save'    => 'save_option_javascript_autodetect'
     );
 
@@ -229,13 +229,6 @@ function load_optpage_data_display() {
         'refresh' => SMOPT_REFRESH_NONE
     );
 
-    $optvals[SMOPT_GRP_MESSAGE][] = array(
-        'name'    => 'pf_subtle_link',
-        'caption' => _("Enable Subtle Printer Friendly Link"),
-        'type'    => SMOPT_TYPE_BOOLEAN,
-        'refresh' => SMOPT_REFRESH_NONE
-    );
-
     $optvals[SMOPT_GRP_MESSAGE][] = array(
         'name'    => 'pf_cleandisplay',
         'caption' => _("Enable Printer Friendly Clean Display"),