2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
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 |
8 +--------------------------------------------------------------------+
10 {if $action eq 1 or $action eq 2 or $action eq 8}
11 {include file="CRM/Admin/Form/PreferencesDate.tpl"}
14 {capture assign=crmURL}{crmURL p='civicrm/admin/setting/date' q='action=reset=1'}{/capture}
15 {ts 1=$crmURL}Changing the parameters here affects the input and display for specific fields types. Setting the default date format for the entire site is a Localisation setting. See <a href="%1">Administer > Localization > Date Formats</a>{/ts}
17 <div class="form-item">
18 <table cellpadding="0" cellspacing="0" border="0">
19 <tr class="columnheader">
20 <th >{ts}Date Class{/ts}</th>
21 <th >{ts}Description{/ts}</th>
22 <th >{ts}Date Format{/ts}</th>
23 <th >{ts}Start Offset{/ts}</th>
24 <th >{ts}End Offset{/ts}</th>
27 {foreach from=$rows item=row}
28 <tr class="{cycle values="odd-row,even-row"} {$row.class}">
30 <td>{$row.description}</td>
31 <td class="nowrap">{if !$row.date_format}{ts}Default{/ts}{else}{$row.date_format}{/if}</td>
32 <td align="right">{$row.start}</td>
33 <td align="right">{$row.end}</td>
34 <td><span>{$row.action|replace:'xx':$row.id}</span></td>