1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +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

@@ -2,8 +2,7 @@
if (!defined('e107_INIT')) { exit; }
@include_once(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_frontpage.php');
@include_once(e_PLUGIN.'forum/languages/English/lan_forum_frontpage.php');
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_frontpage.php');
$front_page['forum'] = array('page' => $PLUGINS_DIRECTORY.'forum/forum.php', 'title' => FOR_FP_1);

View File

@@ -11,15 +11,14 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_admin.php,v $
| $Revision: 1.9 $
| $Date: 2009-07-25 07:54:35 $
| $Revision: 1.10 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
$eplug_admin = true;
require_once("../../class2.php");
@include_once e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_admin.php';
@include_once e_PLUGIN.'forum/languages/English/lan_forum_admin.php';
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_admin.php');
if (!getperms("P"))
{