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,12 +1,13 @@
<load target="js/poll_admin.js" usecdn="true" />
<!--#include("./header.html")-->
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/poll/tpl/config/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="insertConfig" action="./" method="post" id="fo_poll">
<input type="hidden" name="module" value="poll" />
<input type="hidden" name="act" value="procPollAdminInsertConfig" />
<input type="hidden" name="xe_validator_id" value="modules/poll/tpl/config/1" />
<table class="x_table x_table-striped x_table-hover">
<tr>
<th scope="col">{$lang->skin}</th>

View file

@ -6,15 +6,16 @@ xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}';
</script>
<load target="js/poll_admin.js" usecdn="true" />
<div class="x_page-header">
<h1>{$lang->poll} <a class="x_icon-question-sign" href="./help/index.html#UMAN_content_poll" target="_blank">{$lang->help}</a></h1>
<h1>{$lang->poll} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_poll" 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/poll/tpl/poll_list/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="deleteChecked" action="./" method="post" id="pollList">
<input type="hidden" name="act" value="procPollAdminDeleteChecked" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module" value="poll" />
<input type="hidden" name="xe_validator_id" value="modules/poll/tpl/poll_list/1" />
<table class="x_table x_table-striped x_table-hover" id="pollListTable">
<caption>
<strong>{$lang->all}({number_format($total_count)})</strong>
@ -55,8 +56,7 @@ xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}';
</span>
</form>
<form action="./" class="x_pagination x_pull-left" style="margin:0">
<input type="hidden" name="error_return_url" value="" />
<form action="./" class="x_pagination x_pull-left" style="margin:0" no-error-return-url="true">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<input cond="$search_keyword" type="hidden" name="search_keyword" value="{$search_keyword}" />
@ -93,10 +93,9 @@ xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}';
</ul>
</form>
<form action="./" method="get" class="search center x_input-append" style="clear:both;padding:10px 0 0 0;margin:0">
<form action="./" method="get" class="search center x_input-append" style="clear:both;padding:10px 0 0 0;margin:0" no-error-return-url="true">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="error_return_url" value="" />
<select name="search_target" title="{$lang->search_target}" style="margin-right:4px">
<option loop="$lang->search_poll_target_list => $key, $val" value="{$key}" selected="selected"|cond="$search_target==$key">{$val}</option>
</select>