Merge pull request #13158 from elisseck/dev/core/544
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Path.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="help">
27 <p>
28 {ts}You may configure these upload directories using absolute paths or path variables.{/ts}
29 {help id='id-path_vars'}
30 </p>
31 <p>
32 {ts}If you modify the defaults, make sure that your web server has write access to the directories.{/ts}
33 </p>
34 </div>
35 <div class="crm-block crm-form-block crm-path-form-block">
36 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
37 <table class="form-layout">
38 <tr class="crm-path-form-block-uploadDir">
39 <td class="label">{$form.uploadDir.label}</td>
40 <td>{$form.uploadDir.html|crmAddClass:'huge40'}<br />
41 <span class="description">{ts}File system path where temporary CiviCRM files - such as import data files - are uploaded.{/ts}</span>
42 </td>
43 </tr>
44 <tr class="crm-path-form-block-imageUploadDir">
45 <td class="label">{$form.imageUploadDir.label}</td>
46 <td>{$form.imageUploadDir.html|crmAddClass:'huge40'}<br />
47 <span class="description">{ts}File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).{/ts}</span>
48 </td>
49 </tr>
50 <tr class="crm-path-form-block-customFileUploadDir">
51 <td class="label">{$form.customFileUploadDir.label}</td>
52 <td>{$form.customFileUploadDir.html|crmAddClass:'huge40'}<br />
53 <span class="description">{ts}Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using 'file' type custom fields.{/ts}</span>
54 </td>
55 </tr>
56 <tr class="crm-path-form-block-customTemplateDir">
57 <td class="label">{$form.customTemplateDir.label}</td>
58 <td>{$form.customTemplateDir.html|crmAddClass:'huge40'}<br />
59 <span class="description">{ts}Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named <em>templateFile.extra.tpl</em>.{/ts} {docURL page="Customize Built-in Screens" resource="wiki"}</span><br />
60 <span class="description">{ts}CiviCase configuration files can also be stored in this custom path.{/ts} {docURL page="user/case-management/set-up"}</span>
61 </td>
62 </tr>
63 <tr class="crm-path-form-block-customPHPPathDir">
64 <td class="label">{$form.customPHPPathDir.label}</td>
65 <td>{$form.customPHPPathDir.html|crmAddClass:'huge40'}<br />
66 <span class="description">{ts}Path where site specific PHP code files are stored if any. This directory is searched first if set.{/ts}</span>
67 </td>
68 </tr>
69 <tr class="crm-path-form-block-extensionsDir">
70 <td class="label">{$form.extensionsDir.label}</td>
71 <td>{$form.extensionsDir.html|crmAddClass:'huge40'}<br />
72 <span class="description">{ts}Path where CiviCRM extensions are stored.{/ts}</span>
73 </td>
74 </tr>
75 </table>
76 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
77 </div>