Close Connection when there is no connection value.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2013-09-25 15:29:32 +00:00
parent 034a5c0288
commit f70ce644ce
1410 changed files with 7188 additions and 53541 deletions

View file

@ -2,6 +2,6 @@
<load cond="!__DEBUG__" target="js/importer_admin.min.js" usecdn="true" />
{@ $type_list = array('module'=>$lang->type_module, 'ttxml'=>$lang->type_ttxml, 'member'=>$lang->type_member, 'sync'=>$lang->type_syncmember, 'message'=>$lang->type_message) }
<div class="x_page-header">
<h1>{$lang->importer} <a class="x_icon-question-sign" href="./help/index.html#UMAN_content_importer" target="_blank">{$lang->help}</a></h1>
<h1>{$lang->importer} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_importer" target="_blank">{$lang->help}</a></h1>
</div>
<p>{nl2br($lang->about_importer)}</p>

View file

@ -1,12 +1,13 @@
<include target="./header.html" />
<load target="js/importer_admin.js" usecdn="true" />
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/importer/tpl/index/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form class="section" action="./" method="get" onsubmit="return doPreProcessing(this, 'documentForm')" id="documentForm">
<input type="hidden" name="act" value="" />
<input type="hidden" name="type" value="module" />
<input type="hidden" name="unit_count" value="10" />
<input type="hidden" name="xe_validator_id" value="modules/importer/tpl/index/1" />
<h2>{$lang->type_module}</h2>
<div class="x_control-group checkxml">
<span class="x_input-append">
@ -39,6 +40,7 @@
<form class="section" action="./" method="get" onsubmit="return doPreProcessing(this, 'memberForm')" id="memberForm">
<input type="hidden" name="type" value="member" />
<input type="hidden" name="unit_count" value="100" />
<input type="hidden" name="xe_validator_id" value="modules/importer/tpl/index/1" />
<h2>{$lang->type_member}</h2>
<div class="x_control-group checkxml">
<span class="x_input-append">
@ -59,6 +61,7 @@
<form class="section" action="./" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="message" />
<input type="hidden" name="unit_count" value="100" />
<input type="hidden" name="xe_validator_id" value="modules/importer/tpl/index/1" />
<h2>{$lang->type_message}</h2>
<div class="x_control-group checkxml">
<span class="x_input-append">