1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Deprecated function include_lan() cleanup. Replaced with e107::lan();

This commit is contained in:
Cameron
2014-02-07 07:03:05 -08:00
parent c6d29662a7
commit f96f755318
20 changed files with 57 additions and 338 deletions

View File

@@ -35,7 +35,8 @@ if (!plugInstalled('chatbox_menu'))
return '';
}
include_lan(e_PLUGIN.'chatbox_menu/languages/'.e_LANGUAGE.'/'.e_LANGUAGE.'.php');
e107::lan('chatbox_menu',e_LANGUAGE);
// FIXME - start - LAN is not loaded
/*
@@ -47,7 +48,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');
inclXXXude_lan(e_PLUGIN.'chatbox_menu/languages/'.e_LANGUAGE.'/'.e_LANGUAGE.'.php');
}
}
// FIXME - end
@@ -58,12 +59,9 @@ if(($pref['cb_layer']==2) || isset($_POST['chatbox_ajax']))
$emessage='';
// FIX - using generic sc names is affecting old installs/templates and global wrappers (e.g. sc_style[USERNAME])
/**
* Chatbox Menu Shortcodes.
*/
if(!class_exists('chatbox_shortcodes'))
{
class chatbox_shortcodes extends e_shortcode
@@ -138,18 +136,6 @@ if(!class_exists('chatbox_shortcodes'))
if((isset($_POST['chat_submit']) || e_AJAX_REQUEST) && $_POST['cmessage'] != '')
{
if(!USER && !$pref['anon_post'])