From c3d848317fb31e12b6262d9dc6f567ff3317f3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Mon, 13 Feb 2017 07:37:41 +0100 Subject: [PATCH 01/13] Update lan_notify.php --- e107_admin/notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_admin/notify.php b/e107_admin/notify.php index e376d1ff4..00b50709c 100644 --- a/e107_admin/notify.php +++ b/e107_admin/notify.php @@ -359,7 +359,7 @@ class plugin_notify_admin_ui extends e_admin_ui if(isset($this->notify_prefs['event'][$id]['class']) && $this->notify_prefs['event'][$id]['class'] != e_UC_NOBODY) { - $text .= $frm->button('test['.$id.']', $id, 'confirm', 'Test'); + $text .= $frm->button('test['.$id.']', $id, 'confirm', LAN_TEST); } @@ -939,7 +939,7 @@ class notify_config if(isset($this->notify_prefs['event'][$id]['class']) && $this->notify_prefs['event'][$id]['class'] != e_UC_NOBODY) { - $text .= $frm->button('test['.$id.']', $id, 'confirm', 'Test'); + $text .= $frm->button('test['.$id.']', $id, 'confirm', LAN_TEST); } From 8ba0dd96459e9396c8b35a21307d917130679d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Mon, 13 Feb 2017 07:39:18 +0100 Subject: [PATCH 02/13] Update users.php --- e107_admin/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_admin/users.php b/e107_admin/users.php index 2702883ec..8ec870817 100644 --- a/e107_admin/users.php +++ b/e107_admin/users.php @@ -268,7 +268,7 @@ class users_admin_ui extends e_admin_ui */ protected $disallow = array('create'); - protected $tabs = array('Basic', 'Extended'); + protected $tabs = array(LAN_BASIC, LAN_EXTENDED); //TODO - finish 'user' type, set 'data' to all editable fields, set 'noedit' for all non-editable fields protected $fields = array( From db59f2f966828d5e085c383a22502947eb2a4e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Mon, 13 Feb 2017 07:44:19 +0100 Subject: [PATCH 03/13] Update lan_admin.php --- e107_languages/English/admin/lan_admin.php | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/e107_languages/English/admin/lan_admin.php b/e107_languages/English/admin/lan_admin.php index 0c4444077..a6900e941 100644 --- a/e107_languages/English/admin/lan_admin.php +++ b/e107_languages/English/admin/lan_admin.php @@ -239,6 +239,7 @@ Below is the list of files that could potentially be malicious:"); define("LAN_CREATE","Create"); define("LAN_MANAGE","Manage"); define("LAN_UPDATE","Update"); +define("LAN_UPDATES", "Updates"); define("LAN_INSTALLED","Installed");//TODO elsewhere define("LAN_LAST_UPDATED","Last Updated"); define("LAN_UPDATE_AVAILABLE","Update Available"); @@ -320,7 +321,7 @@ define("LAN_LANG","Lang."); define("LAN_APPROVE","Approve"); define("LAN_OPTIONAL", "optional"); define("LAN_INACTIVE","Inactive"); -//define("LAN_ACTIVE","Active");//English.php +define("LAN_ACTIVATE","Activate"); define("LAN_ACCEPT","Accept"); define("LAN_PENDING","Pending"); define("LAN_SUBMITTED","Submitted"); @@ -385,7 +386,7 @@ define("LAN_PURCHASE", "Purchase "); define("LAN_DOWN_THEME", "Downloading "); define("LAN_ID", "ID"); - +define("LAN_TEST", "Test"); define("LAN_VISIBILITY", "Visibility"); @@ -455,7 +456,7 @@ define("LAN_UI_DELETE_LABEL", "Confirm Delete"); define("LAN_UI_DELETE_WARNING", "You are about to delete [x] records. Please confirm to continue."); define("LAN_UI_BATCH_CREATELINK", "Create Link"); define("LAN_UI_DELETED", "[x] record(s) successfully deleted!"); -define("LAN_UI_DELETED_FAILED", "[x] records not found and not deleted!");\ +define("LAN_UI_DELETED_FAILED", "[x] records not found and not deleted!"); define("LAN_UI_BATCH_EXPORT", "Export"); define("LAN_UI_USING_DATABASE_TABLE", "Using [x] database table"); @@ -478,7 +479,6 @@ define("LAN_CUSTOM_URL", "Custom URL"); define("LAN_CUSTOM_URL_DISABLED", "Disabled or Enter Custom URL"); define("LAN_GENERAL", "General"); -//define("LAN_GENERATE", "Generate"); //moved to English php define("LAN_GEN_PW", "Generate a password"); define("LAN_DISPL_PW", "Display the password"); define("LAN_WILL_OVERWRITE_SEF", "This will overwrite your existing SEF URL."); @@ -486,6 +486,7 @@ define("LAN_WILL_OVERWRITE_SEF", "This will overwrite your existing SEF URL."); define("LAN_CAPTION", "Caption"); define("LAN_LIMIT", "Limit"); define("LAN_BASIC", "Basic"); +define("LAN_EXTENDED", "Extended"); define("LAN_ADVANCED", "Advanced"); define("LAN_FOLDER", "Folder"); define("LAN_PERSONALIZE_ICONS", "Personalize Icons"); @@ -493,21 +494,13 @@ define("LAN_PERSONALIZE_MENUS", "Personalize Menus"); define("LAN_LATEST_COMMENTS", "Latest Comments"); define("LAN_COMMENTS_ALLOWED", "Comments Allowed"); define("LAN_PERSONALIZE", "Personalize"); -//define("LAN_SELECT_COLUMNS_TO_DISPLAY", "Select columns to display"); // Moved to lan_form_handler.php -//define("LAN_DISPLAY_COLUMNS", "Display Columns"); // Moved to lan_form_handler.php + define("LAN_SETTINGS_NOT_SAVED_NO_CHANGES_MADE", "Settings not saved as no changes were made."); define("LAN_DASHBOARD_LAYOUT", "Dashboard Layout"); -//define("LAN_AFTER_SUBMIT", "After submit:"); // Moved to lan_form_handler.php define("LAN_UNAVAILABLE", "Unavailable"); -//define("LAN_READY_UP_FOLDER_FIELDS", "Ready to use upload form fields, optional - file list view"); // Not used only debug define("LAN_NO_LABEL_PROVIDED", "No Label Provided"); define("LAN_NOT_FOUND", "Not Found!"); -//define("LAN_QUICK_VIEW", "Quick View"); // Moved to lan_form_handler.php -//define("LAN_GO_TO_USER_PROFILE", "Go to user profile"); // Moved to lan_form_handler.php -//define("LAN_MULTI_LANGUAGE_FIELD", "Multi-language field"); // Moved to lan_form_handler.php -//define("LAN_GO_TO_LIST", "go to list"); // Moved to lan_form_handler.php -//define("LAN_CREATE_ANOTHER", "create another"); // Moved to lan_form_handler.php -//define("LAN_EDIT_CURRENT", "edit current"); // Moved to lan_form_handler.php + define("LAN_MAINTENANCE", "Maintenance"); define("LAN_RETURN_TO_FRONT_PANEL", "Return to Front Panel"); define("LAN_CHANGE_LANGUAGE", "Change Language"); From a1542448d2a13721dd859d97e24cce02980eaaca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Mon, 13 Feb 2017 07:47:03 +0100 Subject: [PATCH 04/13] Update eurl.php --- e107_admin/eurl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_admin/eurl.php b/e107_admin/eurl.php index e89d83a2a..b74f04fe6 100644 --- a/e107_admin/eurl.php +++ b/e107_admin/eurl.php @@ -275,7 +275,7 @@ class eurl_admin_ui extends e_admin_controller_ui )); $text .= "

