Модуль Формы v1.26.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

98 lines
3.6 KiB

{literal}
<style>
#forms input {
box-sizing:border-box;
}
</style>
{/literal}
<div class="title">
<h5>{#contacts#}</h5>
</div>
<div class="widget" style="margin-top:0">
<div class="body">{#mod_info#}</div>
</div>
<div class="breadCrumbHolder module">
<div class="breadCrumb module">
<ul>
<li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}" class="toprightDir"></a></li>
<li><a href="index.php?do=modules&amp;cp={$sess}">{#MODULES_SUB_TITLE#}</a></li>
<li><a href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=1&amp;cp={$sess}">{#contacts#}</a></li>
<li><strong class="code">{#forms#}</strong></li>
</ul>
</div>
</div>
<div class="widget first">
<div class="head">
<h5 class="iFrames">{#forms#}</h5>
<div class="num">
<a class="basicNum" href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=form_edit&amp;cp={$sess}" target="_self">{#form_new#}</a>
</div>
</div>
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm" id="forms">
<colgroup>
<col width="1">
<col>
<col width="1">
<col width="1">
<col width="1">
<col width="1">
<col width="1">
<col width="1">
</colgroup>
<thead>
<tr>
<td>ID</td>
<td>{#title#}</td>
<td>{#tag#}</td>
<td>{#history#}</td>
<td colspan="4">{#actions#}</td>
</tr>
</thead>
<tbody>
{foreach from=$forms item=form}
<tr>
<td align="center">{$form.id}</td>
<td>
<strong><a class="toprightDir" href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=form_edit&amp;fid={$form.id}&amp;cp={$sess}" title="{#edit#}">{$form.title|stripslashes|escape}
</a></strong>
</td>
<td>
<input type="text" id="form_tag" value="[mod_contactsnew:{if $form.alias}{$form.alias}{else}{$form.id}{/if}]" style="width:200px" readonly class="mousetrap" />
</td>
<td nowrap="nowrap">
{if $form.history_new > 0}<strong><a class="topDir doclink" href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=history_list&amp;fid={$form.id}&amp;cp={$sess}" title="{#look#}">{#list_new#}: {$form.history_new}</a></strong>{else}{#list_new#}: {$form.history_new}{/if}<br/>
{#list_viewed#}: {$form.history_viewed}<br/>
{#list_replied#}: {$form.history_replied}
</td>
<td align="center">
<a class="topDir icon_sprite ico_edit" href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=form_edit&amp;fid={$form.id}&amp;cp={$sess}" title="{#edit#}"></a>
</td>
<td align="center">
<a class="topDir icon_sprite ico_query" href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=history_list&amp;fid={$form.id}&amp;cp={$sess}" title="{#history#}"></a>
</td>
<td align="center">
<a class="topleftDir icon_sprite ico_copy" href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=form_copy&amp;fid={$form.id}&amp;cp={$sess}" title="{#copy#}"></a>
</td>
<td align="center">
<a class="topleftDir icon_sprite ico_delete ConfirmDelete" dir="{#deleting#}" name="{#form_deleting#}" href="index.php?do=modules&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=form_del&amp;fid={$form.id}&amp;cp={$sess}" title="{#delete#}"></a>
</td>
</tr>
{foreachelse}
<tr>
<td colspan="8">
<ul class="messages">
<li class="highlight yellow">{#noforms#}</li>
</ul>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{if $page_nav}
<div class="pagination">
<ul class="pages">
{$page_nav}
</ul>
</div>
{/if}