Browse Source

+ сис тег копировать в буфер обмена

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

8
contactsnew/templates/forms.tpl

@ -47,7 +47,6 @@
<td>{#title#}</td> <td>{#title#}</td>
<td colspan="4">{#cn_status#}</td> <td colspan="4">{#cn_status#}</td>
<td>{#tag#}</td> <td>{#tag#}</td>
<td colspan="3">{#actions#}</td> <td colspan="3">{#actions#}</td>
</tr> </tr>
</thead> </thead>
@ -64,7 +63,11 @@
<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#}{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> <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" /> <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" />
<a style="display: table-cell; text-align: center" class="whiteBtn copyBtn topDir" href="javascript:void(0);" data-clipboard-action="copy" data-clipboard-target="#form_tag_{$form.id}" title="{#cn_copy_to_clipboard#}">
<img style="margin-top: -3px; position: relative; top: 4px; padding: 0 3px;" class="clippy" src="{$ABS_PATH}admin/templates/images/clippy.svg" width="13"></a>
</div>
</td> </td>
<td align="center"> <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> <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>
@ -95,3 +98,4 @@
</ul> </ul>
</div> </div>
{/if} {/if}
<script type="text/javascript">var clipboard = new Clipboard('.copyBtn');</script>
Loading…
Cancel
Save