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

@ -1,11 +1,12 @@
<h1 class="h1">{$lang->cmd_send_trackback}</h1>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/trackback/tpl/send_trackback_form/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="sendTrackback" action="./" method="post">
<input type="hidden" name="module" value="trackback" />
<input type="hidden" name="act" value="procTrackbackSend" />
<input type="hidden" name="target_srl" value="{$oDocument->document_srl}" />
<input type="hidden" name="xe_validator_id" value="modules/trackback/tpl/send_trackback_form/1" />
<table class="x_table x_table-striped x_table-hover">
<tr>
<th scope="row"><label>{$lang->title}</label></th>

View file

@ -5,9 +5,9 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
<load target="js/trackback_admin.js" usecdn="true" />
<form action="">
<div class="x_page-header">
<h1>{$lang->trackback} <a class="x_icon-question-sign" href="./help/index.html#UMAN_content_trackback" target="_blank">{$lang->help}</a></h1>
<h1>{$lang->trackback} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_trackback" target="_blank">{$lang->help}</a></h1>
</div>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/trackback/tpl/trackback_list/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<table width="100%" id="trackbackListTable" class="x_table x_table-striped x_table-hover">
@ -98,6 +98,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
<input type="hidden" name="module" value="trackback" />
<input type="hidden" name="act" value="procTrackbackAdminDeleteChecked" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="xe_validator_id" value="modules/trackback/tpl/trackback_list/1" />
<div class="x_modal-header">
<h1>{$lang->trackback_manager}: {$lang->delete}</h1>
</div>
@ -133,7 +134,7 @@ jQuery(function($){
}
}).change();
// Modal anchor button action
$('a.modalAnchor').click(function(){
$('a.modalAnchor').bind('before-open.mw', function(){
if($docTable.find('tbody :checked').length == 0){
$('body').css('overflow','auto');
alert('{$lang->msg_cart_is_null}');