Changeset 2288 for WAeUP_SRP/base/skins


Ignore:
Timestamp:
28 Sep 2007, 08:21:20 (17 years ago)
Author:
Henrik Bettermann
Message:

security setting for config_form simplified

Location:
WAeUP_SRP/base/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/cps_custom/config_form.pt

    r2275 r2288  
    1 <tal:block condition="nothing">$Id: config_form.pt 33523 2006-02-27 16:17:45Z fguillaume $</tal:block>
    2 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
    3       xmlns:metal="http://xml.zope.org/namespaces/metal"
    4       xmlns="http://www.w3.org/1999/xhtml"
    5       metal:use-macro="here/main_template/macros/master">
    6 <body>
     1<metal:html>
    72
    8 <metal:block fill-slot="head_slot">
    9  <tal:block define="dummy python:request.set('breadcrumb_set',
    10     [{
    11       'id': 'config_form',
    12       'url': '%sconfig_form' % base_url,
    13       'title': cpsmcat('heading_reconfig_portal'),
    14     },
    15    ]);" />
    16 </metal:block>
     3<span tal:condition="not: context/isSectionOfficer">
     4  <span tal:content="here/illegal_view" />
     5</span>
    176
     7<metal:block tal:condition="context/isSectionOfficer">
     8<metal:body use-macro="here/main_template/macros/master">
    189<metal:header fill-slot="header"
    1910              tal:define="mtool here/portal_membership;
    2011                          checkPerm nocall:mtool/checkPermission;">
    21   <h3 i18n:translate="heading_reconfig_portal">Configure Portal</h3>
    22   <tal:block condition="python:not checkPerm('Manage Portlets', here)">
    23     <tal:block define="dummy request/RESPONSE/unauthorized" />
    24   </tal:block>
     12  <h3>Configure Portal</h3>
    2513</metal:header>
    26 
    2714<metal:main fill-slot="main">
    2815  <form action="" method="post"
     
    10592  </form>
    10693
    107 
    108 
    109 
    11094</metal:main>
    111 </body>
    112 </html>
     95</metal:body>
     96</metal:block>
     97</metal:html>
  • WAeUP_SRP/base/skins/waeup_student/application_slip.pt

    r1783 r2288  
    33                tal:define="info context/getApplicationInfo">
    44      <span tal:condition="not: info">
    5         <span tal:content="here/illegal_view" />w
     5        <span tal:content="here/illegal_view" />
    66      </span>
    77      <span tal:condition="info">
Note: See TracChangeset for help on using the changeset viewer.