Browse Source

изменения в файле

master
Repellent 8 years ago
parent
commit
8c45923f35
  1. 24
      contactsnew/templates/forms.tpl

24
contactsnew/templates/forms.tpl

@ -30,6 +30,7 @@
</div>
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm" id="forms">
<colgroup>
<col width="1">
<col width="1">
<col>
<col width="1">
@ -38,38 +39,39 @@
<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>{#history#}</td>
<td colspan="4">{#actions#}</td>
<td colspan="3">{#actions#}</td>
</tr>
</thead>
<tbody>
{foreach from=$forms item=form}
<tr>
<td align="center">{$form.id}</td>
<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&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 nowrap="nowrap">{if $form.history_new > 0}<strong><a class="topDir doclink btn redBtn" 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}<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&amp;action=modedit&amp;mod=contactsnew&amp;moduleaction=history_list&amp;fid={$form.id}&amp;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 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>

Loading…
Cancel
Save