1
0
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:
CaMer0n
2008-01-27 11:02:34 +00:00
parent 43b337e938
commit 1eab7f9470
7 changed files with 102 additions and 34 deletions

View File

@@ -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';
}

View 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";
}
?>