mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +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
|
|
@ -32,7 +32,13 @@
|
|||
<td>{$item->title} ({$layout_name})</td>
|
||||
<td>{zdate($item->regdate, "Y-m-d")}</td>
|
||||
<td><a href="{getUrl('act', 'dispLayoutAdminModify', 'layout_srl', $item->layout_srl)}">{$lang->cmd_setup}</a></td>
|
||||
<td><a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $item->layout_srl)}">{$lang->cmd_edit}</a></td>
|
||||
<td>
|
||||
<!--@if($item->is_edited)-->
|
||||
<a href="{getUrl('act', 'dispLayoutAdminEdit', 'layout_srl', $item->layout_srl)}">{$lang->cmd_edit}</a>
|
||||
<!--@else-->
|
||||
<span style="color:#999">편집</span>
|
||||
<!--@endif-->
|
||||
</td>
|
||||
<td><a href="{getUrl('', 'module', 'layout', 'act', 'dispLayoutAdminCopyLayout', 'layout_srl', $item->layout_srl)}" onclick="popopen(this.href);return false;" title="{$lang->cmd_copy}">{$lang->cmd_copy}</a></td>
|
||||
<td class="rx_detail_marks">
|
||||
<form cond="count($layout) > 1" class="layout_delete_form" ruleset="deleteLayout" action="./" method="post">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue