Browse Source

Правка подсчета количества писем в форме

master
Repellent 8 years ago
parent
commit
1f4d5d6f52
  1. 2
      contactsnew/templates/forms.tpl

2
contactsnew/templates/forms.tpl

@ -61,7 +61,7 @@
<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">{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 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 style="cursor: default" class="btn greenBtn" href="javascript:void(0);">{#list_replied#}: {$form.history_replied}</a></td>
<td nowrap="nowrap"><a title="{#cn_count_messages#}{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 nowrap="nowrap"><a title="{#cn_count_messages#}{$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> <td>
<div class="pr12" style="display: table"> <div class="pr12" style="display: table">
<input type="text" id="form_tag_{$form.id}" value="[mod_contactsnew:{if $form.alias}{$form.alias}{else}{$form.id}{/if}]" style="width:180px; display: table-cell" readonly class="mousetrap" /> <input type="text" id="form_tag_{$form.id}" value="[mod_contactsnew:{if $form.alias}{$form.alias}{else}{$form.id}{/if}]" style="width:180px; display: table-cell" readonly class="mousetrap" />

Loading…
Cancel
Save