1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 16:50:07 +02:00

Code cleanup: deprecated include_lan()

This commit is contained in:
Cameron
2017-01-23 09:41:23 -08:00
parent 55cb8d409e
commit 43d0211590
86 changed files with 105 additions and 105 deletions

View File

@@ -1,6 +1,6 @@
//<?
$class = e107::getBB()->getClass('quote');
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_parser_functions.php");
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_parser_functions.php");
if(deftrue('BOOTSTRAP'))
{

View File

@@ -9,7 +9,7 @@ function custom_shortcode($parm)
{
case 'login':
case 'login noprofile':
include_lan(e_PLUGIN.'login_menu/languages/'.e_LANGUAGE.'.php');
e107::includeLan(e_PLUGIN.'login_menu/languages/'.e_LANGUAGE.'.php');
$ret = '';
$sep = (defined('LOGINC_SEP')) ? LOGINC_SEP : "<span class='loginc sep'>.:.</span>";

View File

@@ -1,4 +1,4 @@
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_user.php");
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_user.php");
global $tp;
if (substr($parm, -5) == '-link')

View File

@@ -1,7 +1,7 @@
//<?
global $sql,$sysprefs,$SEARCH_SHORTCODE;
include_lan(e_PLUGIN."search_menu/languages/".e_LANGUAGE.".php");
e107::includeLan(e_PLUGIN."search_menu/languages/".e_LANGUAGE.".php");
$text = "";
if (!isset($SEARCH_SHORTCODE))
{

View File

@@ -65,7 +65,7 @@
/**
* @todo - must be a better way of picking up the 'Miscellaneous' category
*/
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_user.php');
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_user.php');
if (($parms[1] != 'icon') && ($parms[0] != LAN_USER_44))

View File

@@ -10,7 +10,7 @@
* USAGE: {USER_EXTENDED=<field_name>.[text|value|icon|text_value].<user_id>}
* EXAMPLE: {USER_EXTENDED=user_gender.value.5} will show the value of the extended field user_gender for user #5
*/
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_user_extended.php');
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_user_extended.php');
$parms = explode('.', $parm);
global $currentUser, $tp, $loop_uid, $e107, $sc_style;
if(isset($loop_uid) && intval($loop_uid) == 0) { return ''; }
@@ -49,7 +49,7 @@ if($udata['user_admin'] == 1)
/**
* @todo - must be a better way of picking up the 'Miscellaneous' category
*/
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_user.php');
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_user.php');
if (($parms[1] != 'icon') && ($parms[0] != LAN_USER_44))
{
$ret_cause = 0;