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 | *} | |
10 | {* Displays Administer CiviCRM Control Panel *} | |
11 | {if $newer_civicrm_version} | |
12 | <div class="messages status no-popup"> | |
13 | <table> | |
14 | <tr><td class="tasklist"> | |
34441ede | 15 | {ts 1=$registerSite}Have you registered this site at CiviCRM.org? If not, please help strengthen the CiviCRM ecosystem by taking a few minutes to <a href="%1" target="_blank">fill out the site registration form</a>. The information collected will help us prioritize improvements, target our communications and build the community. If you have a technical role for this site, be sure to check "Keep in Touch" to receive technical updates (a low volume mailing list).{/ts}</td> |
6a488035 TO |
16 | </tr> |
17 | </table> | |
18 | </div> | |
19 | {/if} | |
20 | ||
21 | <div id="help" class="description section-hidden-border"> | |
22 | {capture assign=plusImg}<img src="{$config->resourceBase}i/TreePlus.gif" alt="{ts}plus sign{/ts}" style="vertical-align: bottom; height: 20px; width: 20px;" />{/capture} | |
23 | {ts 1=$plusImg}Administer your CiviCRM site using the links on this page. Click %1 for descriptions of the options in each section.{/ts} | |
24 | </div> | |
25 | ||
26 | {strip} | |
27 | <div class="crm-content-block"> | |
881a0dfa AH |
28 | {foreach from=$adminPanel key=groupName item=group} |
29 | <div id="admin-section-{$groupName}"> | |
30 | <h3>{$group.title}</h3> | |
31 | <div class="admin-section-items"> | |
32 | {foreach from=$group.fields item=panelItem key=panelName} | |
33 | <dl> | |
34 | <dt><a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="id_{$panelItem.id}">{$panelItem.title}</a></dt> | |
35 | <dd>{$panelItem.desc}</dd> | |
36 | </dl> | |
37 | {/foreach} | |
38 | </div> | |
39 | </div> | |
40 | {/foreach} | |
6a488035 | 41 | {foreach from=$adminPanel key=groupName item=group name=adminLoop} |
b8583ff8 | 42 | <div id="id_{$groupName}_show" class="section-hidden{if $smarty.foreach.adminLoop.last eq false} section-hidden-border{/if}"> |
6a488035 TO |
43 | <table class="form-layout"> |
44 | <tr> | |
45 | <td width="20%" class="font-size11pt" style="vertical-align: top;">{$group.show} {$group.title}</td> | |
fe7f4414 | 46 | <td width="80%" style="white-space: nowrap;"> |
6a488035 TO |
47 | |
48 | <table class="form-layout" width="100%"> | |
49 | <tr> | |
50 | <td width="50%" style="padding: 0px;"> | |
51 | {foreach from=$group.fields item=panelItem key=panelName name=groupLoop} | |
7e0b0be6 | 52 | <i class="crm-i fa-chevron-right"></i> <a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="idc_{$panelItem.id}">{$panelItem.title}</a><br /> |
6a488035 TO |
53 | {if $smarty.foreach.groupLoop.iteration EQ $group.perColumn} |
54 | </td><td width="50%" style="padding: 0px;"> | |
55 | {/if} | |
56 | {/foreach} | |
57 | </td> | |
58 | </tr> | |
59 | </table> | |
60 | </td> | |
61 | </tr> | |
62 | </table> | |
63 | </div> | |
64 | ||
65 | <div id="id_{$groupName}"> | |
66 | <fieldset><legend><strong>{$group.hide}{$group.title}</strong></legend> | |
67 | <table class="form-layout"> | |
68 | ||
69 | {foreach from=$group.fields item=panelItem key=panelName name=groupLoop} | |
70 | <tr class="{cycle values="odd-row,even-row" name=$groupName}"> | |
71 | <td style="vertical-align: top; width:24px;"> | |
f03ef825 | 72 | <a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} ><img src="{$config->resourceBase}i/{if $panelItem.icon}{$panelItem.icon}{else}admin/small/option.png{/if}" alt="{$panelItem.title|escape}"/></a> |
6a488035 TO |
73 | </td> |
74 | <td class="report font-size11pt" style="vertical-align: text-top;" width="20%"> | |
75 | <a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="id_{$panelItem.id}">{$panelItem.title}</a> | |
76 | </td> | |
77 | <td class="description" style="vertical-align: text-top;" width="75%"> | |
78 | {$panelItem.desc} | |
79 | </td> | |
80 | </tr> | |
81 | {/foreach} | |
82 | ||
83 | </table> | |
84 | </fieldset> | |
85 | </div> | |
86 | {/foreach} | |
87 | {/strip} | |
88 | ||
89 | {* Include Javascript to hide and display the appropriate blocks as directed by the php code *} | |
90 | {include file="CRM/common/showHide.tpl"} | |
91 | </div> |