/**
* db_prefs.php
*
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* This contains functions for manipulating user preferences
* stored in a database, accessed though the Pear DB layer.
*
* Database:
- * ---------
*
* The preferences table should have three columns:
* user char \ primary
* Configuration of databasename, username and password is done
* by using conf.pl or the administrator plugin
*
+ * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @subpackage prefs
*/
if (strlen($user) > $this->user_size) {
$this->error = "Oversized username value."
- ." User's preferences can't be saved. See doc/db-backend.txt troubleshooting documentation.";
+ ." Your preferences can't be saved."
+ ." See doc/db-backend.txt or contact your system administrator.";
/**
* Debugging function. Can be used to log all issues that trigger
*/
if (strlen($key) > $this->key_size) {
$err_msg = "Oversized user's preference key."
- ." Some user preferences are not saved. See doc/db-backend.txt troubleshooting documentation.";
+ ." Some preferences were not saved."
+ ." See doc/db-backend.txt or contact your system administrator.";
// error is not fatal. Only some preference is not saved.
trigger_error($err_msg,E_USER_WARNING);
return false;
*/
if (strlen($value) > $this->val_size) {
$err_msg = "Oversized user's preference value."
- ." Some user preferences are not saved. See doc/db-backend.txt troubleshooting documentation.";
+ ." Some preferences were not saved."
+ ." See doc/db-backend.txt or contact your system administrator.";
// error is not fatal. Only some preference is not saved.
trigger_error($err_msg,E_USER_WARNING);
return false;