mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Changed present LAN calls (+ edit +decommented) so to be able to use the translation (previous state crippled .. not finished ??) Iff i am correct on coding unsure, testing provides working..
This commit is contained in:
parent
d2771d7a3b
commit
bfce62a1d6
@ -2,6 +2,7 @@
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
e107::lan('forum', "front", true);
|
||||
// e107::lan('forum', 'English_front');
|
||||
|
||||
/**
|
||||
|
@ -13,7 +13,8 @@ if (!defined('e107_INIT')) { exit; }
|
||||
// Usage: sublink_type[x]['title'].
|
||||
// x should be the same as the plugin folder.
|
||||
|
||||
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_admin.php'); // FIXME needs changing after forum lan rewrite
|
||||
e107::lan('forum', "admin", true);
|
||||
//include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_admin.php'); // FIXME needs changing after forum lan rewrite
|
||||
|
||||
$sublink_type['forum']['title'] = FORLAN_155; // "News Categories"; // FIXME needs changing after forum lan rewrite
|
||||
$sublink_type['forum']['table'] = 'forum';
|
||||
|
@ -1,7 +1,8 @@
|
||||
<?php
|
||||
if (!defined('e107_INIT')) { exit(); }
|
||||
|
||||
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/'.e_LANGUAGE.'_search.php');
|
||||
e107::lan('forum', "search", true);
|
||||
//include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/'.e_LANGUAGE.'_search.php');
|
||||
|
||||
$search_info[] = array(
|
||||
'sfile' => e_PLUGIN.'forum/search/search_parser.php',
|
||||
|
@ -23,7 +23,7 @@ if (!$e107->isInstalled('forum'))
|
||||
header('Location: '.SITEURL);
|
||||
exit;
|
||||
}
|
||||
|
||||
e107::lan('forum', "front", true);
|
||||
// include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum.php'); // using English_front.php now
|
||||
|
||||
require_once(e_PLUGIN.'forum/forum_class.php');
|
||||
|
@ -17,8 +17,9 @@ if (!getperms('P'))
|
||||
}
|
||||
|
||||
|
||||
e107::includeLan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/English_admin.php');
|
||||
e107::lan('forum','', 'front');
|
||||
e107::lan('forum', 'admin');
|
||||
//e107::includeLan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/English_admin.php');
|
||||
//e107::lan('forum','', 'front');
|
||||
|
||||
$legacy = false;
|
||||
|
||||
|
@ -22,7 +22,8 @@ $tp = e107::getParser();
|
||||
require_once(e_PLUGIN.'forum/forum_class.php');
|
||||
$forum = new e107forum;
|
||||
|
||||
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_conf.php');
|
||||
e107::lan('forum', 'admin');
|
||||
//include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_conf.php');
|
||||
|
||||
$e_sub_cat = 'forum';
|
||||
|
||||
|
@ -31,7 +31,8 @@ if (!$e107->isInstalled('forum'))
|
||||
exit;
|
||||
}
|
||||
|
||||
e107::lan('forum','English_front');
|
||||
//e107::lan('forum','English_front');
|
||||
e107::lan('forum', "front", true);
|
||||
e107::css('forum','forum.css');
|
||||
|
||||
|
||||
|
@ -30,8 +30,9 @@ class forumStats
|
||||
|
||||
function __construct()
|
||||
{
|
||||
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_stats.php');
|
||||
e107::lan('forum','front');
|
||||
//include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_stats.php');
|
||||
//e107::lan('forum','front');
|
||||
e107::lan('forum', "front", true);
|
||||
e107::css('forum', 'forum.css');
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@ if (!$e107->isInstalled('forum'))
|
||||
header('Location: '.SITEURL);
|
||||
exit;
|
||||
}
|
||||
e107::lan('forum', "front", true);
|
||||
//include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_viewforum.php'); // now uses English_front.php
|
||||
define('NAVIGATION_ACTIVE','forum');
|
||||
|
||||
|
@ -15,6 +15,7 @@ if(!defined('e107_INIT'))
|
||||
require_once('../../class2.php');
|
||||
}
|
||||
|
||||
e107::lan('forum', "front", true);
|
||||
define('NAVIGATION_ACTIVE','forum');
|
||||
|
||||
$e107 = e107::getInstance();
|
||||
|
Loading…
x
Reference in New Issue
Block a user