Browse Source

Upload new file

master
Repellent 8 years ago
parent
commit
6c30b57892
  1. 117
      fieldsmanager/admin/fields-list.tpl

117
fieldsmanager/admin/fields-list.tpl

@ -0,0 +1,117 @@
<div class="title">
<h5>Управление полями</h5>
</div>
<div class="widget">
<div class="body">
<strong>Модуль позволяет:</strong>
<ul style="list-style: square; margin-left:15px;">
<li>Удалять/<s>Устанавливать</s> поля</li>
<li>Создавать/Редактировать/Удалять шаблоны полей (tpl)</li>
<li>Редактировать шаблоны вывода полей</li>
</ul>
</div>
</div>
<div class="breadCrumbHolder module">
<div class="breadCrumb module">
<ul>
<li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a></li>
<li><a href="index.php?do=modules&amp;cp={$sess}">{#MODULES_SUB_TITLE#}</a></li>
<li><strong class="code">Управление полями</strong></li>
</ul>
</div>
</div>
<div class="widget">
<div class="head">
<h5>Список полей в системе</h5>
</div>
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm">
<col />
<col width="100" />
<col width="100" />
<col width="100" />
<col width="80" />
<col width="100" />
<col width="80" />
<thead>
<tr>
</tr>
<tr>
<td colspan="1" rowspan="2">Наименование поля</td>
<td colspan="1" rowspan="2">Функция</td>
<td colspan="3" rowspan="1">Шаблон Tpl (по умолчанию)</td>
<td colspan="1" rowspan="2">Используется</td>
<td colspan="1" rowspan="2">Удалить</td>
</tr>
<tr>
<td style="border-left: solid 1px #C7D6E6 !important;">Панель</td>
<td>Документ</td>
<td>Запрос</td>
</tr>
</thead>
<tbody>
{foreach from=$fields item=field key=number}
<tr>
<td>
{if in_array($field.id, $enable)}
<strong><a class="link" href="index.php?do=modules&amp;action=modedit&amp;mod=fieldsmanager&amp;moduleaction=showfield&amp;type={$field.id}&amp;cp={$sess}">{$field.name}</a></strong>
{else}
<strong>{$field.name}</strong>
{/if}
</td>
<td class="date_text dgrey" align="center">
{$field.id}
</td>
<td align="center">
{foreach from=$exists item=exist key=key}
{if $field.id == $key}
{if $exist.adm}
<a data-dialog="rft-{$field.id}" href="index.php?do=modules&action=modedit&mod=fieldsmanager&moduleaction=edit&amp;fld={$field.id}&amp;type=adm&amp;cp={$sess}&pop=1&onlycontent=1" data-height="650" data-modal="true" class="openDialog">Редактировать</a>
{/if}
{/if}
{/foreach}
</td>
<td align="center">
{foreach from=$exists item=exist key=key}
{if $field.id == $key}
{if $exist.doc}
<a data-dialog="rft-{$field.id}" href="index.php?do=modules&action=modedit&mod=fieldsmanager&moduleaction=edit&amp;fld={$field.id}&amp;type=doc&amp;cp={$sess}&pop=1&onlycontent=1" data-height="650" data-modal="true" class="openDialog">Редактировать</a>
{/if}
{/if}
{/foreach}
</td>
<td align="center">
{foreach from=$exists item=exist key=key}
{if $field.id == $key}
{if $exist.req}
<a data-dialog="rft-{$field.id}" href="index.php?do=modules&action=modedit&mod=fieldsmanager&moduleaction=edit&amp;fld={$field.id}&amp;type=req&amp;cp={$sess}&pop=1&onlycontent=1" data-height="650" data-modal="true" class="openDialog">Редактировать</a>
{/if}
{/if}
{/foreach}
</td>
<td align="center">
<span class="icon_sprite {if in_array($field.id, $enable)}ico_ok_green{else}ico_delete_no{/if}"></span>
</td>
<td align="center">
<a class="topleftDir icon_sprite ico_delete ConfirmDelete" title="Удалить с сервера" dir="Удалить" name="Вы уверены?" href="index.php?do=modules&amp;action=modedit&amp;mod=fieldsmanager&amp;moduleaction=unlink&amp;type={$field.id}&amp;cp={$sess}"></a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{include file="$codemirror_connect"}
Loading…
Cancel
Save