1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +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,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'))
{