60 lines
2.1 KiB
XML
60 lines
2.1 KiB
XML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
|
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
|
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
|
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
|
i18n:domain="plone">
|
|
<body>
|
|
<metal:portlet define-macro="portlet"
|
|
tal:define="controlPanel python:modules['Products.CMFCore.utils'].getToolByName(here, 'portal_controlpanel');
|
|
groups python:controlPanel.getGroups('site');
|
|
getIconFor nocall:putils/getIconFor">
|
|
|
|
|
|
<div class="visualPadding">
|
|
|
|
<dl class="portlet"
|
|
id="portlet-prefs">
|
|
<dt class="portletHeader">
|
|
<span class="portletTopLeft"></span>
|
|
<a href=""
|
|
tal:attributes="href string:${portal_url}/plone_control_panel"
|
|
i18n:translate="heading_control_panel">Site Setup</a>
|
|
<span class="portletTopRight"></span>
|
|
</dt>
|
|
|
|
<dd class="portletItem"
|
|
tal:repeat="group groups">
|
|
|
|
<tal:block tal:define="configlets python:controlPanel.enumConfiglets(group=group['id'])"
|
|
tal:condition="configlets">
|
|
<strong tal:content="group/title"
|
|
i18n:translate="">Plone Configlet Group Title</strong>
|
|
<ul class="configlets">
|
|
|
|
<li tal:repeat="configlet configlets">
|
|
<a href=""
|
|
tal:attributes="href configlet/url"
|
|
tal:condition="configlet/visible">
|
|
<img src="" alt="" tal:attributes="src python:'%s/%s' % (portal_url, getIconFor('controlpanel',configlet['id']));
|
|
alt configlet/description"
|
|
i18n:attributes="alt"
|
|
tal:on-error="string:" />
|
|
<tal:configletname tal:content="configlet/title"
|
|
i18n:translate=""></tal:configletname>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</tal:block>
|
|
<span class="portletBottomLeft"></span>
|
|
<span class="portletBottomRight"></span>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
|
</metal:portlet>
|
|
</body>
|
|
</html>
|