1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 20:21:51 +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

@ -9,8 +9,8 @@
* Banner Administration
*
* $Source: /cvs_backup/e107_0.8/e107_admin/banner.php,v $
* $Revision: 1.11 $
* $Date: 2009-07-18 15:14:38 $
* $Revision: 1.12 $
* $Date: 2009-08-15 11:55:29 $
* $Author: marj_nl_fr $
*
*/
@ -36,8 +36,8 @@ require_once(e_HANDLER."message_handler.php");
$emessage = &eMessage::getInstance();
//@FIXME mix up in banner language files
@include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php");
@include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php");
include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php");
if(e_QUERY)

View File

@ -1,5 +1,5 @@
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_user.php");
@include_once(e_LANGUAGEDIR."English/lan_user.php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_user.php");
global $tp;
if (substr($parm, -5) == '-link')
{

View File

@ -12,16 +12,16 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $
| $Revision: 1.21 $
| $Date: 2009-07-14 11:05:52 $
| $Author: e107coders $
| $Revision: 1.22 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_comment.php");
@include_once(e_LANGUAGEDIR."English/lan_comment.php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_comment.php");
global $comment_shortcodes;
require_once(e_FILE."shortcode/batch/comment_shortcodes.php");

View File

@ -11,19 +11,15 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/date_handler.php,v $
| $Revision: 1.5 $
| $Date: 2007-02-18 13:10:26 $
| $Author: e107steved $
| $Revision: 1.6 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
|
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
if (is_readable(e_LANGUAGEDIR.e_LANGUAGE."/lan_date.php")) {
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_date.php");
} else {
@include_once(e_LANGUAGEDIR."English/lan_date.php");
}
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_date.php");
class convert
{

View File

@ -11,18 +11,16 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/emailprint_class.php,v $
| $Revision: 1.6 $
| $Date: 2009-07-25 07:54:34 $
| $Revision: 1.7 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_print.php");
//@include_once(e_LANGUAGEDIR."English/lan_print.php");
@include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_email.php");
//@include_once(e_LANGUAGEDIR."English/lan_email.php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_print.php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_email.php");
class emailprint
{

View File

@ -11,16 +11,15 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/np_class.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:47 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_np.php");
@include_once(e_LANGUAGEDIR."English/lan_np.php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_np.php");
/**
* Next / Previous handling class

View File

@ -11,16 +11,16 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/rate_class.php,v $
| $Revision: 1.4 $
| $Date: 2009-07-07 06:50:55 $
| $Author: e107coders $
| $Revision: 1.5 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_rate.php");
@include_once(e_LANGUAGEDIR."English/lan_rate.php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_rate.php");
class rater {
function rateselect($text, $table, $id, $mode=FALSE) {
//$mode : if mode is set, no urljump will be used (used in combined comments+rating system)

View File

@ -12,16 +12,15 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/sitelinks_class.php,v $
| $Revision: 1.17 $
| $Date: 2009-07-02 20:39:48 $
| $Author: e107steved $
| $Revision: 1.18 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+---------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_sitelinks.php");
@include_once(e_LANGUAGEDIR."English/lan_sitelinks.php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_sitelinks.php");
/**
* @return void

View File

@ -9,9 +9,9 @@
* Banner Administration
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/banner/admin_banner.php,v $
* $Revision: 1.1 $
* $Date: 2009-07-23 16:43:03 $
* $Author: e107coders $
* $Revision: 1.2 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
@ -36,8 +36,8 @@ require_once(e_HANDLER."message_handler.php");
$emessage = eMessage::getInstance();
//@FIXME mix up in banner language files
@include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php");
@include_lan(e_PLUGIN."banner/languages/".e_LANGUAGE.".php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php");
include_lan(e_PLUGIN."banner/languages/".e_LANGUAGE.".php");
if(e_QUERY)

View File

@ -9,9 +9,9 @@
* Banner Menu Configuration (OLD - redirects to e107_admin/banner.php)
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/banner/config.php,v $
* $Revision: 1.1 $
* $Date: 2009-07-23 16:43:03 $
* $Author: e107coders $
* $Revision: 1.2 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
$eplug_admin = TRUE;
@ -33,7 +33,7 @@ require_once(e_ADMIN."auth.php");
require_once(e_HANDLER."form_handler.php");
$rs = new form;
@include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php");
if (e_QUERY)

View File

@ -9,9 +9,9 @@
* Banner Menu Configuration (OLD - redirects to e107_admin/banner.php)
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/banner_menu/config.php,v $
* $Revision: 1.4 $
* $Date: 2008-12-22 16:50:07 $
* $Author: secretr $
* $Revision: 1.5 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
$eplug_admin = TRUE;
@ -33,7 +33,7 @@ require_once(e_ADMIN."auth.php");
require_once(e_HANDLER."form_handler.php");
$rs = new form;
@include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."banner_menu/languages/".e_LANGUAGE.".php");
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_menus.php");
if (e_QUERY)

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/subs_menu.php,v $
| $Revision: 1.4 $
| $Date: 2009-04-29 20:27:18 $
| $Author: e107steved $
| $Revision: 1.5 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
|
+----------------------------------------------------------------------------+
*/
@ -40,7 +40,7 @@ if ($ec_run_from_menu)
if ($cacheData = $e107cache->retrieve("nomd5_cal_subs",$ecal_class->max_cache_time, TRUE)) exit;
}
@include_lan(e_PLUGIN."calendar_menu/languages/".e_LANGUAGE.".php"); // May be needed for mailouts
include_lan(e_PLUGIN."calendar_menu/languages/".e_LANGUAGE.".php"); // May be needed for mailouts
if (!isset($calendar_shortcodes)) require(e_PLUGIN."calendar_menu/calendar_shortcodes.php");
if (is_readable(THEME."ec_mailout_template.php"))

View File

@ -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");

View File

@ -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'");

View File

@ -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';

View File

@ -9,9 +9,9 @@
* Plugin Administration - Comment menu
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/clock_menu/config.php,v $
* $Revision: 1.2 $
* $Date: 2008-12-21 12:53:48 $
* $Author: e107steved $
* $Revision: 1.3 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
$eplug_admin = TRUE;
@ -22,7 +22,7 @@ if (!getperms("1"))
exit ;
}
require_once(e_ADMIN."auth.php");
@include_lan(e_PLUGIN."clock_menu/languages/admin/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."clock_menu/languages/admin/".e_LANGUAGE.".php");
require_once(e_HANDLER."form_handler.php");
$rs = new form;

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"))
{

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/admin_linkspage_config.php,v $
| $Revision: 1.3 $
| $Date: 2008-12-29 20:51:07 $
| $Author: lisa_ $
| $Revision: 1.4 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@ -36,7 +36,7 @@ $eArrayStorage = new ArrayData();
require_once(e_PLUGIN.'links_page/link_class.php');
$lc = new linkclass;
@include_lan($plugindir."languages/".e_LANGUAGE."_admin_links_page.php");
include_lan($plugindir."languages/".e_LANGUAGE."_admin_links_page.php");
$linkspage_pref = $lc -> getLinksPagePref();

View File

@ -1,7 +1,7 @@
<?php
if (!defined('e107_INIT')) { exit; }
@include_lan($plugindir."languages/".e_LANGUAGE."_admin_links_page.php");
include_lan($plugindir."languages/".e_LANGUAGE."_admin_links_page.php");
if(!e_QUERY)
{

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/e_notify.php,v $
| $Revision: 1.2 $
| $Date: 2008-12-13 17:33:44 $
| $Author: e107steved $
| $Revision: 1.3 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@ -21,7 +21,7 @@ if (!defined('e107_INIT')) { exit; }
if(defined('ADMIN_PAGE') && ADMIN_PAGE === true)
{
@include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE."_admin_links_page.php");
include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE."_admin_links_page.php");
$config_category = NT_LAN_LP_1;
$config_events = array('linksub' => NT_LAN_LP_2);
}

View File

@ -1,6 +1,6 @@
<?php
if (!defined('e107_INIT')) { exit; }
@include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE."_admin_links_page.php");
include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE."_admin_links_page.php");
$count = $sql -> db_Count("links_page", "(*)");
$text .= "<div style='padding-bottom: 2px;'><img src='".e_PLUGIN_ABS."links_page/images/linkspage_16.png' style='width: 16px; height: 16px; vertical-align: bottom' alt='' /> ".LCLAN_ADMIN_14.": ".$count."</div>";

