Merge pull request #15790 from civicrm/5.20
[civicrm-core.git] / templates / CRM / Admin / Form / Setting / Date.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2020 |
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 {capture assign=crmURL}{crmURL p='civicrm/admin/setting/preferences/date' q='action=reset=1'}{/capture}
28 {ts 1=$crmURL}Use this screen to configure default formats for date display and date input fields throughout your site. Settings use standard POSIX specifiers. New installations are preconfigured with standard United States formats. You can override this default setting and define the range of allowed dates for specific field types at <a href="%1">Administer > Customize Data and Screens > Date Preferences</a>{/ts} {help id='date-format'}
29 </div>
30 <div class="crm-block crm-form-block crm-date-form-block">
31 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
32 <fieldset><legend>{ts}Date Display{/ts}</legend>
33 <table class="form-layout-compressed">
34 <tr class="crm-date-form-block-dateformatDatetime">
35 <td class="label">{$form.dateformatDatetime.label}</td>
36 <td>{$form.dateformatDatetime.html}</td>
37 </tr>
38 <tr class="crm-date-form-block-dateformatFull">
39 <td class="label">{$form.dateformatFull.label}</td>
40 <td>{$form.dateformatFull.html}</td>
41 </tr>
42 <tr class="crm-date-form-block-dateformatPartial">
43 <td class="label">{$form.dateformatPartial.label}</td>
44 <td>{$form.dateformatPartial.html}</td>
45 </tr>
46 <tr class="crm-date-form-block-dateformatYear">
47 <td class="label">{$form.dateformatYear.label}</td>
48 <td>{$form.dateformatYear.html}</td>
49 </tr>
50 <tr class="crm-date-form-block-dateformatTime">
51 <td class="label">{$form.dateformatTime.label}</td>
52 <td>{$form.dateformatTime.html}</td>
53 </tr>
54 <tr class="crm-date-form-block-dateformatTime">
55 <td class="label">{$form.dateformatFinancialBatch.label}</td>
56 <td>{$form.dateformatFinancialBatch.html}</td>
57 </tr>
58 <tr class="crm-date-form-block-dateformatTime">
59 <td class="label">{$form.dateformatshortdate.label}</td>
60 <td>{$form.dateformatshortdate.html}</td>
61 </tr>
62 </table>
63 </fieldset>
64 <fieldset><legend>{ts}Date Input Fields{/ts}</legend>
65 <table class="form-layout-compressed">
66 <tr class="crm-date-form-block-dateInputFormat">
67 <td class="label">{$form.dateInputFormat.label}</td>
68 <td>{$form.dateInputFormat.html}</td>
69 </tr>
70 <tr class="crm-date-form-block-timeInputFormat">
71 <td class="label">{$form.timeInputFormat.label}</td>
72 <td>{$form.timeInputFormat.html}</td>
73 </tr>
74 </table>
75 </fieldset>
76 <fieldset><legend>{ts}Calendar{/ts}</legend>
77 <table class="form-layout-compressed">
78 <tr class="crm-date-form-block-weekBegins">
79 <td class="label">{$form.weekBegins.label}</td>
80 <td>{$form.weekBegins.html}</td>
81 </tr>
82 <tr class="crm-date-form-block-fiscalYearStart">
83 <td class="label">{$form.fiscalYearStart.label}</td>
84 <td>{$form.fiscalYearStart.html}</td>
85 </tr>
86 </table>
87 </fieldset>
88 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
89 <div class="spacer"></div>
90 </div>