Commit | Line | Data |
---|---|---|
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 | *} | |
6a488035 TO |
10 | {if $action eq 1 or $action eq 2 or $action eq 8} |
11 | {include file="CRM/Admin/Form/PreferencesDate.tpl"} | |
12 | {else} | |
b5323902 CW |
13 | <div class="help"> |
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} | |
16 | </div> | |
6a488035 TO |
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> | |
25 | <th ></th> | |
26 | </tr> | |
27 | {foreach from=$rows item=row} | |
28 | <tr class="{cycle values="odd-row,even-row"} {$row.class}"> | |
29 | <td>{$row.name}</td> | |
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> | |
35 | </tr> | |
36 | {/foreach} | |
37 | </table> | |
38 | </div> | |
232624b1 | 39 | {/if} |