drupal-civicrm/sites/all/modules/civicrm/templates/CRM/Admin/Page/Admin.tpl
2018-01-14 13:10:16 +00:00

95 lines
5 KiB
Smarty

{*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| CiviCRM is free software; you can copy, modify, and distribute it |
| under the terms of the GNU Affero General Public License |
| Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
| |
| CiviCRM is distributed in the hope that it will be useful, but |
| WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public |
| License and the CiviCRM Licensing Exception along |
| with this program; if not, contact CiviCRM LLC |
| at info[AT]civicrm[DOT]org. If you have questions about the |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
{* Displays Administer CiviCRM Control Panel *}
{if $newer_civicrm_version}
<div class="messages status no-popup">
<table>
<tr><td class="tasklist">
{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>
</tr>
</table>
</div>
{/if}
<div id="help" class="description section-hidden-border">
{capture assign=plusImg}<img src="{$config->resourceBase}i/TreePlus.gif" alt="{ts}plus sign{/ts}" style="vertical-align: bottom; height: 20px; width: 20px;" />{/capture}
{ts 1=$plusImg}Administer your CiviCRM site using the links on this page. Click %1 for descriptions of the options in each section.{/ts}
</div>
{strip}
<div class="crm-content-block">
{foreach from=$adminPanel key=groupName item=group name=adminLoop}
<div id="id_{$groupName}_show" class="section-hidden{if $smarty.foreach.adminLoop.last eq false} section-hidden-border{/if}">
<table class="form-layout">
<tr>
<td width="20%" class="font-size11pt" style="vertical-align: top;">{$group.show} {$group.title}</td>
<td width="80%" style="white-space: nowrap;;">
<table class="form-layout" width="100%">
<tr>
<td width="50%" style="padding: 0px;">
{foreach from=$group.fields item=panelItem key=panelName name=groupLoop}
&raquo;&nbsp;<a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="idc_{$panelItem.id}">{$panelItem.title}</a><br />
{if $smarty.foreach.groupLoop.iteration EQ $group.perColumn}
</td><td width="50%" style="padding: 0px;">
{/if}
{/foreach}
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div id="id_{$groupName}">
<fieldset><legend><strong>{$group.hide}{$group.title}</strong></legend>
<table class="form-layout">
{foreach from=$group.fields item=panelItem key=panelName name=groupLoop}
<tr class="{cycle values="odd-row,even-row" name=$groupName}">
<td style="vertical-align: top; width:24px;">
<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>
</td>
<td class="report font-size11pt" style="vertical-align: text-top;" width="20%">
<a href="{$panelItem.url}"{if $panelItem.extra} {$panelItem.extra}{/if} id="id_{$panelItem.id}">{$panelItem.title}</a>
</td>
<td class="description" style="vertical-align: text-top;" width="75%">
{$panelItem.desc}
</td>
</tr>
{/foreach}
</table>
</fieldset>
</div>
{/foreach}
{/strip}
{* Include Javascript to hide and display the appropriate blocks as directed by the php code *}
{include file="CRM/common/showHide.tpl"}
</div>