From bd193a8dc659c260f0124f32688cccf2aeda2ea3 Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 30 Mar 2004 16:43:02 +0000 Subject: [PATCH] adding configuration option to plugin. using instead of git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6972 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/administrator/defines.php | 2 ++ plugins/administrator/options.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/administrator/defines.php b/plugins/administrator/defines.php index 7ea7d663..840a5102 100644 --- a/plugins/administrator/defines.php +++ b/plugins/administrator/defines.php @@ -148,6 +148,8 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"), '$pop_before_smtp' => array( 'name' => _("POP3 Before SMTP?"), 'type' => SMOPT_TYPE_BOOLEAN, 'default' => false ), + '$skip_SM_header' => array( 'name' => _("Hide SquirrelMail Header"), + 'type' => SMOPT_TYPE_BOOLEAN ), '$invert_time' => array( 'name' => _("Invert Time"), 'type' => SMOPT_TYPE_BOOLEAN ), /* --------------------------------------------------------*/ diff --git a/plugins/administrator/options.php b/plugins/administrator/options.php index da4e46a1..9251c8e6 100644 --- a/plugins/administrator/options.php +++ b/plugins/administrator/options.php @@ -604,8 +604,8 @@ if( $fp = @fopen( $cfgfile, 'w' ) ) { fwrite( $fp, '?>' ); fclose( $fp ); } else { - echo '
'. + echo '
'. _("Config file can't be opened. Please check config.php."). - '
'; + ''; } ?> -- 2.25.1