+ сис тег копировать в буфер обмена
This commit is contained in:
parent
1e73b2d94e
commit
5dc154d24c
@ -143,8 +143,12 @@ $smarty['_refresh'] = '{#refresh#}';
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="pr12" style="display: table;">
|
||||
<input type="text" name="alias" id="form_alias" value="{$form.alias|escape}" class="mousetrap" data-accept="{#alias_accept#}" data-error-syn="{#alias_er_syn#}" data-error-exists="{#alias_er_exists#}" placeholder="{#alias#}" maxlength="20" size="40" />
|
||||
<input type="text" id="form_tag" value="[mod_contactsnew:{if $fid && $form.alias}{$form.alias}{elseif $fid}{$fid}{/if}]" readonly size="40" class="mousetrap" />
|
||||
<input type="text" id="form_tag_{$fid}" value="[mod_contactsnew:{if $fid && $form.alias}{$form.alias}{elseif $fid}{$fid}{/if}]" readonly size="40" class="mousetrap" />
|
||||
<a style="text-align: center; padding: 5px 3px 4px 3px;" 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>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -798,4 +802,5 @@ $(document)
|
||||
</script>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<!-- /Оформляем поля в CodeMirror -->
|
||||
<!-- /Оформляем поля в CodeMirror -->
|
||||
<script type="text/javascript">var clipboard = new Clipboard('.copyBtn');</script>
|
Loading…
x
Reference in New Issue
Block a user