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.
100 lines
4.1 KiB
100 lines
4.1 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&cp={$sess}">{#MODULES_SUB_TITLE#}</a></li> |
|
<li><a href="index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=1&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&action=modedit&mod=contactsnew&moduleaction=form_edit&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 width="1"> |
|
<col> |
|
<col width="1"> |
|
<col width="1"> |
|
<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>{#alias#}</td> |
|
<td>{#title#}</td> |
|
<td colspan="4">{#cn_status#}</td> |
|
<td>{#tag#}</td> |
|
|
|
<td colspan="3">{#actions#}</td> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
{foreach from=$forms item=form} |
|
<tr> |
|
<td align="center">{$form.id}</td> |
|
<td nowrap="nowrap" align="center">{if $form.alias}{$form.alias}{else}{#cn_alias_not#}{/if}</td> |
|
<td align="center"> |
|
<strong><a class="toprightDir" href="index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=form_edit&fid={$form.id}&cp={$sess}" title="{#edit#}">{$form.title|stripslashes|escape} |
|
</a></strong> |
|
</td> |
|
<td nowrap="nowrap">{if $form.history_new > 0}<strong><a class="topDir doclink btn redBtn" href="index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=history_list&fid={$form.id}&cp={$sess}" title="{#look#}">{#list_new#}: {$form.history_new}</a></strong>{else}<a class="btn whiteBtn" style="cursor: default" href="javascript:void(0);">{#list_new#}: {$form.history_new}{/if}</a></td> |
|
<td nowrap="nowrap"><a style="cursor: default" class="btn blueBtn" href="javascript:void(0);">{#list_viewed#}: {$form.history_viewed}</a></td> |
|
<td nowrap="nowrap"><a style="cursor: default" class="btn greenBtn" href="javascript:void(0);">{#list_replied#}: {$form.history_replied}</a></td> |
|
<td nowrap="nowrap"><a title="сообщений: {math equation=$form.history_new+$form.history_viewed+$form.history_replied}" class="topDir btn greyishBtn" href="index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=history_list&fid={$form.id}&cp={$sess}">{#cn_view#}</a></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 align="center"> |
|
<a class="topDir icon_sprite ico_edit" href="index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=form_edit&fid={$form.id}&cp={$sess}" title="{#edit#}"></a> |
|
</td> |
|
<td align="center"> |
|
<a class="topleftDir icon_sprite ico_copy" href="index.php?do=modules&action=modedit&mod=contactsnew&moduleaction=form_copy&fid={$form.id}&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&action=modedit&mod=contactsnew&moduleaction=form_del&fid={$form.id}&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} |