File/plugins/forced_prefs/config_default.php

Description

NaSMail Forced Prefs Plugin -- Default plugin configuration Copyright (C) 2004-2007 Tomas Kuliavas <tokul@users.sourceforge.net> This file is part of NaSMail forced_prefs plugin.

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: config_default.php 668 2007-08-29 04:23:43Z tokul $
Variables
array $fp_added_settings (line 33)

lists settings that should be added, if not present in user's prefs array should use setting names as array keys and setting values as key values.

  • since: 1.0
boolean $fp_debug (line 79)

Displays debug information

calls sm_print_r() function in order to display processed data

WARNING: don't enable option in production environment.

  • since: 1.2
array $fp_disabled_hooks (line 54)

lists functions that should be removed from enabled hooks

WARNING. Use with caution. Disable only function calls that control option display and saving. If you have problems with plugins - make sure that problems can be reproduced without forced_prefs plugin.

  • since: 1.1
array $fp_dynamic_defaults (line 90)

Overrides interface defaults without saving them in user preferences

Setting requires preference backend with get_pref hook support. Due to implementation specifics, you can't override defaults with zero, empty or any other values that are evaluated as boolean false in PHP.

  • since: 1.4
array $fp_dynamic_overrides (line 102)

Overrides settings without saving them in user preferences

Setting requires preference backend with get_pref_override hook support. Due to implementation specifics, you can't override defaults with zero, empty or any other values that are evaluated as boolean false in PHP. Overrides are filtered in option pages same way as overrides in $fp_forced_settings.

  • since: 1.4
array $fp_forced_settings (line 43)

lists settings that should be set during login. Enforced settings are removed from option pages, if they use NaSMail $optdata array. array should use setting names as array keys and setting values as key values.

  • since: 1.0
array $fp_removed_optpage_urls (line 68)

Array with urls that should be removed from option blocks. Other option block array keys can't be used because they contain translatable data and strings are not static.

This option can be used to strip standard NaSMail option pages that don't use plugin hooks. You can use regular expression instead of URL. Plugin uses case insensitive POSIX regexps (http://www.php.net/eregi). If you make regexp error, warning message won't be displayed and option block is not removed.

  • since: 1.2

Documentation generated on Sun, 22 Nov 2009 17:36:21 +0200 by phpDocumentor 1.4.3