Quellcode durchsuchen

using hide_sm_attributions instead of hide_sm_attributes

tokul vor 19 Jahren
Ursprung
Commit
de17251099
3 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 3 1
      config/conf.pl
  2. 1 0
      config/config_default.php
  3. 1 2
      src/login.php

+ 3 - 1
config/conf.pl

@@ -333,7 +333,6 @@ $force_username_lowercase = 'false'     if ( !$force_username_lowercase );
 $optional_delimiter = "detect"          if ( !$optional_delimiter );
 $auto_create_special = 'false'          if ( !$auto_create_special );
 $default_use_priority = 'true'          if ( !$default_use_priority );
-$hide_sm_attributions = 'false'         if ( !$hide_sm_attributions );
 $default_use_mdn = 'true'               if ( !$default_use_mdn );
 $delete_folder = 'false'                if ( !$delete_folder );
 $noselect_fix_enable = 'false'          if ( !$noselect_fix_enable );
@@ -352,6 +351,9 @@ $session_name = 'SQMSESSID'             if ( !$session_name );
 $skip_SM_header = 'false'               if ( !$skip_SM_header );
 $default_use_javascript_addr_book = 'false' if (! $default_use_javascript_addr_book);
 
+# since 1.2.0
+$hide_sm_attributions = 'false'         if ( !$hide_sm_attributions );
+
 # since 1.4.0
 $use_smtp_tls= 'false'                  if ( !$use_smtp_tls);
 $smtp_auth_mech = 'none'                if ( !$smtp_auth_mech );

+ 1 - 0
config/config_default.php

@@ -537,6 +537,7 @@ $default_use_priority = true;
  * This option disables display of "created by SquirrelMail developers"
  * strings and provider link
  * @global bool $hide_sm_attributions
+ * @since 1.2.0
  */
 $hide_sm_attributions = false;
 

+ 1 - 2
src/login.php

@@ -167,8 +167,7 @@ if (isset($org_logo) && $org_logo) {
 }
 
 $sm_attribute_str = '';
-$hide_sm_attributes = false;
-if (isset($hide_sm_attributes) && !$hide_sm_attributes) {
+if (isset($hide_sm_attributions) && !$hide_sm_attributions) {
     $sm_attribute_str = _("SquirrelMail Webmail Application")."<br />\n" .
                         _("By the SquirrelMail Project Team")."<br />\n";
 }