Merge pull request #17473 from eileenmcnaughton/anet
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Miscellaneous.tpl
index dd6f200e183628339d6cce1f93c996fad6e63c65..68ace19f261d974b8db8f2e75acdb617dd86e916 100644 (file)
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 5                                                  |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2019                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
+ | Copyright CiviCRM LLC. All rights reserved.                        |
  |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
  +--------------------------------------------------------------------+
 *}
 <div class="crm-block crm-form-block crm-miscellaneous-form-block">
-  <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
+   <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
 
     <table class="form-layout">
-        <tr class="crm-miscellaneous-form-block-checksum_timeout">
-            <td class="label">{$form.checksum_timeout.label}</td>
-            <td>{$form.checksum_timeout.html}<br />
-                <span class="description">{ts}The number of days before a personalized (hashed) link will expire.{/ts}</span></td>
-        </tr>
+      <tr class="crm-miscellaneous-form-block-checksum_timeout">
+        <td class="label">{$form.checksum_timeout.label}</td>
+        <td>{$form.checksum_timeout.html}<br />
+            <span class="description">{ts}The number of days before a personalized (hashed) link will expire.{/ts}</span></td>
+      </tr>
     </table>
 
     <table class="form-layout">
-        <tr class="crm-miscellaneous-form-block-contact_undelete">
-          <td class="label">{$form.contact_undelete.label}</td>
-          <td>
-            {$form.contact_undelete.html}<br />
-            <p class="description">{ts}{$contact_undelete_description}{/ts}</p>
+      <tr class="crm-miscellaneous-form-block-contact_undelete">
+        <td class="label">{$form.contact_undelete.label}</td>
+        <td>
+          {$form.contact_undelete.html}<br />
+          <p class="description">{ts}{$contact_undelete_description}{/ts}</p>
+        </td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-logging">
+        <td class="label">{$form.logging.label}</td>
+        <td>
+          {$form.logging.html}<br />
+        {if $validTriggerPermission}
+          <p class="description">{ts}If enabled, all actions will be logged with a complete record of changes.{/ts}</p>
+        {else}
+          <p class="description">{ts}In order to use this functionality, the installation's database user must have privileges to create triggers (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled.{/ts}&nbsp;{ts}This functionality cannot be enabled on multilingual installations.{/ts}</p>
+         {/if}
+        </td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-doNotAttachPDFReceipt">
+        <td class="label">{$form.doNotAttachPDFReceipt.label}</td>
+        <td>{$form.doNotAttachPDFReceipt.html}<br />
+          <p class="description">{ts}If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.{/ts}</p>
+        </td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-recordGeneratedLetters">
+        <td class="label">{$form.recordGeneratedLetters.label}</td>
+        <td>{$form.recordGeneratedLetters.html}<br />
+          <p class="description">{ts}When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?{/ts}</p>
+        </td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-wkhtmltopdfPath">
+        <td class="label">{$form.wkhtmltopdfPath.label}</td>
+        <td>{$form.wkhtmltopdfPath.html}<br />
+          <p class="description">{ts 1="http://wkhtmltopdf.org/"}<a href="%1">wkhtmltopdf is an alternative utility for generating PDF's</a> which may provide better performance especially if you are generating a large number of PDF letters or receipts. Your system administrator will need to download and install this utility, and enter the executable path here.{/ts}</p>
+        </td>
+      </tr>
+      {foreach from=$pure_config_settings item=setting_name}
+        <tr class="crm-miscellaneous-form-block-{$setting_name}">
+          <td class="label">{$form.$setting_name.label}</td>
+          <td>{$form.$setting_name.html}<br />
+            <span class="description">{$setting_descriptions.$setting_name}</span>
           </td>
         </tr>
-        <tr class="crm-miscellaneous-form-block-logging">
-          <td class="label">{$form.logging.label}</td>
-          <td>
-            {$form.logging.html}<br />
-          {if $validTriggerPermission}
-            <p class="description">{ts}If enabled, all actions will be logged with a complete record of changes.{/ts}</p>
-          {else}
-            <p class="description">{ts}In order to use this functionality, the installation's database user must have privileges to create triggers (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled.{/ts}&nbsp;{ts}This functionality cannot be enabled on multilingual installations.{/ts}</p>
-           {/if}
-          </td>
-        </tr>
-        <tr class="crm-miscellaneous-form-block-doNotAttachPDFReceipt">
-            <td class="label">{$form.doNotAttachPDFReceipt.label}</td>
-            <td>{$form.doNotAttachPDFReceipt.html}<br />
-                <p class="description">{ts}If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.{/ts}</p>
-            </td>
-        </tr>
-        <tr class="crm-miscellaneous-form-block-recordGeneratedLetters">
-            <td class="label">{$form.recordGeneratedLetters.label}</td>
-            <td>{$form.recordGeneratedLetters.html}<br />
-                <p class="description">{ts}When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?{/ts}</p>
-            </td>
-        </tr>
-        <tr class="crm-miscellaneous-form-block-wkhtmltopdfPath">
-            <td class="label">{$form.wkhtmltopdfPath.label}</td>
-            <td>{$form.wkhtmltopdfPath.html}<br />
-                <p class="description">{ts 1="http://wkhtmltopdf.org/"}<a href="%1">wkhtmltopdf is an alternative utility for generating PDF's</a> which may provide better performance especially if you are generating a large number of PDF letters or receipts. Your system administrator will need to download and install this utility, and enter the executable path here.{/ts}</p>
-            </td>
-        </tr>
-        {foreach from=$pure_config_settings item=setting_name}
-          <tr class="crm-miscellaneous-form-block-{$setting_name}">
-            <td class="label">{$form.$setting_name.label}</td>
-            <td>{$form.$setting_name.html}<br />
-              <span class="description">{$setting_descriptions.$setting_name}</span>
-            </td>
-          </tr>
-        {/foreach}
-        <tr class="crm-miscellaneous-form-block-remote_profile_submissions_allowed">
-          <td class="label">{$form.remote_profile_submissions.label}</td>
-          <td>{$form.remote_profile_submissions.html}<br />
-            <p class="description">{ts}If enabled, CiviCRM will allow users to submit profiles from external sites. This is disabled by default to limit abuse.{/ts}</p>
-          </td>
-        </tr>
-        <tr class="crm-miscellaneous-form-block-allow_alert_autodismissal">
-            <td class="label">{$form.allow_alert_autodismissal.label}</td>
-            <td>{$form.allow_alert_autodismissal.html}<br />
-                <p class="description">{ts}If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.{/ts}</p>
-            </td>
-        </tr>
+      {/foreach}
+      <tr class="crm-miscellaneous-form-block-remote_profile_submissions_allowed">
+        <td class="label">{$form.remote_profile_submissions.label}</td>
+        <td>{$form.remote_profile_submissions.html}<br />
+          <p class="description">{ts}If enabled, CiviCRM will allow users to submit profiles from external sites. This is disabled by default to limit abuse.{/ts}</p>
+        </td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-allow_alert_autodismissal">
+        <td class="label">{$form.allow_alert_autodismissal.label}</td>
+        <td>{$form.allow_alert_autodismissal.html}<br />
+          <p class="description">{ts}If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.{/ts}</p>
+        </td>
+      </tr>
     </table>
 
