mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
Disable editing layouts unless they have already been edited #2121
This commit is contained in:
parent
a266d39c2e
commit
3524c60435
7 changed files with 68 additions and 7 deletions
|
|
@ -27,7 +27,13 @@ xe.lang.confirm_delete = '{$lang->confirm_delete}';
|
|||
<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">
|
||||
<!--@if($layout->is_edited)-->
|
||||
<a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $layout->layout_srl)}">{$lang->cmd_edit}</a>
|
||||
<!--@else-->
|
||||
<span style="color:#999">편집</span>
|
||||
<!--@endif-->
|
||||
</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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue