Merge pull request #14547 from civicrm/5.15
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Miscellaneous.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 <div class="crm-block crm-form-block crm-miscellaneous-form-block">
27 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
28
29 <table class="form-layout">
30 <tr class="crm-miscellaneous-form-block-checksum_timeout">
31 <td class="label">{$form.checksum_timeout.label}</td>
32 <td>{$form.checksum_timeout.html}<br />
33 <span class="description">{ts}The number of days before a personalized (hashed) link will expire.{/ts}</span></td>
34 </tr>
35 </table>
36
37 <table class="form-layout">
38 <tr class="crm-miscellaneous-form-block-contact_undelete">
39 <td class="label">{$form.contact_undelete.label}</td>
40 <td>
41 {$form.contact_undelete.html}<br />
42 <p class="description">{ts}{$contact_undelete_description}{/ts}</p>
43 </td>
44 </tr>
45 <tr class="crm-miscellaneous-form-block-logging">
46 <td class="label">{$form.logging.label}</td>
47 <td>
48 {$form.logging.html}<br />
49 {if $validTriggerPermission}
50 <p class="description">{ts}If enabled, all actions will be logged with a complete record of changes.{/ts}</p>
51 {else}
52 <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>
53 {/if}
54 </td>
55 </tr>
56 <tr class="crm-miscellaneous-form-block-doNotAttachPDFReceipt">
57 <td class="label">{$form.doNotAttachPDFReceipt.label}</td>
58 <td>{$form.doNotAttachPDFReceipt.html}<br />
59 <p class="description">{ts}If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.{/ts}</p>
60 </td>
61 </tr>
62 <tr class="crm-miscellaneous-form-block-recordGeneratedLetters">
63 <td class="label">{$form.recordGeneratedLetters.label}</td>
64 <td>{$form.recordGeneratedLetters.html}<br />
65 <p class="description">{ts}When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?{/ts}</p>
66 </td>
67 </tr>
68 <tr class="crm-miscellaneous-form-block-wkhtmltopdfPath">
69 <td class="label">{$form.wkhtmltopdfPath.label}</td>
70 <td>{$form.wkhtmltopdfPath.html}<br />
71 <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>
72 </td>
73 </tr>
74 {foreach from=$pure_config_settings item=setting_name}
75 <tr class="crm-miscellaneous-form-block-{$setting_name}">
76 <td class="label">{$form.$setting_name.label}</td>
77 <td>{$form.$setting_name.html}<br />
78 <span class="description">{$setting_descriptions.$setting_name}</span>
79 </td>
80 </tr>
81 {/foreach}
82 <tr class="crm-miscellaneous-form-block-remote_profile_submissions_allowed">
83 <td class="label">{$form.remote_profile_submissions.label}</td>
84 <td>{$form.remote_profile_submissions.html}<br />
85 <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>
86 </td>
87 </tr>
88 <tr class="crm-miscellaneous-form-block-allow_alert_autodismissal">
89 <td class="label">{$form.allow_alert_autodismissal.label}</td>
90 <td>{$form.allow_alert_autodismissal.html}<br />
91 <p class="description">{ts}If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.{/ts}</p>
92 </td>
93 </tr>
94 </table>
95
96 <h3>{ts}reCAPTCHA Keys{/ts}</h3>
97
98 <div class="description">
99 {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}
100 </div>
101 <table class="form-layout">
102 <tr class="crm-miscellaneous-form-block-recaptchaPublicKey">
103 <td class="label">{$form.recaptchaPublicKey.label}</td>
104 <td>{$form.recaptchaPublicKey.html}</td>
105 </tr>
106 <tr class="crm-miscellaneous-form-block-recaptchaPrivateKey">
107 <td class="label">{$form.recaptchaPrivateKey.label}</td>
108 <td>{$form.recaptchaPrivateKey.html}</td>
109 </tr>
110 <tr class="crm-miscellaneous-form-block-recaptchaOptions">
111 <td class="label">{$form.recaptchaOptions.label}</td>
112 <td>{$form.recaptchaOptions.html}<br />
113 <span class="description">
114 {ts}You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:'blackglass', lang : 'fr' ).{/ts}
115 <br />
116 {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}
117 </span>
118 </td>
119 </tr>
120 <tr class="crm-miscellaneous-form-block-recaptchaPrivateKey">
121 <td class="label">{$form.forceRecaptcha.label}</td>
122 <td>
123 {$form.forceRecaptcha.html}
124 <p class="description">{ts}If enabled, reCAPTCHA will show on all contribution pages.{/ts}</p>
125 </td>
126 </tr>
127 </table>
128 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
129 </div>