| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.7 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
| 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 | {* Displays Administer CiviCRM Control Panel *} |
| 27 | {if $newer_civicrm_version} |
| 28 | <div class="messages status no-popup"> |
| 29 | <table> |
| 30 | <tr><td class="tasklist"> |
| 31 | {ts 1='https://civicrm.org/register-site'}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> |
| 32 | </tr> |
| 33 | </table> |
| 34 | </div> |
| 35 | {/if} |
| 36 | |
| 37 | <div id="help" class="description section-hidden-border"> |
| 38 | {capture assign=plusImg}<img src="{$config->resourceBase}i/TreePlus.gif" alt="{ts}plus sign{/ts}" style="vertical-align: bottom; height: 20px; width: 20px;" />{/capture} |
| 39 | {ts 1=$plusImg}Administer your CiviCRM site using the links on this page. Click %1 for descriptions of the options in each section.{/ts} |
| 40 | </div> |
| 41 | |
| 42 | {strip} |
| 43 | <div class="crm-content-block"> |
| 44 | {foreach from=$adminPanel key=groupName item=group name=adminLoop} |
| 45 | <div id="id_{$groupName}_show" class="section-hidden{if $smarty.foreach.adminLoop.last eq false} section-hidden-border{/if}"> |
| 46 | <table class="form-layout"> |
| 47 | <tr> |
| 48 | <td width="20%" class="font-size11pt" style="vertical-align: top;">{$group.show} {$group.title}</td> |
| 49 | <td width="80%" style="white-space: nowrap;;"> |
| 50 | |
| 51 | <table class="form-layout" width="100%"> |
| 52 | <tr> |
| 53 | <td width="50%" style="padding: 0px;"> |
| 54 | {foreach from=$group.fields item=panelItem key=panelName name=groupLoop} |
| 55 | » <a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="idc_{$panelItem.id}">{$panelItem.title}</a><br /> |
| 56 | {if $smarty.foreach.groupLoop.iteration EQ $group.perColumn} |
| 57 | </td><td width="50%" style="padding: 0px;"> |
| 58 | {/if} |
| 59 | {/foreach} |
| 60 | </td> |
| 61 | </tr> |
| 62 | </table> |
| 63 | </td> |
| 64 | </tr> |
| 65 | </table> |
| 66 | </div> |
| 67 | |
| 68 | <div id="id_{$groupName}"> |
| 69 | <fieldset><legend><strong>{$group.hide}{$group.title}</strong></legend> |
| 70 | <table class="form-layout"> |
| 71 | |
| 72 | {foreach from=$group.fields item=panelItem key=panelName name=groupLoop} |
| 73 | <tr class="{cycle values="odd-row,even-row" name=$groupName}"> |
| 74 | <td style="vertical-align: top; width:24px;"> |
| 75 | <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}"/></a> |
| 76 | </td> |
| 77 | <td class="report font-size11pt" style="vertical-align: text-top;" width="20%"> |
| 78 | <a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="id_{$panelItem.id}">{$panelItem.title}</a> |
| 79 | </td> |
| 80 | <td class="description" style="vertical-align: text-top;" width="75%"> |
| 81 | {$panelItem.desc} |
| 82 | </td> |
| 83 | </tr> |
| 84 | {/foreach} |
| 85 | |
| 86 | </table> |
| 87 | </fieldset> |
| 88 | </div> |
| 89 | {/foreach} |
| 90 | {/strip} |
| 91 | |
| 92 | {* Include Javascript to hide and display the appropriate blocks as directed by the php code *} |
| 93 | {include file="CRM/common/showHide.tpl"} |
| 94 | </div> |