1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Language selection simplification

switch to include_lan for the time being

work in progress
This commit is contained in:
marj
2009-08-15 11:55:30 +00:00
parent af59a5077e
commit 3420b193ab
43 changed files with 155 additions and 172 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/admin_prefs.php,v $
| $Revision: 1.5 $
| $Date: 2009-07-07 07:25:27 $
| $Author: e107coders $
| $Revision: 1.6 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
/*
@@ -34,7 +34,7 @@ if(!getperms("P") || !plugInstalled('rss_menu'))
header("location:".e_BASE."index.php");
}
@include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
require_once(e_ADMIN."auth.php");

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
| $Revision: 1.13 $
| $Date: 2009-07-19 11:44:29 $
| $Revision: 1.14 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@@ -46,7 +46,7 @@ if (!is_object($tp->e_bb))
}
//get language file
@include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
//get template
if (is_readable(THEME."rss_template.php"))

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss_menu.php,v $
| $Revision: 1.3 $
| $Date: 2009-07-25 07:54:36 $
| $Revision: 1.4 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@@ -24,7 +24,7 @@ if (!plugInstalled('rss_menu'))
global $FILES_DIRECTORY,$pref,$sql;
$path = e_PLUGIN."rss_menu/";
@include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
$des = "";
$topic = "";