View File

@ -13,7 +13,7 @@ require_once(e_HANDLER."form_handler.php");
$rs = new form;
global $tp;
@include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE.".php");
//TODO review bullet
$bullet = "<img src='".THEME_ABS."images/bullet2.gif' alt='' />";

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links.php,v $
| $Revision: 1.13 $
| $Date: 2009-01-30 22:03:13 $
| $Author: lisa_ $
| $Revision: 1.14 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
require_once('../../class2.php');
@ -56,7 +56,7 @@ if(e_QUERY){
$from = "0";
}
}
@include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE.".php");
$lc -> setPageTitle();

View File

@ -11,12 +11,12 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/admin_config.php,v $
| $Revision: 1.8 $
| $Revision: 1.9 $
|
| ***** START OF VERSION WHICH ALLOWS TOOLTIPS (also order of forms changed )
|
| $Date: 2008-12-13 18:04:52 $
| $Author: e107steved $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
@ -26,7 +26,7 @@ if (!getperms("P") || !plugInstalled('linkwords'))
exit ;
}
require_once(e_ADMIN."auth.php");
@include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE."_admin_linkwords.php");
include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE."_admin_linkwords.php");
define('LW_CACHE_TAG', 'nomd5_linkwords');
$lw_context_areas = array(

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/linkwords.php,v $
| $Revision: 1.10 $
| $Date: 2008-12-07 21:55:01 $
| $Author: e107steved $
| $Revision: 1.11 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
|
| This is just a stub so that systems migrated from 0.7 don't crash
| It auto-updates the prefs so that the newer routine is called in future.
@ -32,7 +32,7 @@ class e_linkwords
global $pref, $admin_log;
/* constructor */
// Do an auto-update on the variable used to hook parsers - so we should only be called once
@include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."linkwords/languages/".e_LANGUAGE.".php");
$hooks = explode(",",$pref['tohtml_hook']);
if (($key=array_search('linkwords',$hooks)) !== FALSE)
{

View File

@ -9,9 +9,9 @@
* List Class
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_class.php,v $
* $Revision: 1.9 $
* $Date: 2009-05-04 19:57:48 $
* $Author: bugrain $
* $Revision: 1.10 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
if (!defined('e107_INIT')) { exit; }
@ -50,7 +50,7 @@ class listclass
$this->e107 = e107::getInstance();
//language
@include_lan($this->plugin_dir."languages/".e_LANGUAGE.".php");
include_lan($this->plugin_dir."languages/".e_LANGUAGE.".php");
//template
if (is_readable(THEME."list_template.php"))

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/log/stats.php,v $
| $Revision: 1.11 $
| $Date: 2009-07-25 07:54:35 $
| $Revision: 1.12 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@ -23,7 +23,7 @@ if (!plugInstalled('log'))
exit;
}
@include_lan(e_PLUGIN."log/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."log/languages/".e_LANGUAGE.".php");
$bar = (file_exists(THEME."images/bar.png") ? THEME."images/bar.png" : e_IMAGE."generic/bar.png");
$eplug_css[] = "<style type='text/css'>

View File

@ -9,9 +9,9 @@
* Plugin - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/e_frontpage.php,v $
* $Revision: 1.2 $
* $Date: 2008-12-20 10:39:29 $
* $Author: e107steved $
* $Revision: 1.3 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
@ -21,8 +21,7 @@ if (!plugInstalled('newsfeed'))
return;
}
@include_once(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_frontpage.php');
@include_once(e_PLUGIN.'newsfeed/languages/English_frontpage.php');
include_lan(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_frontpage.php');
$front_page['newsfeed']['title'] = NWSF_FP_1.': '.$row['content_heading'];
$front_page['newsfeed']['page'][] = array('page' => $PLUGINS_DIRECTORY.'newsfeed/newsfeed.php', 'title' => NWSF_FP_2);

View File

@ -9,9 +9,9 @@
* Plugin - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/e_help.php,v $
* $Revision: 1.1 $
* $Date: 2008-12-20 10:39:29 $
* $Author: e107steved $
* $Revision: 1.2 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
if (!defined('e107_INIT')) { exit; }
@ -20,6 +20,6 @@ if (!plugInstalled('newsfeed'))
return;
}
@include_lan(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_admin_newsfeed.php');
include_lan(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_admin_newsfeed.php');
$ns->tablerender(NFLAN_43, NFLAN_42);
?>

View File

@ -9,9 +9,9 @@
* Plugin - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/newsfeed.php,v $
* $Revision: 1.3 $
* $Date: 2008-12-20 10:39:29 $
* $Author: e107steved $
* $Revision: 1.4 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
require_once('../../class2.php');
@ -21,7 +21,7 @@ if (!plugInstalled('newsfeed'))
exit;
}
@include_lan(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_newsfeed.php');
include_lan(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_newsfeed.php');
if(!class_exists('newsfeedClass'))
{
require(e_PLUGIN.'newsfeed/newsfeed_functions.php');

View File

@ -9,9 +9,9 @@
* Plugin - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/newsfeed_menu.php,v $
* $Revision: 1.2 $
* $Date: 2008-12-20 10:39:29 $
* $Author: e107steved $
* $Revision: 1.3 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
if (!defined('e107_INIT')) { exit; }
@ -20,7 +20,7 @@ if (!plugInstalled('newsfeed'))
return '';
}
@include_lan(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_newsfeed.php');
include_lan(e_PLUGIN.'newsfeed/languages/'.e_LANGUAGE.'_newsfeed.php');
if(!class_exists('newsfeedClass'))
{

View File

@ -11,16 +11,15 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/newsletter/plugin.php,v $
| $Revision: 1.3 $
| $Date: 2009-07-14 03:57:22 $
| $Author: e107coders $
| $Revision: 1.4 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@include_once(e_PLUGIN."newsletter/languages/".e_LANGUAGE.".php");
@include_once(e_PLUGIN."newsletter/languages/English.php");
include_lan(e_PLUGIN."newsletter/languages/".e_LANGUAGE.".php");
// Plugin info -------------------------------------------------------------------------------------------------------
$eplug_name = "NLLAN_01";

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']))

View File

@ -11,14 +11,14 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/poll_class.php,v $
| $Revision: 1.15 $
| $Date: 2009-07-10 14:25:23 $
| $Author: e107coders $
| $Revision: 1.16 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
define("POLLCLASS", TRUE);
define("POLL_MODE_COOKIE", 0);
define("POLL_MODE_IP", 1);
@ -274,8 +274,6 @@ class poll
if($type == "preview")
{
/* load lan file */
@include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
$optionArray = $pollArray['poll_option'];
$voteArray = array();
$voteArray = array_pad($voteArray, count($optionArray), 0);
@ -283,7 +281,6 @@ class poll
}
else if($type == "forum")
{
@include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
if(isset($_POST['fpreview']))
{
$pollArray['poll_allow_multiple'] = $pollArray['multipleChoice'];

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/poll_menu.php,v $
| $Revision: 1.3 $
| $Date: 2008-12-11 21:13:48 $
| $Author: e107steved $
| $Revision: 1.4 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@ -42,7 +42,7 @@ if(!isset($poll) || !is_object($poll))
if(!defined("POLL_1"))
{
/* if menu is being called from comments, lan files have to be included manually ... */
@include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
}
if (empty($poll_to_show))

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/admin_prefs.php,v $
| $Revision: 1.5 $
| $Date: 2009-07-07 07:25:27 $
| $Author: e107coders $
| $Revision: 1.6 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
/*
@ -34,7 +34,7 @@ if(!getperms("P") || !plugInstalled('rss_menu'))
header("location:".e_BASE."index.php");
}
@include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
require_once(e_ADMIN."auth.php");

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
| $Revision: 1.13 $
| $Date: 2009-07-19 11:44:29 $
| $Revision: 1.14 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@ -46,7 +46,7 @@ if (!is_object($tp->e_bb))
}
//get language file
@include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
//get template
if (is_readable(THEME."rss_template.php"))

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss_menu.php,v $
| $Revision: 1.3 $
| $Date: 2009-07-25 07:54:36 $
| $Revision: 1.4 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@ -24,7 +24,7 @@ if (!plugInstalled('rss_menu'))
global $FILES_DIRECTORY,$pref,$sql;
$path = e_PLUGIN."rss_menu/";
@include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
$des = "";
$topic = "";

View File

@ -9,9 +9,9 @@
* Plugin administration - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/trackback/admin_config.php,v $
* $Revision: 1.3 $
* $Date: 2008-12-20 22:32:36 $
* $Author: e107steved $
* $Revision: 1.4 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
require_once("../../class2.php");
@ -21,7 +21,7 @@ if (!getperms("P") || !plugInstalled('trackback'))
exit() ;
}
@include_lan(e_PLUGIN."trackback/languages/".e_LANGUAGE."_admin_trackback.php");
include_lan(e_PLUGIN."trackback/languages/".e_LANGUAGE."_admin_trackback.php");
require_once(e_ADMIN."auth.php");

View File

@ -9,15 +9,14 @@
* Plugin Administration - Tree menu
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/tree_menu/config.php,v $
* $Revision: 1.2 $
* $Date: 2008-12-21 12:53:48 $
* $Author: e107steved $
* $Revision: 1.3 $
* $Date: 2009-08-15 11:55:30 $
* $Author: marj_nl_fr $
*
*/
$eplug_admin = TRUE;
require_once("../../class2.php");
@include_once(e_PLUGIN."tree_menu/languages/".e_LANGUAGE.".php");
@include_once(e_PLUGIN."tree_menu/languages/English.php");
include_lan(e_PLUGIN."tree_menu/languages/".e_LANGUAGE.".php");
if (!getperms("4"))
{

View File

@ -11,14 +11,15 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/user_menu/usertheme_menu_config.php,v $
| $Revision: 1.1 $
| $Date: 2009-08-03 20:11:00 $
| $Revision: 1.2 $
| $Date: 2009-08-15 11:55:30 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
$eplug_admin = TRUE;
require_once("../../class2.php");
@include_lan(e_PLUGIN."user_menu/languages/".e_LANGUAGE.".php");
include_lan(e_PLUGIN."user_menu/languages/".e_LANGUAGE.".php");
require_once(e_HANDLER.'userclass_class.php');
global $e_userclass;
if (!is_object($e_userclass)) $e_userclass = new user_class;