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"> | |
28 | {foreach from=$adminPanel key=groupName item=group name=adminLoop} | |
b8583ff8 | 29 | <div id="id_{$groupName}_show" class="section-hidden{if $smarty.foreach.adminLoop.last eq false} section-hidden-border{/if}"> |
6a488035 TO |
30 | <table class="form-layout"> |
31 | <tr> | |
32 | <td width="20%" class="font-size11pt" style="vertical-align: top;">{$group.show} {$group.title}</td> | |
fe7f4414 | 33 | <td width="80%" style="white-space: nowrap;"> |
6a488035 TO |
34 | |
35 | <table class="form-layout" width="100%"> | |
36 | <tr> | |
37 | <td width="50%" style="padding: 0px;"> | |
38 | {foreach from=$group.fields item=panelItem key=panelName name=groupLoop} | |
39 | » <a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="idc_{$panelItem.id}">{$panelItem.title}</a><br /> | |
40 | {if $smarty.foreach.groupLoop.iteration EQ $group.perColumn} | |
41 | </td><td width="50%" style="padding: 0px;"> | |
42 | {/if} | |
43 | {/foreach} | |
44 | </td> | |
45 | </tr> | |
46 | </table> | |
47 | </td> | |
48 | </tr> | |
49 | </table> | |
50 | </div> | |
51 | ||
52 | <div id="id_{$groupName}"> | |
53 | <fieldset><legend><strong>{$group.hide}{$group.title}</strong></legend> | |
54 | <table class="form-layout"> | |
55 | ||
56 | {foreach from=$group.fields item=panelItem key=panelName name=groupLoop} | |
57 | <tr class="{cycle values="odd-row,even-row" name=$groupName}"> | |
58 | <td style="vertical-align: top; width:24px;"> | |
f03ef825 | 59 | <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 |
60 | </td> |
61 | <td class="report font-size11pt" style="vertical-align: text-top;" width="20%"> | |
62 | <a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="id_{$panelItem.id}">{$panelItem.title}</a> | |
63 | </td> | |
64 | <td class="description" style="vertical-align: text-top;" width="75%"> | |
65 | {$panelItem.desc} | |
66 | </td> | |
67 | </tr> | |
68 | {/foreach} | |
69 | ||
70 | </table> | |
71 | </fieldset> | |
72 | </div> | |
73 | {/foreach} | |
74 | {/strip} | |
75 | ||
76 | {* Include Javascript to hide and display the appropriate blocks as directed by the php code *} | |
77 | {include file="CRM/common/showHide.tpl"} | |
78 | </div> |