From 1663d1e0bb8c514f6e397107c9790e7f20781b06 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 12 Jul 2015 17:33:43 +0200 Subject: [PATCH] Added lan defs (todo) to lan_admin php Added LAN's to mailoutphp (tabs CAPTIONS) for admin>create --- e107_admin/mailout.php | 2 +- e107_languages/English/admin/lan_admin.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/e107_admin/mailout.php b/e107_admin/mailout.php index 16c44d1fd..19b2572a1 100644 --- a/e107_admin/mailout.php +++ b/e107_admin/mailout.php @@ -280,7 +280,7 @@ class mailout_main_ui extends e_admin_ui protected $batchDelete = true; protected $batchCopy = true; - protected $tabs = array('Basic','Advanced'); //TODO Add LAN_BASIC and LAN_ADVANCED to lan_admin.php + protected $tabs = array(''.LAN_BASIC.'',''.LAN_ADVANCED.''); protected $fields = array( 'checkboxes' => array('title'=> '', 'type' => null, 'width' =>'5%', 'forced'=> TRUE, 'thclass'=>'center', 'class'=>'center'), diff --git a/e107_languages/English/admin/lan_admin.php b/e107_languages/English/admin/lan_admin.php index 72cbdc26c..9993ff2b0 100644 --- a/e107_languages/English/admin/lan_admin.php +++ b/e107_languages/English/admin/lan_admin.php @@ -410,7 +410,8 @@ define("LAN_USER_QUICKADD","Quick Add User"); define("LAN_USER_PRUNE", "Prune Users"); define("LAN_USER_OPTIONS", "User Options"); define("LAN_USER_RANKS", "User Ranks"); - +define("LAN_BASIC", "Basic"); +define("LAN_ADVANCED", "Advanced"); // TODO - move e_form related LANS below, add new lan_form.php file (for both front/back-end)