merge from 1.7.3.5(r13153:r13167)

git-svn-id: http://xe-core.googlecode.com/svn/trunk@13168 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2013-09-29 23:32:39 +00:00
parent cc47d2b247
commit 2d3f149b5a
2042 changed files with 129266 additions and 126243 deletions

View file

@ -1,83 +1,107 @@
<include target="header.html" />
<load target="js/adminList.js" usecdn="true" />
<script type="text/javascript">
xe.lang.confirm_delete = '{$lang->confirm_delete}';
<script>
xe.lang.confirm_delete = '{$lang->confirm_delete}';
</script>
<h2 class="h2">{$layout_info->title} ver {$layout_info->version} ({$layout_info->layout})</h2>
<div class="table even easyList">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<th scope="col" class="nowr">{$lang->no}</th>
<th scope="col" class="title">{$lang->title}</th>
<th scope="col" class="nowr">{$lang->regdate}</th>
<th scope="col" class="nowr">{$lang->cmd_layout_management}</th>
<th scope="col" class="nowr">{$lang->cmd_layout_edit}</th>
<th scope="col" class="nowr">{$lang->cmd_copy}</th>
<th scope="col" class="nowr">{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
<tr loop="$layout_list => $no, $layout">
<td class="nowr">{$no+1}</td>
<td class="title">{$layout->title}</td>
<td class="nowr">{zdate($layout->regdate, "Y-m-d")}</td>
<td class="nowr"><a href="{getUrl('act', 'dispLayoutAdminModify', 'layout_srl', $layout->layout_srl)}">{$lang->cmd_layout_management}</a></td>
<td class="nowr"><a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $layout->layout_srl)}">{$lang->cmd_layout_edit}</a></td>
<td class="nowr"><a href="{getUrl('', 'module', 'layout', 'act', 'dispLayoutAdminCopyLayout', 'layout_srl', $layout->layout_srl)}" onclick="popopen(this.href);return false;" title="{$lang->cmd_copy}">{$lang->cmd_copy}</a></td>
<td class="nowr">
<form class="layout_delete_form" ruleset="deleteLayout" action="./" method="post">
<input type="hidden" name="module" value="layout" />
<input type="hidden" name="act" value="procLayoutAdminDelete" />
<input type="hidden" name="layout_srl" value="{$layout->layout_srl}" />
<input class="text" type="submit" value="{$lang->cmd_delete}" />
</form>
</td>
</tr>
</tbody>
</table>
</div>
<div cond="$layout_info->layout != 'faceoff'" class="btnArea">
<span class="btn"><a href="#insertLayout" class="modalAnchor">{$lang->cmd_insert}...</a></span>
</div>
<div id="insertLayout" class="modal">
<div class="fg">
<h2></h2>
<form ruleset="insertLayout" action="./" class="form">
<input type="hidden" name="module" value="layout" />
<input type="hidden" name="act" value="procLayoutAdminInsert" />
<input type="hidden" name="layout" value="{$layout_info->layout}" />
<input type="hidden" name="_layout_type" value="{$type}" />
<input type="hidden" name="success_return_url" value="{getUrl('act', 'dispLayoutAdminInstanceList')}" />
<ul>
<li>
<p class="q">{$lang->layout}</p>
<p class="a">{$layout_info->title} ver {$layout_info->version} ({$layout_info->layout})</p>
</li>
<li cond="$layout_info->path">
<p class="q">{$lang->path}</p>
<p class="a">{$layout_info->path}</p>
</li>
<li cond="$layout_info->description">
<p class="q">{$lang->description}</p>
<p class="a">{$layout_info->description}</p>
</li>
<li>
<p class="q">{$lang->author}</p>
<p class="a"><a href="{$layout_info->author->homepage}" target="_blank">{$layout_info->layout->author->name}</a></p>
</li>
<li>
<p class="q">{$lang->title}</p>
<p class="a">
<input type="text" name="title" value="" />
</p>
<p class="desc">{$lang->about_title}</p>
</li>
</ul>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_insert}" /></span>
</div>
</form>
<div cond="$layout_info->layout != 'faceoff'" class="x_clearfix">
<div class="x_btn-group x_pull-right">
<a href="#insertLayout" class="x_btn modalAnchor">{$lang->cmd_insert}</a>
</div>
</div>
{@ $isDeletable = count($layout_list) > 1 ? TRUE : FALSE}
<table class="x_table x_table-striped x_table-hover">
<thead>
<tr>
<th scope="col" class="nowr">{$lang->no}</th>
<th scope="col" class="nowr">{$lang->title}</th>
<th scope="col" class="nowr">{$lang->regdate}</th>
<th scope="col" class="nowr">{$lang->cmd_setup}</th>
<th scope="col" class="nowr">{$lang->cmd_edit}</th>
<th scope="col" class="nowr">{$lang->cmd_copy}</th>
<th scope="col" class="nowr">{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
<tr loop="$layout_list => $no, $layout">
<td class="nowr">{$no+1}</td>
<td class="title">{$layout->title}</td>
<td class="nowr">{zdate($layout->regdate, "Y-m-d")}</td>
<td class="nowr"><a href="{getUrl('act', 'dispLayoutAdminModify', 'layout_srl', $layout->layout_srl)}">{$lang->cmd_setup}</a></td>
<td class="nowr"><a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $layout->layout_srl)}">{$lang->cmd_edit}</a></td>
<td class="nowr"><a href="{getUrl('', 'module', 'layout', 'act', 'dispLayoutAdminCopyLayout', 'layout_srl', $layout->layout_srl)}" onclick="popopen(this.href);return false;" title="{$lang->cmd_copy}">{$lang->cmd_copy}</a></td>
<td class="nowr">
<form cond="$isDeletable" class="layout_delete_form" ruleset="deleteLayout" action="./" method="post">
<input type="hidden" name="module" value="layout" />
<input type="hidden" name="act" value="procLayoutAdminDelete" />
<input type="hidden" name="layout_srl" value="{$layout->layout_srl}" />
<input class="x_btn x_btn-link" type="submit" value="{$lang->cmd_delete}" />
<input type="hidden" name="xe_validator_id" value="modules/layout/tpl/layout_instance_list/1" />
</form>
</td>
</tr>
</tbody>
</table>
<div cond="$layout_info->layout != 'faceoff'" class="x_clearfix">
<div class="x_btn-group x_pull-right">
<a href="#insertLayout" class="x_btn modalAnchor">{$lang->cmd_insert}</a>
</div>
</div>
<section id="insertLayout" class="x_modal">
<form action="./" method="post" ruleset="insertLayout" class="x_form-horizontal">
<input type="hidden" name="module" value="layout" />
<input type="hidden" name="act" value="procLayoutAdminInsert" />
<input type="hidden" name="layout" value="{$layout_info->layout}" />
<input type="hidden" name="_layout_type" value="{$type}" />
<input type="hidden" name="success_return_url" value="{getUrl('act', 'dispLayoutAdminInstanceList')}" />
<input type="hidden" name="xe_validator_id" value="modules/layout/tpl/layout_instance_list/2" />
<div class="x_modal-header">
<h1>{$lang->cmd_insert}</h1>
</div>
<div class="x_modal-body">
<div class="x_control-group">
<label class="x_control-label">{$lang->layout}</label>
<div class="x_controls" style="padding-top:3px">
{$layout_info->title} ver {$layout_info->version} ({$layout_info->layout})
</div>
</div>
<div cond="$layout_info->path" class="x_control-group">
<label class="x_control-label">{$lang->path}</label>
<div class="x_controls" style="padding-top:3px">
{$layout_info->path}
</div>
</div>
<div cond="$layout_info->description" class="x_control-group">
<label class="x_control-label">{$lang->description}</label>
<div class="x_controls" style="padding-top:3px">
{$layout_info->description}
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->author}</label>
<div class="x_controls" style="padding-top:3px">
<block loop="$layout_info->author=>$author_info">
<!--@if($author_info->homepage)-->
<a href="{$author_info->homepage}" target="_blank">{$author_info->name}</a>
<!--@else-->
{$author_info->name}
<!--@end-->
</block>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->title}</label>
<div class="x_controls">
<input type="text" name="title" value="" />
<p class="x_help-inline">{$lang->about_title}</p>
</div>
</div>
</div>
<div class="x_modal-footer">
<button type="button" class="x_btn x_pull-left" data-hide="#insertLayout">{$lang->cmd_close}</button>
<span class="x_btn-group x_pull-right">
<button type="submit" class="x_btn x_btn-primary">{$lang->cmd_insert}</button>
</span>
</div>
</form>
</section>