From a88ec7aa5406a15d38679e50a74eea9e39c90250 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Wed, 16 Jan 2008 11:00:21 +0000 Subject: [PATCH] Updated chatbox_menu to use e_ajax.php and put a deprecated note in e_ajax.js. --- e107_files/e_ajax.js | 2 ++ e107_plugins/chatbox_menu/chatbox_menu.php | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/e107_files/e_ajax.js b/e107_files/e_ajax.js index 07192a1be..53a07b46b 100644 --- a/e107_files/e_ajax.js +++ b/e107_files/e_ajax.js @@ -1,3 +1,5 @@ +// THIS FILE IS DEPRECATED. Please use e_ajax.php instead. + if (window.ActiveXObject && !window.XMLHttpRequest) { window.XMLHttpRequest = function() { return new ActiveXObject((navigator.userAgent.toLowerCase().indexOf('msie 5') != -1) ? 'Microsoft.XMLHTTP' : 'Msxml2.XMLHTTP'); diff --git a/e107_plugins/chatbox_menu/chatbox_menu.php b/e107_plugins/chatbox_menu/chatbox_menu.php index c2b76d218..fc96ec812 100644 --- a/e107_plugins/chatbox_menu/chatbox_menu.php +++ b/e107_plugins/chatbox_menu/chatbox_menu.php @@ -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.9 $ -| $Date: 2008-01-09 23:46:22 $ +| $Revision: 1.10 $ +| $Date: 2008-01-16 11:00:21 $ | $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.js'; + $footer_js[] = e_FILE_ABS.'e_ajax.php'; }