Browse Source

добавлена возможность вставки публичного API ключа reCAPTCHA v3 в поле "Скрипты и стили, необходимые для оформления и функционирования формы"

master
Repellent 5 years ago
parent
commit
03309688ff
  1. 7
      contactsnew/templates/form_edit.tpl

7
contactsnew/templates/form_edit.tpl

@ -199,7 +199,7 @@ $smarty['_refresh'] = '{#refresh#}';
<tbody>
<tr>
<td><a class="toprightDir" title="{#tag_path#}" href="javascript:void(0);" onClick="textSelection_rubheader('[tag:path]','');"><strong>[tag:path]</strong></a></td>
<td rowspan="3">
<td rowspan="{if $smarty.const.GOOGLE_PUBLIC_RECAPTCHA3_KEY && $smarty.const.GOOGLE_PRIVATE_RECAPTCHA3_KEY}4{else}3{/if}">
<textarea wrap="off" name="rubheader" id="rubheader">{$form.rubheader|escape}</textarea>
</td>
</tr>
@ -209,6 +209,11 @@ $smarty['_refresh'] = '{#refresh#}';
<tr>
<td><a class="toprightDir" title="{#tag_css#}" href="javascript:void(0);" onClick="textSelection_rubheader('[tag:css:]','');"><strong>[tag:css:FFF:P]</strong></a>, <a class="toprightDir" title="{#tag_js#}" href="javascript:void(0);" onClick="textSelection_rubheader('[tag:js:]','');"><strong>[tag:js:FFF:P]</strong></a></td>
</tr>
{if $smarty.const.GOOGLE_PUBLIC_RECAPTCHA3_KEY && $smarty.const.GOOGLE_PRIVATE_RECAPTCHA3_KEY}
<tr>
<td><a class="toprightDir" title="{#title_pub_key_recap#}" href="javascript:void(0);" onClick="textSelection_rubheader('{$smarty.const.GOOGLE_PUBLIC_RECAPTCHA3_KEY}','');"><strong>{#public_key_recaptcha_v3#}</strong></a></td>
</tr>
{/if}
<tr>
<td>HTML tags</td>
<td> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<ol>', '</ol>');"><strong>OL</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<ul>', '</ul>');"><strong>UL</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<li>', '</li>');"><strong>LI</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<p class=&quot;&quot;>', '</p>');"><strong>P</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<strong>', '</strong>');"><strong>B</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<em>', '</em>');"><strong>I</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<h1>', '</h1>');"><strong>H1</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<h2>', '</h2>');"><strong>H2</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<h3>', '</h3>');"><strong>H3</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<h4>', '</h4>');"><strong>H4</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<h5>', '</h5>');"><strong>H5</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<div class=&quot;&quot; id=&quot;&quot;>', '</div>');"><strong>DIV</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<a href=&quot;&quot; title=&quot;&quot;>', '</a>');"><strong>A</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<img src=&quot;&quot; alt=&quot;&quot; />', '');"><strong>IMG</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<span>', '</span>');"><strong>SPAN</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<pre>', '</pre>');"><strong>PRE</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('<br />', '');"><strong>BR</strong></a> | <a href="javascript:void(0);" onClick="textSelection_rubheader('\t', '');"><strong>TAB</strong></a> | </td>

Loading…
Cancel
Save