[Erp5-report] r27381 - in /erp5/trunk/bt5/tiolive_base: SkinTemplateItem/portal_skins/tioli...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 5 09:52:04 CEST 2009


Author: ivan
Date: Fri Jun  5 09:52:01 2009
New Revision: 27381

URL: http://svn.erp5.org?rev=27381&view=rev
Log:
Unhard code url. XML update.

Added:
    erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_getTioLiveSiteRootUrl.xml
    erp5/trunk/bt5/tiolive_base/bt/template_local_role_list
    erp5/trunk/bt5/tiolive_base/bt/template_portal_type_role_list
Modified:
    erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveChangePasswordDialog.xml
    erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveDocumentation.xml
    erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveInstance.xml
    erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveProfile.xml
    erp5/trunk/bt5/tiolive_base/bt/revision

Added: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_getTioLiveSiteRootUrl.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_getTioLiveSiteRootUrl.xml?rev=27381&view=auto
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_getTioLiveSiteRootUrl.xml (added)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_getTioLiveSiteRootUrl.xml [utf8] Fri Jun  5 09:52:01 2009
@@ -1,0 +1,125 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </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>"""\n
+  Get TioLive Site root URL.\n
+"""\n
+return context.REQUEST.get(\'BASE0\', \'https://www.tiolive.com\')\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</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>
+                          </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>ERP5Site_getTioLiveSiteRootUrl</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveChangePasswordDialog.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveChangePasswordDialog.xml?rev=27381&r1=27380&r2=27381&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveChangePasswordDialog.xml [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveChangePasswordDialog.xml [utf8] Fri Jun  5 09:52:01 2009
@@ -53,9 +53,11 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>cancel_url = context.getPortalObject().absolute_url()\n
+            <value> <string>portal = context.getPortalObject()\n
+cancel_url = portal.absolute_url()\n
 return container.REQUEST.RESPONSE.redirect(\n
-         \'https://www.tiolive.com/ERP5Site_viewChangeAuthenticatedMemberPasswordDialog?cancel_url=%s\' %cancel_url)\n
+         \'%s/ERP5Site_viewChangeAuthenticatedMemberPasswordDialog?cancel_url=%s\' \n
+           %(portal.ERP5Site_getTioLiveSiteRootUrl(), cancel_url))\n
 </string> </value>
         </item>
         <item>
@@ -94,6 +96,7 @@
                           <tuple>
                             <string>_getattr_</string>
                             <string>context</string>
+                            <string>portal</string>
                             <string>cancel_url</string>
                             <string>container</string>
                           </tuple>

Modified: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveDocumentation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveDocumentation.xml?rev=27381&r1=27380&r2=27381&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveDocumentation.xml [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveDocumentation.xml [utf8] Fri Jun  5 09:52:01 2009
@@ -53,7 +53,9 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>return container.REQUEST.RESPONSE.redirect(\'https://www.tiolive.com/documentation\')\n
+            <value> <string>portal = context.getPortalObject()\n
+return container.REQUEST.RESPONSE.redirect(\'%s/documentation\' \n
+                                            %portal.ERP5Site_getTioLiveSiteRootUrl())\n
 </string> </value>
         </item>
         <item>
@@ -91,6 +93,8 @@
                         <value>
                           <tuple>
                             <string>_getattr_</string>
+                            <string>context</string>
+                            <string>portal</string>
                             <string>container</string>
                           </tuple>
                         </value>

Modified: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveInstance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveInstance.xml?rev=27381&r1=27380&r2=27381&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveInstance.xml [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveInstance.xml [utf8] Fri Jun  5 09:52:01 2009
@@ -53,7 +53,9 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>return container.REQUEST.RESPONSE.redirect(\'https://www.tiolive.com/instance\')\n
+            <value> <string>portal = context.getPortalObject()\n
+return container.REQUEST.RESPONSE.redirect(\'%s/instance\'\n
+                                            %portal.ERP5Site_getTioLiveSiteRootUrl())\n
 </string> </value>
         </item>
         <item>
@@ -91,6 +93,8 @@
                         <value>
                           <tuple>
                             <string>_getattr_</string>
+                            <string>context</string>
+                            <string>portal</string>
                             <string>container</string>
                           </tuple>
                         </value>

Modified: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveProfile.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveProfile.xml?rev=27381&r1=27380&r2=27381&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveProfile.xml [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/ERP5Site_redirectToTioLiveProfile.xml [utf8] Fri Jun  5 09:52:01 2009
@@ -53,7 +53,9 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>return container.REQUEST.RESPONSE.redirect(\'https://www.tiolive.com/profile\')\n
+            <value> <string>portal = context.getPortalObject()\n
+return container.REQUEST.RESPONSE.redirect(\'%s/profile\'\n
+                                            %portal.ERP5Site_getTioLiveSiteRootUrl())\n
 </string> </value>
         </item>
         <item>
@@ -91,6 +93,8 @@
                         <value>
                           <tuple>
                             <string>_getattr_</string>
+                            <string>context</string>
+                            <string>portal</string>
                             <string>container</string>
                           </tuple>
                         </value>

Modified: erp5/trunk/bt5/tiolive_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/bt/revision?rev=27381&r1=27380&r2=27381&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/bt/revision [utf8] Fri Jun  5 09:52:01 2009
@@ -1,1 +1,1 @@
-38
+39

Added: erp5/trunk/bt5/tiolive_base/bt/template_local_role_list
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/bt/template_local_role_list?rev=27381&view=auto
==============================================================================
    (empty)

Added: erp5/trunk/bt5/tiolive_base/bt/template_portal_type_role_list
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/bt/template_portal_type_role_list?rev=27381&view=auto
==============================================================================
    (empty)




More information about the Erp5-report mailing list