Changeset 4032


Ignore:
Timestamp:
27 Mar 2009, 07:05:02 (16 years ago)
Author:
Henrik Bettermann
Message:

enhance security

Location:
WAeUP_SRP/trunk/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_futminna/id_card_demo.pt

    r4030 r4032  
    22  <metal:main fill-slot="main"
    33              tal:define="global info context/getIdCardInfo;
    4                           passport_url info/passport_url;
    54                          ">
    65
     
    87      <span tal:content="here/illegal_view" />
    98    </span>
    10     <span tal:condition="info"
    11           tal:define="pd python: info['personal']">
    12 
    13    
     9    <span tal:condition="info">
     10    <span tal:define="pd python: info['personal'];
     11                      passport_url info/passport_url|nothing;">
    1412    <table border=0 style="border-style:solid; border-width:1px; border-color:black" cellpadding="0px" cellspacing="10px" width="450px" height="300px">
    1513    <tr>
     
    148146      </tr>
    149147      </table>     
    150 
     148  </span>
    151149  </span>
    152150  </metal:main>
  • WAeUP_SRP/trunk/skins/waeup_utilities/viewimage.py

    r2698 r4032  
    1616    def set_trace():
    1717        pass
     18       
     19mtool = context.portal_membership
     20
     21if mtool.isAnonymousUser():
     22    return None       
     23       
    1824if path is None and traverse_subpath:
    1925    traverse_subpath.insert(0,traverse_subpath[0][0])
Note: See TracChangeset for help on using the changeset viewer.