CRM-16373 - Path, URL Admin - Explain variables
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Path.tpl
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-path-form-block">
27 <div id="help">
28 <p>
29 {ts}You may configure these upload directories using absolute paths or path variables.{/ts}
30 {help id='id-path_vars'}
31 </p>
32 <p>
33 {ts}If you modify the defaults, make sure that your web server has write access to the directories.{/ts}
34 </p>
35
36 </div>
37 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
38 <table class="form-layout">
39 <tr class="crm-path-form-block-uploadDir">
40 <td class="label">{$form.uploadDir.label}</td>
41 <td>{$form.uploadDir.html|crmAddClass:'huge40'}<br />
42 <span class="description">{ts}File system path where temporary CiviCRM files - such as import data files - are uploaded.{/ts}</span>
43 </td>
44 </tr>
45 <tr class="crm-path-form-block-imageUploadDir">
46 <td class="label">{$form.imageUploadDir.label}</td>
47 <td>{$form.imageUploadDir.html|crmAddClass:'huge40'}<br />
48 <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>
49 </td>
50 </tr>
51 <tr class="crm-path-form-block-customFileUploadDir">
52 <td class="label">{$form.customFileUploadDir.label}</td>
53 <td>{$form.customFileUploadDir.html|crmAddClass:'huge40'}<br />
54 <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>
55 </td>
56 </tr>
57 <tr class="crm-path-form-block-customTemplateDir">
58 <td class="label">{$form.customTemplateDir.label}</td>
59 <td>{$form.customTemplateDir.html|crmAddClass:'huge40'}<br />
60 <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 />
61 <span class="description">{ts}CiviCase configuration files can also be stored in this custom path.{/ts} {docURL page="user/case-management/setup"}</span>
62 </td>
63 </tr>
64 <tr class="crm-path-form-block-customPHPPathDir">
65 <td class="label">{$form.customPHPPathDir.label}</td>
66 <td>{$form.customPHPPathDir.html|crmAddClass:'huge40'}<br />
67 <span class="description">{ts}Path where site specific PHP code files are stored if any. This directory is searched first if set.{/ts}</span>
68 </td>
69 </tr>
70 <tr class="crm-path-form-block-extensionsDir">
71 <td class="label">{$form.extensionsDir.label}</td>
72 <td>{$form.extensionsDir.html|crmAddClass:'huge40'}<br />
73 <span class="description">{ts}Path where CiviCRM extensions are stored.{/ts}</span>
74 </td>
75 </tr>
76 </table>
77 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
78 </div>