Ver código fonte

$theme_css is no longer supported.

stevetruckstuff 19 anos atrás
pai
commit
cd78ffd151
3 arquivos alterados com 2 adições e 4 exclusões
  1. 1 2
      config/conf.pl
  2. 0 1
      config/config_default.php
  3. 1 1
      functions/page_header.php

+ 1 - 2
config/conf.pl

@@ -330,7 +330,7 @@ while ( $line = <FILE> ) {
             $ldap_writeable[$sub] = $writeable;
             $ldap_writeable[$sub] = $writeable;
             $ldap_search_tree[$sub] = $search_tree;
             $ldap_search_tree[$sub] = $search_tree;
             $ldap_starttls[$sub] = $starttls;
             $ldap_starttls[$sub] = $starttls;
-        } elsif ( $options[0] =~ /^(data_dir|attachment_dir|theme_css|org_logo|signout_page|icon_theme_def)$/ ) {
+        } elsif ( $options[0] =~ /^(data_dir|attachment_dir|org_logo|signout_page|icon_theme_def)$/ ) {
             ${ $options[0] } = &change_to_rel_path($options[1]);
             ${ $options[0] } = &change_to_rel_path($options[1]);
         } else {
         } else {
             ${ $options[0] } = $options[1];
             ${ $options[0] } = $options[1];
@@ -4102,7 +4102,6 @@ sub save_data {
         print CF "\n";
         print CF "\n";
 
 
         # strings
         # strings
-        print CF "\$theme_css = " . &change_to_SM_path($theme_css) . ";\n";
         if ( $theme_default eq '' ) { $theme_default = '0'; }
         if ( $theme_default eq '' ) { $theme_default = '0'; }
         print CF "\$theme_default = $theme_default;\n";
         print CF "\$theme_default = $theme_default;\n";
 
 

+ 0 - 1
config/config_default.php

@@ -675,7 +675,6 @@ $session_name = 'SQMSESSID';
  * $theme_default sets theme that will be used by default
  * $theme_default sets theme that will be used by default
  * used by default.
  * used by default.
  * @global integer $theme_default
  * @global integer $theme_default
- * @global string $theme_css
  */
  */
 $theme_default = 0;
 $theme_default = 0;
 
 

+ 1 - 1
functions/page_header.php

@@ -32,7 +32,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
     if ( !sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) {
     if ( !sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) {
         global $base_uri;
         global $base_uri;
     }
     }
-    global $theme_css, $custom_css, $pageheader_sent, $theme, $theme_default, $text_direction,
+    global $custom_css, $pageheader_sent, $theme, $theme_default, $text_direction,
         $default_fontset, $chosen_fontset, $default_fontsize, $chosen_fontsize, $chosen_theme;
         $default_fontset, $chosen_fontset, $default_fontsize, $chosen_fontsize, $chosen_theme;
 
 
     /* add no cache headers here */
     /* add no cache headers here */