mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 15:31:41 +02:00
new module creation
This commit is contained in:
25
e107_plugins/pm/pm_default.php
Executable file
25
e107_plugins/pm/pm_default.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
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' => '',
|
||||
'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'
|
||||
);
|
||||
return $ret;
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user