| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.7 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
| 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 | <table class="form-layout"> |
| 29 | <tr class="crm-miscellaneous-form-block-dashboardCacheTimeout"> |
| 30 | <td class="label">{$form.dashboardCacheTimeout.label}</td> |
| 31 | <td>{$form.dashboardCacheTimeout.html}<br /> |
| 32 | <span class="description">{ts}The number of minutes to cache dashlet content on dashboard.{/ts}</span></td> |
| 33 | </tr> |
| 34 | </table> |
| 35 | |
| 36 | <table class="form-layout"> |
| 37 | <tr class="crm-miscellaneous-form-block-checksumTimeout"> |
| 38 | <td class="label">{$form.checksumTimeout.label}</td> |
| 39 | <td>{$form.checksumTimeout.html}<br /> |
| 40 | <span class="description">{ts}The number of days before a personalized (hashed) link will expire.{/ts}</span></td> |
| 41 | </tr> |
| 42 | </table> |
| 43 | |
| 44 | <table class="form-layout"> |
| 45 | <tr class="crm-miscellaneous-form-block-contact_undelete"> |
| 46 | <td class="label">{$form.contact_undelete.label}</td> |
| 47 | <td> |
| 48 | {$form.contact_undelete.html}<br /> |
| 49 | <p class="description">{ts}{$contact_undelete_description}{/ts}</p> |
| 50 | </td> |
| 51 | </tr> |
| 52 | <tr class="crm-miscellaneous-form-block-logging"> |
| 53 | <td class="label">{$form.logging.label}</td> |
| 54 | <td> |
| 55 | {$form.logging.html}<br /> |
| 56 | {if $validTriggerPermission} |
| 57 | <p class="description">{ts}If enabled, all actions will be logged with a complete record of changes.{/ts}</p> |
| 58 | {else} |
| 59 | <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} {ts}This functionality cannot be enabled on multilingual installations.{/ts}</p> |
| 60 | {/if} |
| 61 | </td> |
| 62 | </tr> |
| 63 | <tr class="crm-miscellaneous-form-block-doNotAttachPDFReceipt"> |
| 64 | <td class="label">{$form.doNotAttachPDFReceipt.label}</td> |
| 65 | <td>{$form.doNotAttachPDFReceipt.html}<br /> |
| 66 | <p class="description">{ts}If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.{/ts}</p> |
| 67 | </td> |
| 68 | </tr> |
| 69 | <tr class="crm-miscellaneous-form-block-wkhtmltopdfPath"> |
| 70 | <td class="label">{$form.wkhtmltopdfPath.label}</td> |
| 71 | <td>{$form.wkhtmltopdfPath.html}<br /> |
| 72 | <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> |
| 73 | </td> |
| 74 | </tr> |
| 75 | <tr class="crm-miscellaneous-form-block-versionCheck"> |
| 76 | <td class="label">{$form.versionCheck.label}</td> |
| 77 | <td>{$form.versionCheck.html}<br /> |
| 78 | <p class="description">{ts}When enabled, statistics about your CiviCRM installation are reported anonymously to the CiviCRM team to assist in prioritizing ongoing development efforts. The following information is gathered: CiviCRM version, versions of PHP, MySQL and framework (Drupal/Joomla/standalone), and default language. Counts (but no actual data) of the following record types are reported: contacts, activities, cases, relationships, contributions, contribution pages, contribution products, contribution widgets, discounts, price sets, profiles, events, participants, tell-a-friend pages, grants, mailings, memberships, membership blocks, pledges, pledge blocks and active payment processor types.{/ts}</p></td> |
| 79 | </tr> |
| 80 | <tr class="crm-miscellaneous-form-block-versionCheckIgnoreDate"> |
| 81 | <td class="label">{$form.versionCheckIgnoreDate.label}</td> |
| 82 | <td>{$form.versionCheckIgnoreDate.html|crmReplace:type:date}<br /> |
| 83 | <p class="description">{ts}If you wish to stop receiving alerts about a current update (for example, if you have applied a security patch manually), set this to today's date.{/ts}</p></td> |
| 84 | </tr> |
| 85 | <tr class="crm-miscellaneous-form-block-securityUpdateAlert"> |
| 86 | <td class="label">{$form.securityUpdateAlert.label}</td> |
| 87 | <td>{$form.securityUpdateAlert.html}<br /> |
| 88 | <p class="description">{ts}Alert site admins about security advisories. <strong>Strongly recommended.</strong>{/ts}</p></td> |
| 89 | </tr> |
| 90 | <tr class="crm-miscellaneous-form-block-versionAlert"> |
| 91 | <td class="label">{$form.versionAlert.label}</td> |
| 92 | <td>{$form.versionAlert.html}<br /> |
| 93 | <p class="description">{ts}Alert site admins about all new CiviCRM releases.{/ts}</p></td> |
| 94 | </tr> |
| 95 | <tr class="crm-miscellaneous-form-block-empoweredBy"> |
| 96 | <td class="label">{$form.empoweredBy.label}</td> |
| 97 | <td>{$form.empoweredBy.html}<br /> |
| 98 | <p class="description">{ts}When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.{/ts}</p></td> |
| 99 | </tr> |
| 100 | <tr class="crm-miscellaneous-form-block-max_attachments"> |
| 101 | <td class="label">{$form.max_attachments.label}</td> |
| 102 | <td>{$form.max_attachments.html}<br /> |
| 103 | <span class="description">{ts}Maximum number of files (documents, images, etc.) which can attached to emails or activities.{/ts}</span></td> |
| 104 | </tr> |
| 105 | <tr class="crm-miscellaneous-form-block-maxFileSize"> |
| 106 | <td class="label">{$form.maxFileSize.label}</td> |
| 107 | <td>{$form.maxFileSize.html}<br /> |
| 108 | <span class="description">{$maxFileSize_description}</span></td> |
| 109 | </tr> |
| 110 | <tr class="crm-miscellaneous-form-block-secondDegRelPermissions"> |
| 111 | <td class="label">{$form.secondDegRelPermissions.label}</td> |
| 112 | <td>{$form.secondDegRelPermissions.html}<br /> |
| 113 | <p class="description">{ts}If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts.{/ts}</p> |
| 114 | </td> |
| 115 | </tr> |
| 116 | |
| 117 | </table> |
| 118 | <h3>{ts}reCAPTCHA Keys{/ts}</h3> |
| 119 | <div class="description"> |
| 120 | {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} |
| 121 | </div> |
| 122 | <table class="form-layout"> |
| 123 | <tr class="crm-miscellaneous-form-block-recaptchaPublicKey"> |
| 124 | <td class="label">{$form.recaptchaPublicKey.label}</td> |
| 125 | <td>{$form.recaptchaPublicKey.html}</td> |
| 126 | </tr> |
| 127 | <tr class="crm-miscellaneous-form-block-recaptchaPrivateKey"> |
| 128 | <td class="label">{$form.recaptchaPrivateKey.label}</td> |
| 129 | <td>{$form.recaptchaPrivateKey.html}</td> |
| 130 | </tr> |
| 131 | <tr class="crm-miscellaneous-form-block-recaptchaOptions"> |
| 132 | <td class="label">{$form.recaptchaOptions.label}</td> |
| 133 | <td>{$form.recaptchaOptions.html}<br /> |
| 134 | <span class="description"> |
| 135 | {ts}You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:'blackglass', lang : 'fr' ).{/ts} |
| 136 | <br /> |
| 137 | {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} |
| 138 | </span> |
| 139 | </td> |
| 140 | </tr> |
| 141 | </table> |
| 142 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> |
| 143 | </div> |
| 144 | {literal} |
| 145 | <script type="text/javascript"> |
| 146 | CRM.$(function($) { |
| 147 | 'use strict'; |
| 148 | $('input[name=versionCheck][value=0]').change(function() { |
| 149 | if ($(this).is(':checked')) { |
| 150 | CRM.confirm({message: {/literal}"{ts escape='js'}Disabling this option will prevent CiviCRM from checking for important security updates. Are you sure?{/ts}"{literal}}) |
| 151 | .on('crmConfirm:no', function() { |
| 152 | $('input[name=versionCheck][value=0]').prop('checked', false); |
| 153 | $('input[name=versionCheck][value=1]').prop('checked', true); |
| 154 | }) |
| 155 | } |
| 156 | }); |
| 157 | $('select[name=securityUpdateAlert]').change(function() { |
| 158 | if ($(this).val() == '0') { |
| 159 | CRM.confirm({message: {/literal}"{ts escape='js'}Disabling this option will prevent CiviCRM from checking for important security updates. Are you sure?{/ts}"{literal}}) |
| 160 | .on('crmConfirm:no', function() { |
| 161 | $('select[name=securityUpdateAlert]').val('3'); |
| 162 | }) |
| 163 | } |
| 164 | }); |
| 165 | }); |
| 166 | </script> |
| 167 | {/literal} |