diff --git a/e107_admin/auth.php b/e107_admin/auth.php index 28b02a1da..d69ea16f7 100644 --- a/e107_admin/auth.php +++ b/e107_admin/auth.php @@ -312,7 +312,7 @@ class auth { $text .= "
- " + " .$sec_img->renderImage(). $sec_img->renderInput()."
"; diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php index 7f3a7dcef..4770ab066 100644 --- a/e107_admin/plugin.php +++ b/e107_admin/plugin.php @@ -1622,7 +1622,7 @@ class pluginLanguage - return $this->step1(); + // return $this->step1(); } @@ -1679,7 +1679,7 @@ class pluginLanguage similar_text($v['value'], $data['value'], $percentSimilar); - if((($v['value'] == $data['value'] || $percentSimilar > 80) && $data['file'] != $v['file'])) + if((($v['value'] == $data['value'] || $percentSimilar > 89) && $data['file'] != $v['file'])) { if(strpos($v['lan'],'LAN')===false) // Defined constants that don't contain 'LAN'. { @@ -1857,7 +1857,7 @@ class pluginLanguage File Detected LAN LAN Value - Found on Line + Found on Line Status Duplicates / Possible Substitions @@ -1875,7 +1875,7 @@ class pluginLanguage ".$this->shortPath($v['file'],'script')." ".$v['lan']." ".$this->lanDefsRaw[$v['lan']]." - ".$v['line']." + ".$v['line']." ".$this->renderStatus($status,'script')." ".$this->renderSimilar($v,'script')." "; diff --git a/e107_languages/English/admin/lan_admin.php b/e107_languages/English/admin/lan_admin.php index 533636c80..2c7950b0e 100644 --- a/e107_languages/English/admin/lan_admin.php +++ b/e107_languages/English/admin/lan_admin.php @@ -59,8 +59,8 @@ define("ADLAN_49", "main site administrator"); define("ADLAN_51", "Please log in to gain access to administration area"); define("ADLAN_52", "Admin Front Page"); define("ADLAN_53", "Leave Admin"); -define("ADLAN_54", "Banners"); -define("ADLAN_55", "Configure banners"); +// define("ADLAN_54", "Banners"); +// define("ADLAN_55", "Configure banners"); //define("ADLAN_56", "Chatbox"); //define("ADLAN_57", "Configure chatbox"); define("ADLAN_58", "Emoticons"); @@ -167,7 +167,7 @@ define("ADLAN_149", "Notify"); define("ADLAN_150", "Admin Email Notifications"); define("ADLAN_151", "Main"); -define("ADLAN_152", "Enter Code"); +// define("ADLAN_152", "Enter Code"); define("ADLAN_153", "Administration Area"); define("ADLAN_154", "Error contacting Sourceforge to check for new version"); diff --git a/e107_plugins/banner/admin_banner.php b/e107_plugins/banner/admin_banner.php index 4048e858f..57bd73ae4 100644 --- a/e107_plugins/banner/admin_banner.php +++ b/e107_plugins/banner/admin_banner.php @@ -42,7 +42,7 @@ $tp = e107::getParser(); e107::lan('banner',false,'front'); -e107::lan('banner','admin_banner',true); // e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_admin_banner.php' +e107::lan('banner',true,true); // e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_admin_banner.php' if(e_QUERY) diff --git a/e107_plugins/banner/languages/English_admin_banner.php b/e107_plugins/banner/languages/English_admin.php similarity index 83% rename from e107_plugins/banner/languages/English_admin_banner.php rename to e107_plugins/banner/languages/English_admin.php index 7f751f380..bc1cd0ee1 100644 --- a/e107_plugins/banner/languages/English_admin_banner.php +++ b/e107_plugins/banner/languages/English_admin.php @@ -10,12 +10,12 @@ define("BNRLAN_00", "No banners created yet."); // 15 define("BNRLAN_01", "Banner ID not found."); // define("BNRLAN_1", "Client"); //27 -define("BNRLAN_2", "Clickthroughs"); -define("BNRLAN_3", "Click %"); -define("BNRLAN_4", "Impressions"); -define("BNRLAN_5", "Impressions Left"); +// define("BNRLAN_2", "Clickthroughs"); +// define("BNRLAN_3", "Click %"); +// define("BNRLAN_4", "Impressions"); +// define("BNRLAN_5", "Impressions Left"); -define("BNRLAN_6", "Unlimited"); // 35 +// define("BNRLAN_6", "Unlimited"); // 35 define("BNRLAN_7", "Stats"); // 65 define("BNRLAN_8", "N/A"); // 66 define("BNRLAN_9", "Starts"); // 45 @@ -33,8 +33,8 @@ define("BNRLAN_18", "End Date"); //37 // 19 - 24 extra space define("BNRLAN_25", "Add new or choose existing campaign"); -define("BNRLAN_26", "Enter new campaign"); -define("BNRLAN_27", "New Campaign"); // 26a +// define("BNRLAN_26", "Enter new campaign"); +// define("BNRLAN_27", "New Campaign"); // 26a define("BNRLAN_28", "Add new or choose existing client"); define("BNRLAN_29", "Enter new client"); define("BNRLAN_30", "New Client"); // 29a @@ -61,6 +61,6 @@ define("BNRLAN_43", "How to show the campaigns?"); // BANNER_MENU_L10 define("BNRLAN_44", "Choose render type ..."); // BANNER_MENU_L11 define("BNRLAN_45", "One campaign in a single menu"); // BANNER_MENU_L12 define("BNRLAN_46", "All selected campaigns in one single menu"); // BANNER_MENU_L13 -define("BNRLAN_47", "All selected campaigns in separate menus"); // BANNER_MENU_L14 +// define("BNRLAN_47", "All selected campaigns in separate menus"); // BANNER_MENU_L14 ?> \ No newline at end of file diff --git a/e107_plugins/featurebox/e_shortcode.php b/e107_plugins/featurebox/e_shortcode.php index 1f501a3c2..75016a25c 100644 --- a/e107_plugins/featurebox/e_shortcode.php +++ b/e107_plugins/featurebox/e_shortcode.php @@ -115,7 +115,7 @@ class featurebox_shortcodes// must match the plugin's folder name. ie. [PLUGIN_F return $ret; } - return e107::getRender()->tablerender(FBLAN_01, $ret, vartrue($parm['tablestyle'], 'featurebox'), true); + return e107::getRender()->tablerender(LAN_PLUGIN_FEATUREBOX_NAME, $ret, vartrue($parm['tablestyle'], 'featurebox'), true); } /** diff --git a/e107_plugins/featurebox/languages/English_admin_featurebox.php b/e107_plugins/featurebox/languages/English_admin_featurebox.php index 6306c1baf..3830e76cb 100644 --- a/e107_plugins/featurebox/languages/English_admin_featurebox.php +++ b/e107_plugins/featurebox/languages/English_admin_featurebox.php @@ -13,7 +13,7 @@ LAN file needs working from scratch after development is stabilized */ -//define("FBLAN_01", "Feature Box"); +//define("LAN_PLUGIN_FEATUREBOX_NAME", "Feature Box"); //define("FBLAN_02", "Displays an animated area on the top of your page with news-items and other content you would like to feature."); //define("FBLAN_03", "Configure feature box"); //FIXME LAN - use generic. //define("FBLAN_04", "Feature Box plugin has been successfully installed. To add messages and configure, return to the main admin page and click on the feature box icon in the plugin section."); diff --git a/e107_plugins/featurebox/languages/English_front_featurebox.php b/e107_plugins/featurebox/languages/English_front_featurebox.php index 798ad9a1d..0c9eddfe6 100644 --- a/e107_plugins/featurebox/languages/English_front_featurebox.php +++ b/e107_plugins/featurebox/languages/English_front_featurebox.php @@ -6,6 +6,6 @@ * Featurebox front-end language defines */ -define("FBLAN_01", "Feature Box"); +// define("FBLAN_01", "Feature Box"); // define("FBLAN_02", "read more"); // Already used in admin area. ?> \ No newline at end of file diff --git a/e107_plugins/forum/forum_viewforum.php b/e107_plugins/forum/forum_viewforum.php index 9217a4e2f..c27d53048 100644 --- a/e107_plugins/forum/forum_viewforum.php +++ b/e107_plugins/forum/forum_viewforum.php @@ -675,7 +675,7 @@ function fadminoptions($thread_info) $tp = e107::getParser(); // $text = "
"; - $text .= '