1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +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/pm/pm_update.php,v $
| $Revision: 1.2 $
| $Date: 2008-08-24 09:57:08 $
| $Author: e107steved $
| $Revision: 1.3 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@@ -21,8 +21,7 @@ if (!defined('e107_INIT')) { exit; }
set_time_limit(300);
@include_once(e_PLUGIN."pm/languages/admin/".e_LANGUAGE.".php");
@include_once(e_PLUGIN."pm/languages/admin/English.php");
include_lan(e_PLUGIN."pm/languages/admin/".e_LANGUAGE.".php");
$sql->db_Update("plugin", "plugin_name=".ADLAN_PM." WHERE plugin_path='pm'");

View File

@@ -1,5 +1,5 @@
@include_once(e_PLUGIN."pm/languages/".e_LANGUAGE.".php");
@include_once(e_PLUGIN."pm/languages/English.php");
include_lan(e_PLUGIN."pm/languages/".e_LANGUAGE.".php");
global $sysprefs, $pm_prefs;
$pm_prefs = $sysprefs->getArray("pm_prefs");
if(check_class($pm_prefs['pm_class']))