Issue #306 - Platform admin: Final changes in the scripts for xml-import (only) of sessions and users. Dealing with encodings of csv-files is another story.

skala
Ivan Tcholakov 15 years ago
parent 1289b6bf56
commit 2cbaebf31f
  1. 3
      main/admin/session_import.php
  2. 2
      main/admin/user_import.php

@ -11,6 +11,7 @@ $cidReset = true;
require '../inc/global.inc.php';
$this_section = SECTION_PLATFORM_ADMIN;
api_protect_admin_script(true);
require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php';
@ -847,7 +848,7 @@ if (!empty($error_msg)) {
<blockquote>
<pre>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;<?php echo api_refine_encoding_id(api_get_system_encoding()); ?>&quot;?&gt;
&lt;Sessions&gt;
&lt;Users&gt;
&lt;User&gt;

@ -414,7 +414,7 @@ if ($count_fields > 0) {
<blockquote>
<pre>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;<?php echo api_refine_encoding_id(api_get_system_encoding()); ?>&quot;?&gt;
&lt;Contacts&gt;
&lt;Contact&gt;
<b>&lt;LastName&gt;xxx&lt;/LastName&gt;</b>

Loading…
Cancel
Save