Commit 8076f9ef authored by Vincent Pelletier's avatar Vincent Pelletier

This is the right file content...

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8269 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1a7b834
...@@ -68,14 +68,14 @@ ...@@ -68,14 +68,14 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>if context.REQUEST.has_key(\'workflow_action\'): # We are on a workflow transition\n <value> <string>help = context.getPortalType()\n
help = \'%s#%s\' % (getattr(getattr(context, form_id), \'form_action\'),context.REQUEST[\'workflow_action\'])\n if workflow_action is not None: # First, the workflow transition case.\n
elif action is not None:\n help = \'%s_%s\' % (help, workflow_action)\n
help = \'%s#%s\' % (context.getPortalType(), action)\n elif current_action is not None: # Then, we are able to get the action.\n
elif form_id is not None:\n help = \'%s_%s\' % (help, current_action[\'id\'])\n
help = \'%s_%s\' % (context.getPortalType(), form_id)\n elif dialog_id is not None: # Otherwise, get the form we are in.\n
else:\n help = \'%s_%s\' % (help, dialog_id)\n
help = context.getPortalType()\n # Otherwise again, just use the portal type as page name.\n
return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentationBaseUrl(), help)\n return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentationBaseUrl(), help)\n
</string> </value> </string> </value>
</item> </item>
...@@ -99,7 +99,7 @@ return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentatio ...@@ -99,7 +99,7 @@ return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentatio
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>form_id = None, action = None</string> </value> <value> <string>form_id=\'\', current_action=\'\', dialog_id=\'\', workflow_action=\'\'</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -119,20 +119,21 @@ return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentatio ...@@ -119,20 +119,21 @@ return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentatio
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>2</int> </value> <value> <int>4</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>form_id</string> <string>form_id</string>
<string>action</string> <string>current_action</string>
<string>dialog_id</string>
<string>workflow_action</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>getattr</string>
<string>_getitem_</string>
<string>help</string> <string>help</string>
<string>None</string> <string>None</string>
<string>_getitem_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -145,8 +146,10 @@ return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentatio ...@@ -145,8 +146,10 @@ return \'%s/%s\' % (context.portal_preferences.getPreferredHtmlStyleDocumentatio
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<tuple> <tuple>
<none/> <string></string>
<none/> <string></string>
<string></string>
<string></string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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