-    <h3>{ts}reCAPTCHA Keys{/ts}</h3>
-
+    <h3>{ts}reCAPTCHA v2{/ts}</h3>
     <div class="description">
-        {ts 1="https://www.google.com/recaptcha"}reCAPTCHA is a free service that helps prevent automated abuse of your site. To use reCAPTCHA on public-facing CiviCRM forms: sign up at <a href="%1" "target=_blank">Google's reCaptcha site</a>; enter the provided public and private reCAPTCHA keys here; then enable reCAPTCHA under Advanced Settings in any Profile.{/ts}
+      {ts 1='href="https://www.google.com/recaptcha" target="_blank"'}reCAPTCHA is a free service that helps prevent automated abuse of your site. To use it on public-facing CiviCRM forms: sign up at <a %1>Google's reCaptcha site</a>; enter the provided public and private keys here; then enable reCAPTCHA under Advanced Settings in any Profile.{/ts}
+      <br/><strong>{ts}Only the reCAPTCHA v2 checkbox type is supported.{/ts}</strong>
     </div>
     <table class="form-layout">
-        <tr class="crm-miscellaneous-form-block-recaptchaPublicKey">
-            <td class="label">{$form.recaptchaPublicKey.label}</td>
-            <td>{$form.recaptchaPublicKey.html}</td>
-        </tr>
-        <tr class="crm-miscellaneous-form-block-recaptchaPrivateKey">
-            <td class="label">{$form.recaptchaPrivateKey.label}</td>
-            <td>{$form.recaptchaPrivateKey.html}</td>
-        </tr>
-        <tr class="crm-miscellaneous-form-block-recaptchaOptions">
-            <td class="label">{$form.recaptchaOptions.label}</td>
-            <td>{$form.recaptchaOptions.html}<br />
-              <span class="description">
-                {ts}You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:'blackglass', lang : 'fr' ).{/ts}
-                <br />
-                {ts 1='href="https://developers.google.com/recaptcha/docs/display#config" target="_blank"'}Check the available options at <a %1>Customizing the Look and Feel of reCAPTCHA</a>.{/ts}
-              </span>
-            </td>
-        </tr>
-        <tr class="crm-miscellaneous-form-block-recaptchaPrivateKey">
-            <td class="label">{$form.forceRecaptcha.label}</td>
-            <td>
-              {$form.forceRecaptcha.html}
-              <p class="description">{ts}If enabled, reCAPTCHA will show on all contribution pages.{/ts}</p>
-            </td>
-        </tr>
-        </table>
-           <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
+      <tr class="crm-miscellaneous-form-block-recaptchaPublicKey">
+        <td class="label">{$form.recaptchaPublicKey.label}</td>
+        <td>{$form.recaptchaPublicKey.html}</td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-recaptchaPrivateKey">
+        <td class="label">{$form.recaptchaPrivateKey.label}</td>
+        <td>{$form.recaptchaPrivateKey.html}</td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-recaptchaOptions">
+        <td class="label">{$form.recaptchaOptions.label}</td>
+        <td>{$form.recaptchaOptions.html}<br />
+          <span class="description">
+            {ts}You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:'blackglass', lang : 'fr' ).{/ts}
+            <br />
+            {ts 1='href="https://developers.google.com/recaptcha/docs/display#configuration" target="_blank"'}Check the available options at <a %1>Customizing the Look and Feel of reCAPTCHA</a>.{/ts}
+          </span>
+        </td>
+      </tr>
+      <tr class="crm-miscellaneous-form-block-recaptchaPrivateKey">
+        <td class="label">{$form.forceRecaptcha.label}</td>
+        <td>
+          {$form.forceRecaptcha.html}
+          <p class="description">{ts}If enabled, reCAPTCHA will show on all contribution pages.{/ts}</p>
+        </td>
+      </tr>
+    </table>
+  <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
 </div>