Commit 00fa6bb3 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added support for web mode when for URLs such as http://www.myerp5.com/kb

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18479 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c252e31c
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<string>Products.PageTemplates.ZopePageTemplate</string> <tuple/>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -59,9 +56,10 @@ ...@@ -59,9 +56,10 @@
cleaninput python: cleaninput.replace(\'\\x27\',\'\\x5C\\x27\');\n cleaninput python: cleaninput.replace(\'\\x27\',\'\\x5C\\x27\');\n
cleaninput python: cleaninput.replace(\'\\r\',\'\\x5C\\x72\');\n cleaninput python: cleaninput.replace(\'\\r\',\'\\x5C\\x72\');\n
cleaninput python: cleaninput.replace(\'\\n\',\'\\x5C\\x6E\');\n cleaninput python: cleaninput.replace(\'\\n\',\'\\x5C\\x6E\');\n
portal_url here/portal_url;\n site_root python: getattr(here, \'getWebSiteValue\', here.getPortalObject)();\n
portal_url python: site_root.absolute_url();\n
server_url request/BASE0;\n server_url request/BASE0;\n
portal_path python: portal_url.replace(server_url, \'\')+\'/\';\n portal_path python: portal_url.replace(server_url, \'\') + \'/\';\n
isInFactory python: test(\'/portal_factory\'in request.URLPATH0, 1, 0);\n isInFactory python: test(\'/portal_factory\'in request.URLPATH0, 1, 0);\n
isRegisteredFolder python: test(here.Title() and here.isPrincipiaFolderish, 1,0);\n isRegisteredFolder python: test(here.Title() and here.isPrincipiaFolderish, 1,0);\n
isRegisteredPA python: test(here.Title() and here.meta_type==\'PloneArticle\', 1,0);\n isRegisteredPA python: test(here.Title() and here.meta_type==\'PloneArticle\', 1,0);\n
......
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