2006-12-02 04:36:16 +00:00
|
|
|
<?php
|
2009-12-17 22:47:20 +00:00
|
|
|
/*
|
|
|
|
* e107 website system
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
|
|
|
* Released under the terms and conditions of the
|
|
|
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
|
|
|
*
|
|
|
|
* Private messenger plugin - default preferences (used if no stored values)
|
|
|
|
*
|
|
|
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/pm/pm_default.php,v $
|
2010-02-10 18:18:01 +00:00
|
|
|
* $Revision$
|
|
|
|
* $Date$
|
|
|
|
* $Author$
|
2009-12-17 22:47:20 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* e107 Private messenger plugin
|
|
|
|
*
|
|
|
|
* default preferences (used if no stored values)
|
|
|
|
*
|
|
|
|
* @package e107_plugins
|
|
|
|
* @subpackage pm
|
2010-02-10 18:18:01 +00:00
|
|
|
* @version $Id$;
|
2009-12-17 22:47:20 +00:00
|
|
|
*/
|
|
|
|
|
2006-12-02 04:36:16 +00:00
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
|
|
|
|
function pm_set_default_prefs()
|
|
|
|
{
|
|
|
|
$ret = array(
|
2009-12-10 20:40:39 +00:00
|
|
|
'title' => 'PMLAN_PM',
|
2006-12-02 04:36:16 +00:00
|
|
|
'animate' => '1',
|
|
|
|
'dropdown' => '0',
|
2009-12-10 20:40:39 +00:00
|
|
|
'read_timeout' => '0',
|
2006-12-02 04:36:16 +00:00
|
|
|
'unread_timeout' => '0',
|
|
|
|
'popup' => '0',
|
|
|
|
'popup_delay' => '',
|
2009-12-10 20:40:39 +00:00
|
|
|
'perpage' => '10',
|
2006-12-02 04:36:16 +00:00
|
|
|
'pm_class' => e_UC_MEMBER,
|
|
|
|
'notify_class' => e_UC_ADMIN,
|
2009-12-10 20:40:39 +00:00
|
|
|
'receipt_class' => e_UC_MEMBER,
|
2006-12-02 04:36:16 +00:00
|
|
|
'attach_class' => e_UC_ADMIN,
|
|
|
|
'attach_size' => 500,
|
2009-12-10 20:40:39 +00:00
|
|
|
'sendall_class' => e_UC_ADMIN,
|
2006-12-02 04:36:16 +00:00
|
|
|
'multi_class' => e_UC_ADMIN,
|
2009-12-18 20:49:56 +00:00
|
|
|
'allow_userclass' => '1',
|
2010-01-06 20:09:58 +00:00
|
|
|
'pm_limits' => '0',
|
|
|
|
'pm_max_send' => '100'
|
2006-12-02 04:36:16 +00:00
|
|
|
);
|
|
|
|
return $ret;
|
|
|
|
}
|
|
|
|
?>
|