mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
XML client/server communication protocol fixes
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
* GNU General Public License (http://gnu.org).
|
* GNU General Public License (http://gnu.org).
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/js_helper.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/js_helper.php,v $
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
* $Date: 2008-11-17 17:43:57 $
|
* $Date: 2008-11-21 16:28:04 $
|
||||||
* $Author: secretr $
|
* $Author: secretr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -76,7 +76,8 @@ class e_jshelper
|
|||||||
function buildXMLResponse()
|
function buildXMLResponse()
|
||||||
{
|
{
|
||||||
$action_array = $this->getResponseActions(true);
|
$action_array = $this->getResponseActions(true);
|
||||||
$ret = "<e107response>\n";
|
$ret = '<?xml version="1.0" encoding="'.CHARSET.'" ?>';
|
||||||
|
$ret .= "\n<e107response>\n";
|
||||||
foreach ($action_array as $action => $field_array)
|
foreach ($action_array as $action => $field_array)
|
||||||
{
|
{
|
||||||
$ret .= "\t<e107action name='{$action}'>\n";
|
$ret .= "\t<e107action name='{$action}'>\n";
|
||||||
|
Reference in New Issue
Block a user