mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 21:02:09 +02:00
Language selection simplification
switch to include_lan for the time being work in progress
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/admin_chatbox.php,v $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2009-07-15 09:38:00 $
|
||||
| $Author: e107coders $
|
||||
| $Revision: 1.7 $
|
||||
| $Date: 2009-08-15 11:55:30 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
require_once("../../class2.php");
|
||||
@@ -24,7 +24,7 @@ if (!plugInstalled('chatbox_menu') || !getperms("P"))
|
||||
exit;
|
||||
}
|
||||
|
||||
@include_lan( e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/admin_chatbox_menu.php");
|
||||
include_lan( e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/admin_chatbox_menu.php");
|
||||
|
||||
require_once(e_ADMIN."auth.php");
|
||||
require_once(e_HANDLER."userclass_class.php");
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chat.php,v $
|
||||
| $Revision: 1.8 $
|
||||
| $Date: 2008-12-11 21:13:48 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.9 $
|
||||
| $Date: 2009-08-15 11:55:30 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
require_once("../../class2.php");
|
||||
@@ -23,7 +23,7 @@ if (!plugInstalled('chatbox_menu'))
|
||||
exit;
|
||||
}
|
||||
|
||||
@include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
|
||||
include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
|
||||
require_once(HEADERF);
|
||||
|
||||
$sql->db_Select("menus", "*", "menu_name='chatbox_menu'");
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chatbox_menu.php,v $
|
||||
| $Revision: 1.13 $
|
||||
| $Date: 2009-07-14 11:05:53 $
|
||||
| $Author: e107coders $
|
||||
| $Revision: 1.14 $
|
||||
| $Date: 2009-08-15 11:55:30 $
|
||||
| $Author: marj_nl_fr $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@@ -31,8 +31,7 @@ if(($pref['cb_layer']==2) || isset($_POST['chatbox_ajax']))
|
||||
|
||||
//Normally the menu.sc file will auto-load the language file, this is needed in case
|
||||
//ajax is turned on and the menu is not loaded from the menu.sc
|
||||
@include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
|
||||
@include_lan(e_PLUGIN."chatbox_menu/languages/English/English.php");
|
||||
include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
|
||||
}
|
||||
// $footer_js[] = e_FILE_ABS.'e_ajax.php';
|
||||
|
||||
|
Reference in New Issue
Block a user