From 24c3a719460f4bdf6b5facb009e091819d5cf71c Mon Sep 17 00:00:00 2001 From: secretr Date: Tue, 6 Dec 2011 16:20:52 +0000 Subject: [PATCH] Retrieve value from language defines for tagwords areas when needed, missing lans added --- e107_plugins/tagwords/languages/English.php | 5 ++++- e107_plugins/tagwords/tagwords_shortcodes.php | 8 ++++---- e107_plugins/tagwords/url/url.php | 9 +++++---- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/e107_plugins/tagwords/languages/English.php b/e107_plugins/tagwords/languages/English.php index 3f1312bc5..eb614708b 100644 --- a/e107_plugins/tagwords/languages/English.php +++ b/e107_plugins/tagwords/languages/English.php @@ -65,4 +65,7 @@ define("LAN_TAG_MENU_2", "Tagwords"); define("LAN_TAG_CORE_NEWS_1", "News"); define("LAN_TAG_CORE_CPAGES_1", "Pages"); -?> \ No newline at end of file + +define("LAN_TAG_URL_NAME", "Tagwords"); +define("LAN_TAG_URL_DEFAULT_LABEL", "Default"); +define("LAN_TAG_URL_DEFAULT_DESCR", "Example: http://yoursite.com/tagwords/some-tag"); \ No newline at end of file diff --git a/e107_plugins/tagwords/tagwords_shortcodes.php b/e107_plugins/tagwords/tagwords_shortcodes.php index 711f9f55b..d9caa266f 100644 --- a/e107_plugins/tagwords/tagwords_shortcodes.php +++ b/e107_plugins/tagwords/tagwords_shortcodes.php @@ -251,7 +251,7 @@ class tagwords_shortcodes { $name = "e_tagwords_{$area}"; $selected = (varsettrue($_GET['area'])==$area ? "selected=selected" : ''); - $text .= ""; + $text .= ""; } } $text .= " @@ -401,9 +401,9 @@ class tagwords_shortcodes $name = "e_tagwords_{$area}"; $text .= " -