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:
@@ -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>";
|
||||
|
||||
|
@@ -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')
|
||||
|
@@ -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))
|
||||
{
|
||||
|
@@ -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))
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user