mirror of
https://github.com/e107inc/e107.git
synced 2025-07-16 20:41:27 +02:00
PM: missing URL configuration lans added
This commit is contained in:
@@ -75,6 +75,6 @@ define('ADLAN_PM_79', '--ORPHANS-- unused attachments deleted. --MISSING-- missi
|
||||
define('ADLAN_PM_80', 'Preference formats updated');
|
||||
define('ADLAN_PM_81', 'Maximum number of PMs to send immediately');
|
||||
define('ADLAN_PM_82', 'If sending more than this, they are added to a queue, and sent out using the cron task');
|
||||
define('ADLAN_PM_83', '');
|
||||
|
||||
?>
|
||||
define('ADLAN_PM_URL_DEFAULT_LABEL', 'Default');
|
||||
define('ADLAN_PM_URL_DEFAULT_DESCR', 'Example: http://yoursite.com/e107_plugins/pm/pm.php');
|
@@ -142,12 +142,12 @@ class plugin_pm_url extends eUrlConfig
|
||||
public function admin()
|
||||
{
|
||||
// static may be used for performance
|
||||
e107::plugLan('pm', 'url', true);
|
||||
e107::plugLan('pm', 'admin_pm', true);
|
||||
static $admin = array(
|
||||
'labels' => array(
|
||||
'name' => PM_LAN_URL_NAME, // Module name
|
||||
'label' => PM_LAN_URL_DEFAULT_LABEL, // Current profile name
|
||||
'description' => PM_LAN_URL_DEFAULT_DESCR, //
|
||||
'name' => ADLAN_PM, // Module name
|
||||
'label' => ADLAN_PM_URL_DEFAULT_LABEL, // Current profile name
|
||||
'description' => ADLAN_PM_URL_DEFAULT_DESCR, //
|
||||
),
|
||||
'form' => array(), // Under construction - additional configuration options
|
||||
'callbacks' => array(), // Under construction - could be used for e.g. URL generator functionallity
|
||||
|
Reference in New Issue
Block a user