mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Updated chatbox_menu to use e_ajax.php and put a deprecated note in e_ajax.js.
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
// THIS FILE IS DEPRECATED. Please use e_ajax.php instead.
|
||||||
|
|
||||||
if (window.ActiveXObject && !window.XMLHttpRequest) {
|
if (window.ActiveXObject && !window.XMLHttpRequest) {
|
||||||
window.XMLHttpRequest = function() {
|
window.XMLHttpRequest = function() {
|
||||||
return new ActiveXObject((navigator.userAgent.toLowerCase().indexOf('msie 5') != -1) ? 'Microsoft.XMLHTTP' : 'Msxml2.XMLHTTP');
|
return new ActiveXObject((navigator.userAgent.toLowerCase().indexOf('msie 5') != -1) ? 'Microsoft.XMLHTTP' : 'Msxml2.XMLHTTP');
|
||||||
|
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chatbox_menu.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/chatbox_menu.php,v $
|
||||||
| $Revision: 1.9 $
|
| $Revision: 1.10 $
|
||||||
| $Date: 2008-01-09 23:46:22 $
|
| $Date: 2008-01-16 11:00:21 $
|
||||||
| $Author: e107coders $
|
| $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/".e_LANGUAGE."/".e_LANGUAGE.".php");
|
||||||
@include_lan(e_PLUGIN."chatbox_menu/languages/English/English.php");
|
@include_lan(e_PLUGIN."chatbox_menu/languages/English/English.php");
|
||||||
}
|
}
|
||||||
$footer_js[] = e_FILE_ABS.'e_ajax.js';
|
$footer_js[] = e_FILE_ABS.'e_ajax.php';
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user