mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
54 lines
1.1 KiB
PHP
Executable File
54 lines
1.1 KiB
PHP
Executable File
<?php
|
|
/*
|
|
* 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 $
|
|
* $Revision$
|
|
* $Date$
|
|
* $Author$
|
|
*/
|
|
|
|
|
|
/**
|
|
* e107 Private messenger plugin
|
|
*
|
|
* default preferences (used if no stored values)
|
|
*
|
|
* @package e107_plugins
|
|
* @subpackage pm
|
|
* @version $Id$;
|
|
*/
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
function pm_set_default_prefs()
|
|
{
|
|
$ret = array(
|
|
'title' => 'PMLAN_PM',
|
|
'animate' => '1',
|
|
'dropdown' => '0',
|
|
'read_timeout' => '0',
|
|
'unread_timeout' => '0',
|
|
'popup' => '0',
|
|
'popup_delay' => '',
|
|
'perpage' => '10',
|
|
'pm_class' => e_UC_MEMBER,
|
|
'notify_class' => e_UC_ADMIN,
|
|
'receipt_class' => e_UC_MEMBER,
|
|
'attach_class' => e_UC_ADMIN,
|
|
'attach_size' => 500,
|
|
'sendall_class' => e_UC_ADMIN,
|
|
'multi_class' => e_UC_ADMIN,
|
|
'allow_userclass' => '1',
|
|
'pm_limits' => '0',
|
|
'pm_max_send' => '100'
|
|
);
|
|
return $ret;
|
|
}
|
|
?>
|