Commit 2aee449f authored by Kevin Deldycke's avatar Kevin Deldycke

New login box web widget.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fe183958
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Folder</string>
<string>Folder</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>login_box</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>login.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1QIVBh44a+4oAgAABAhJREFUGFeFld1LI2cUxp+ZSWJI
NIkTzBj8gKi1BrdVkWqJ2NawBAq1ILZ7oRWqFIT2D/BCKBTbu4qtshcieLGwtN2LxgUvpEusujUS
Q0dXMW3iV4lYU1YTazLGjDPv9KLtMjNrtz+Yi/Oe8zwczpl5h4KOgYEBuqWlZaipqeljSZJeBaBQ
FLXJ8/zdYDB4LxKJEL3mJgzqYHBwkPH7/fccDse7MzMzD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ng8n9vtdgBAMpncB3DTfUDW19fDPM8/YFn2JZ7no/oCDW63u2h8
fPzR8vKyMjk5ud3Y2Pg2dDegDgZAMbR/m5vp7e2t7e/v/5KiKA9ebPpC/gLlOanhRol5GAAAAABJ
RU5ErkJggg==</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>22</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <long>1147</long> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>22</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<tal:block metal:define-macro="master"\n
tal:define="website python: here.WebSite_getBreadcrumbItemList()[0][1];\n
website_url python: website.absolute_url()">\n
<a tal:condition="here/portal_membership/isAnonymousUser"\n
tal:attributes="href python: \'%s/login_form\' % website_url">\n
<img src="login_box/login.png"/> Login\n
</a>\n
<a tal:condition="not: here/portal_membership/isAnonymousUser"\n
tal:attributes="href python: \'%s/logout\' % website_url"> \n
<img src="login_box/logout.png"/> Logout\n
</a>\n
</tal:block>
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>login</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>logout.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBI
WXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH1QwGDxEZUlJZDAAAAulJREFUOMu1lctr1FwYh59zTqbm
NlplvNd+4kLwXvDSheimGxGF6sKFCPJtXbnx0v9gcO9S3LhQV2OtCkJB8ULUQkWstbhxBAvfZ5UZ
m8lMJ5nExSSxsbUVoQdeAknOk9/7y/u+B5Zoid892L3vQPS30DcjL4W20AunT52g8q1KvV6nXq/j
ui6+7+N5HtVqFYByuZzZs3LtegAWBPfs6WHs7Ts8z2NqagqlFM1mkyAIyOfzAIRhiBACIbLJLwi2
LRvDMAjDkEKhQKPRoNFooJRienoa3/eRUiKlXBx8AyLg0BVAKolpmggh0s1SSpRSWJZFpVJBKfVn
4Hg9WV2rpaBcLoeu6ylUKcXMzAxAeu9XsJyP2lcs8u/4GK2JD2mqSWiaRkdHB7quA6SKk0jBNyCa
HbPhH8+ehffvM1YIIdi5aztHjx3JKE4iY0VfsThHdc1x6CsWGb58GTkwgNyyJVU1/m6CVYWVC1qR
elwdGiJ0XaRtI5YtgyCgOjj4E371agre37uX4YeP5lgB0JoNrjkO7tOnP9tR09of0DQ0x2krUwoZ
K/Q8j1arNa/i1q+KO/v7U3ClVKJVqdDZ349TKuEPDCB0HdlsIqVkYvwDhmG0RcT+J4r9cBbYKZUy
/mxTihXHj+OUSnw/fx61eTMqCDK1nICSn5ZWRNjWrE1C/its/R+sKlgn4UECFZcu4G/oQkYRUkqi
+JrAEyuypRaDL4ILjAF5wDwZZ3B92w7O9faif/mKaZpIKWnGVli2geuGKKWIoiirGD/j8UwcOYBJ
6PtiWcPd3d3Uah6aphFFEUIILNtk8vMnXrx8TrlcZvkKE6VaCBGb683f0v6ZeEbvjtM0DIPADyis
6UQQMnTvFq9GnmFaGms3KKSsZRT/961j8emmaTk2dXURRC53B68xMvoY25Z0/SOQMpgznNpr1eLg
QmE5N2/fYXT0Pus22hw83IMABAKSThPtFIUQRGGO168/L+3RtFRnKT8AA7EAz21sap0AAAAASUVO
RK5CYII=</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>22</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>860</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>22</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>REQUEST = context.REQUEST\n
\n
if REQUEST.has_key(\'portal_skin\'):\n
context.portal_skins.clearSkinCookie()\n
REQUEST.RESPONSE.expireCookie(\'__ac\', path=\'/\')\n
\n
website = context.WebSite_getBreadcrumbItemList()[0][1]\n
website_url = website.absolute_url()\n
\n
return REQUEST.RESPONSE.redirect(website_url)\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>_getattr_</string>
<string>context</string>
<string>REQUEST</string>
<string>_getitem_</string>
<string>website</string>
<string>website_url</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>logout</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment