Merge pull request #18662 from eileenmcnaughton/blockdel2
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Debugging.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
f6eedce7 10<div class="help">
d05f3550 11 {ts}In addition to the settings on this screen, there are a number of settings you can add to your sites's settings file (civicrm.settings.php) to provide additional debugging information.{/ts} {docURL page="dev/tools/debugging/#changing-file-based-settings"}
6a488035 12</div>
2c3c9a71 13<div class="crm-block crm-form-block crm-debugging-form-block">
6a488035
TO
14<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
15 <table class="form-layout">
6a488035
TO
16 {if $form.userFrameworkLogging}
17 <tr class="crm-debugging-form-block-userFrameworkLogging">
18 <td class="label">{$form.userFrameworkLogging.label}</td>
19 <td>{$form.userFrameworkLogging.html}<br />
0b2bdd13 20 <span class="description">{ts}Set this value to <strong>Yes</strong> if you want CiviCRM error/debugging messages to appear in the Drupal error logs{/ts} {help id='userFrameworkLogging'}</span></td>
6a488035
TO
21 </tr>
22 {/if}
0b2bdd13
J
23 <tr class="crm-debugging-form-block-debug">
24 <td class="label">{$form.debug_enabled.label}</td>
25 <td>{$form.debug_enabled.html}<br />
26 <span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to use one of CiviCRM's debugging tools.{/ts} {help id='debug'}</span></td>
27 </tr>
6a488035
TO
28 <tr class="crm-debugging-form-block-backtrace">
29 <td class="label">{$form.backtrace.label}</td>
30 <td>{$form.backtrace.html}<br />
0b2bdd13 31 <span class="description">{ts}<strong>This feature should NOT be enabled for production sites.</strong><br />Set this value to <strong>Yes</strong> if you want to display a backtrace listing when a fatal error is encountered.{/ts}</span></td>
6a488035 32 </tr>
f008885c
E
33 <tr class="crm-debugging-form-block-environment">
34 <td class="label">{$form.environment.label}</td>
35 <td>{$form.environment.html}<br />
36 <span class="description">{ts}Set this value to <strong>Staging/Development</strong> to prevent cron jobs & mailings from being executed.{/ts}</span></td>
37 </tr>
6a488035
TO
38 <tr class="crm-debugging-form-block-fatalErrorHandler">
39 <td class="label">{$form.fatalErrorHandler.label}</td>
40 <td>{$form.fatalErrorHandler.html}<br />
41 <span class="description">{ts}Enter the path and class for a custom PHP error-handling function if you want to override built-in CiviCRM error handling for your site.{/ts}</span></td>
42 </tr>
e7b8261d
TO
43 <tr class="crm-debugging-form-block-assetCache">
44 <td class="label">{$form.assetCache.label}</td>
45 <td>{$form.assetCache.html}<br />
46 <span class="description">{ts}Store computed JS/CSS content in cache files? (Note: In "Auto" mode, the "Debug" setting will determine whether to activate the cache.){/ts}</span></td>
47 </tr>
6a488035
TO
48 </table>
49 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
50<div class="spacer"></div>
51</div>