From 3b63b407bb1ed554bbdbccc977bfae9abda771d7 Mon Sep 17 00:00:00 2001 From: secretr Date: Tue, 6 Dec 2011 17:27:41 +0000 Subject: [PATCH] PM: missing URL configuration lans added --- e107_plugins/pm/languages/English_admin_pm.php | 4 ++-- e107_plugins/pm/url/url.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/e107_plugins/pm/languages/English_admin_pm.php b/e107_plugins/pm/languages/English_admin_pm.php index 30f28d591..f2d493a30 100755 --- a/e107_plugins/pm/languages/English_admin_pm.php +++ b/e107_plugins/pm/languages/English_admin_pm.php @@ -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'); \ No newline at end of file diff --git a/e107_plugins/pm/url/url.php b/e107_plugins/pm/url/url.php index 94e47a6d4..667728df6 100644 --- a/e107_plugins/pm/url/url.php +++ b/e107_plugins/pm/url/url.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