" . $plg->getName() . "

" . $switch . ""; - $text .= "KeyRegular Expression + $text .= "".LAN_EURL_KEY."".LAN_EURL_REGULAR_EXPRESSION." ".LAN_URL." @@ -647,7 +647,7 @@ class eurl_admin_form_ui extends e_admin_form_ui $text .= '

'; From 8dc855b49b95b589ac0ce957a06f4aa2066b1ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Mon, 13 Feb 2017 07:49:59 +0100 Subject: [PATCH 05/13] Update mailout.php --- e107_admin/mailout.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_admin/mailout.php b/e107_admin/mailout.php index 79ceb5798..08c006974 100644 --- a/e107_admin/mailout.php +++ b/e107_admin/mailout.php @@ -1588,7 +1588,7 @@ class mailout_admin_form_ui extends e_admin_form_ui $preview = e_SELF."?mode=main&action=preview&id=".$id; $text .= ""; $text .= "".E_32_MAIL.""; - $text .= "".E_32_SEARCH.""; + $text .= "".E_32_SEARCH.""; $text .= $this->renderValue('options',$value,$attributes,$id); @@ -1603,7 +1603,7 @@ class mailout_admin_form_ui extends e_admin_form_ui $text = ""; $text .= "".E_32_USER.""; - $text .= "".E_32_SEARCH.""; + $text .= "".E_32_SEARCH.""; $attributes['readParms']['editClass'] = e_UC_NOBODY; $text .= $this->renderValue('options',$value,$attributes,$id); @@ -1774,7 +1774,7 @@ class mailout_recipients_form_ui extends e_admin_form_ui $preview = e_SELF."?mode=main&action=preview&id=".$eid.'&user='.$user; $text = ""; - $text .= "".E_32_SEARCH.""; + $text .= "".E_32_SEARCH.""; From 3ab55efa844838c12c84b6eaccaa247ef2d50369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Mon, 13 Feb 2017 07:51:38 +0100 Subject: [PATCH 06/13] Update menus.php --- e107_admin/menus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_admin/menus.php b/e107_admin/menus.php index f06b684cf..9996ca320 100644 --- a/e107_admin/menus.php +++ b/e107_admin/menus.php @@ -991,7 +991,7 @@ class e_menu_layout