mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Added gzip function to class2, quicker loading of ajax script, ajax only loaded when needed, e_header.php for plugin and menu js/css loading. And other small fixes.
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chatbox_menu.php,v $
|
||||
| $Revision: 1.10 $
|
||||
| $Date: 2008-01-16 11:00:21 $
|
||||
| $Revision: 1.11 $
|
||||
| $Date: 2008-01-27 11:02:34 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ if(($pref['cb_layer']==2) || isset($_POST['chatbox_ajax']))
|
||||
@include_lan(e_PLUGIN."chatbox_menu/languages/".e_LANGUAGE."/".e_LANGUAGE.".php");
|
||||
@include_lan(e_PLUGIN."chatbox_menu/languages/English/English.php");
|
||||
}
|
||||
$footer_js[] = e_FILE_ABS.'e_ajax.php';
|
||||
// $footer_js[] = e_FILE_ABS.'e_ajax.php';
|
||||
|
||||
|
||||
}
|
||||
|
11
e107_plugins/chatbox_menu/e_header.php
Normal file
11
e107_plugins/chatbox_menu/e_header.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
if($eMenuActive['chatbox_menu'])
|
||||
{
|
||||
$eplug_js[] = e_FILE_ABS."e_ajax.php";
|
||||
$eplug_js[] = e_FILE_ABS."e_ajax.php";
|
||||
}
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user