1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

#220 - First batch of forum LAN rewrite: forum, viewforum, viewtopic and post are done. Work in progress! (#6)

This commit is contained in:
Moc
2013-06-12 21:37:54 +02:00
parent 0e75ada2a9
commit ff2c2e5c6d
37 changed files with 666 additions and 442 deletions

View File

@@ -2,14 +2,10 @@
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $URL$
* $Id$
*/
if (!defined('e107_INIT')) { exit; }
@@ -17,9 +13,9 @@ 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');
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";
$sublink_type['forum']['title'] = FORLAN_155; // "News Categories"; // FIXME needs changing after forum lan rewrite
$sublink_type['forum']['table'] = 'forum';
$sublink_type['forum']['query'] = "forum_parent !='0' ORDER BY forum_order ASC";
$sublink_type['forum']['url'] = "{e_PLUGIN}forum/forum_viewforum.php?#";