Commit 6ab0637b authored by Jean-Paul Smets's avatar Jean-Paul Smets

New widgets taken out from custom code

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12989 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b07daf35
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.DTMLDocument</string>
<string>DTMLDocument</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>tabber_style.css</string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>raw</string> </key>
<value> <string>/*========================================================================================\n
** tabber.js default style\n
**========================================================================================*/\n
\n
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */\n
\n
/*--------------------------------------------------\n
REQUIRED to hide the non-active tab content.\n
But do not hide them in the print stylesheet!\n
--------------------------------------------------*/\n
.tabberlive .tabbertabhide {\n
display: none;\n
}\n
\n
/*--------------------------------------------------\n
.tabber = before the tabber interface is set up\n
.tabberlive = after the tabber interface is set up\n
--------------------------------------------------*/\n
.tabber {\n
}\n
.tabberlive {\n
}\n
\n
/*--------------------------------------------------\n
ul.tabbernav = the tab navigation list\n
li.tabberactive = the active tab\n
--------------------------------------------------*/\n
ul.tabbernav {\n
margin: 0;\n
padding: 3px 0;\n
border-bottom: 1px solid #778;\n
}\n
\n
ul.tabbernav li {\n
list-style: none;\n
margin: 0;\n
display: inline;\n
}\n
\n
ul.tabbernav li a {\n
padding: 3px .5em;\n
margin-left: 3px;\n
border: 1px solid #778;\n
border-bottom: none;\n
background: #dde;\n
text-decoration: none;\n
font-weight: bold;\n
}\n
\n
ul.tabbernav li a:link {color: #448}\n
ul.tabbernav li a:visited {color: #667}\n
\n
ul.tabbernav li a:hover\n
{\n
color: #000;\n
background: #aae;\n
border-color: #227;\n
}\n
\n
ul.tabbernav li.tabberactive a\n
{\n
background-color: #fff;\n
border-bottom: 1px solid #fff;\n
}\n
\n
ul.tabbernav li.tabberactive a:hover\n
{\n
color: #000;\n
background: white;\n
border-bottom: 1px solid white;\n
}\n
\n
/*--------------------------------------------------\n
.tabbertab = the tab content\n
Add style only after the tabber interface is set up (.tabberlive)\n
--------------------------------------------------*/\n
.tabberlive .tabbertab {\n
padding:5px;\n
border: 1px solid #778;\n
border-top: 0;\n
}\n
\n
/* If desired, hide the heading since a heading is provided by the tab */\n
.tabberlive .tabbertab h2 {\n
display: none;\n
}\n
.tabberlive .tabbertab h3 {\n
display: none;\n
}\n
\n
\n
\n
</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>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[
<div class="related_docs" tal:condition="here/getClassification">\n
<div class="title" i18n:translate="" i18n:domain="ui">Security classification</div>\n
<ul>\n
<li>\n
<span tal:replace="here/getClassificationTitle"/>\n
</li>\n
</ul>\n
</div>
]]></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Document_viewClassificationWidget</string> </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[
<div class="related_docs">\n
<div class="title">History:</div>\n
<table id="#workflow_history" tal:define="history here/Base_getWorkflowEventInfoList">\n
<tr tal:repeat="event history">\n
<td tal:content="python: here.Base_FormatDate(event[\'date\'])"/>\n
<td tal:content="event/action"/>\n
<td tal:content="event/actor"/>\n
</tr>\n
</table>\n
</div>\n
]]></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>Document_viewHistoryWidget</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>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 tal:define="base_cat_list here/portal_preferences/getPreferredDocumentBaseCategoryList">\n
<div class="related_docs" tal:repeat="base_cat base_cat_list">\n
<tal:block\n
tal:define="base_cat_value python:here.portal_categories.resolveCategory(base_cat);\n
base_cat_title base_cat_value/title;\n
cat python:here.getProperty(base_cat);\n
">\n
<tal:block tal:condition="cat">\n
<div class="title" tal:content="base_cat_title"/>\n
<ul>\n
<li tal:define="cat_value python:here.portal_categories.resolveCategory(\'group/a\')">\n
<span tal:replace="python:cat_value.getTitle()"/>\n
</li>\n
</ul>\n
</tal:block>\n
</tal:block>\n
</div>\n
</tal:block>
]]></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Document_viewMembershipWidget</string> </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[
<span class="popup_label" i18n:translate="" i18n:domain="ui">Owner(s):</span>\n
<tal:block tal:replace="options/owner|nothing"/>\n
<br/>\n
<span class="popup_label" i18n:translate="" i18n:domain="ui">Last modified:</span>\n
<tal:block tal:replace="options/moddate|nothing"/>\n
<br/>\n
<span class="popup_label" i18n:translate="" i18n:domain="ui">Released:</span>\n
<tal:block tal:replace="options/reldate|nothing"/>\n
<br/>\n
<span class="popup_label" i18n:translate="" i18n:domain="ui">Published:</span>\n
<tal:block tal:replace="options/publdate|nothing"/>\n
<br/>\n
<span class="popup_label" i18n:translate="" i18n:domain="ui">Status:</span>\n
<tal:block tal:replace="options/status|nothing"/>\n
<br/>\n
<span class="popup_label" i18n:translate="" i18n:domain="ui">Group:</span>\n
<tal:block tal:replace="options/group|nothing"/>\n
<br/>\n
<span class="popup_label" i18n:translate="" i18n:domain="ui">Project:</span>\n
<tal:block tal:replace="options/project|nothing"/>
]]></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Document_viewPopupTemplate</string> </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[
<table id="document_profile">\n
<tr>\n
<td class="left" i18n:translate="" i18n:domain="ui">\n
Title:\n
</td>\n
<td class="right">\n
<span tal:replace="here/getTitle"/>\n
</td>\n
</tr>\n
<tr>\n
<td class="left" i18n:translate="" i18n:domain="ui">\n
Reference:\n
</td>\n
<td class="right">\n
<span tal:replace="here/getReference"/>\n
</td>\n
</tr>\n
<tr>\n
<td class="left" i18n:translate="" i18n:domain="ui">\n
Author(s):\n
</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td class="right" colspan="2">\n
<ul class="authors">\n
<li tal:repeat="owner here/Base_getOwnerInfoList">\n
<a tal:attributes="href owner/url" tal:content="owner/title"/>\n
(<a tal:attributes="href python: \'mailto:\'+str(owner.get(\'email\',\'\'))" tal:content="owner/email"/>)\n
</li>\n
</ul>\n
</td>\n
</tr>\n
<tr>\n
<td class="left" i18n:translate="" i18n:domain="ui">\n
Status:\n
</td>\n
<td class="right">\n
<span tal:attributes="class here/getValidationState" tal:content="here/getTranslatedValidationState"/>\n
</td>\n
</tr>\n
<tr>\n
<td class="left" i18n:translate="" i18n:domain="ui">\n
Version:\n
</td>\n
<td class="right">\n
<span tal:replace="here/getVersion"/>\n
</td>\n
</tr>\n
<tr>\n
<td class="left" i18n:translate="" i18n:domain="ui">\n
Language:\n
</td>\n
<td class="right">\n
<span tal:replace="here/getLanguage"/>\n
</td>\n
</tr>\n
<tal:block tal:define="other_lang_list python:[here.getLatestVersionValue(language=lng) for lng in here.getLanguageList() if lng!=here.getLanguage()]">\n
<tr tal:condition="other_lang_list">\n
<td i18n:translate="" i18n:domain="ui">\n
Also in:\n
</td>\n
<td>\n
<span tal:repeat="doc other_lang_list">\n
<a tal:attributes="href python:doc.absolute_url()+\'/view\'" tal:content="doc/getLanguage"/>\n
</span>\n
</td>\n
</tr>\n
</tal:block>\n
<tr>\n
<td i18n:translate="" i18n:domain="ui">\n
Word count:\n
</td>\n
<td>\n
<span tal:replace="python: int(round(len(here.getSearchableText().split()),-2))"/>\n
</td>\n
</tr>\n
<tr>\n
<td i18n:translate="" i18n:domain="ui">\n
Size:\n
</td>\n
<td>\n
<span tal:replace="python: \'%d kB\' % (here.getSize()/1000)"/>\n
</td>\n
</tr>\n
<tr>\n
<td i18n:translate="" i18n:domain="ui">\n
File format:\n
</td>\n
<td>\n
<span tal:replace="python: here.getSourceReference() is not None and here.getSourceReference().rfind(\'.\')>-1 and here.getSourceReference()[here.getSourceReference().rfind(\'.\')+1:] or \'\'"/>\n
</td>\n
</tr>\n
</table>\n
]]></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>Document_viewProfileWidget</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>XXX - Use layout and fields instead </string> </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 tal:define="doc_list python:here.Document_getRelatedDocumentList(relation_id=\'related_successor\')">\n
<div class="related_docs" tal:condition="doc_list">\n
<div class="title" i18n:translate="" i18n:domain="ui">Related</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
</tal:block>\n
<tal:block tal:define="doc_list python:here.Document_getRelatedDocumentList(relation_id=\'related_similar\')">\n
<div class="related_docs" tal:condition="doc_list">\n
<div class="title" i18n:translate="" i18n:domain="ui">Similar</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
</tal:block>\n
<tal:block tal:define="doc_list python:here.Document_getRelatedDocumentList(relation_id=\'related_predecessor\')">\n
<div class="related_docs" tal:condition="doc_list">\n
<div class="title" i18n:translate="" i18n:domain="ui">Reference</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\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>Document_viewRelationListWidget</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>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 tal:define="doc_list python:here.Document_getRelatedDocumentList(relation_id=\'wiki_successor\')">\n
<div class="related_docs" tal:condition="doc_list">\n
<div class="title" i18n:translate="" i18n:domain="ui">Wiki successors</div>\n
<ul>\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
</tal:block>\n
<tal:block tal:define="doc_list python:here.Document_getRelatedDocumentList(relation_id=\'wiki_predecessor\')">\n
<div class="related_docs" tal:condition="doc_list">\n
<div class="title" i18n:translate="" i18n:domain="ui">Wiki predecessors</div>\n
<ul tal:define="doc_list python:here.Document_getRelatedDocumentList(relation_id=\'wiki_predecessor\')">\n
<li tal:repeat="doc doc_list">\n
<a tal:content="doc/title" tal:attributes="href python:doc.absolute_url()+\'/view\'"/>\n
</li>\n
</ul>\n
</div>\n
</tal:block>
]]></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Document_viewWikiRelationListWidget</string> </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>"""\n
A method invoked with parameters provided by the \n
contribute widget\n
"""\n
res = context.portal_contributions.newContent(**kw)\n
after_method_id = kw.get(\'after_method_id\')\n
if after_method_id:\n
after_method = getattr(res, after_method_id)\n
after_method() # if not found will raise exception, as it should\n
\n
# XXX Translation and Base_redirect\n
doc_url = res.absolute_url()+\'/view?portal_status_message=Document+created\'\n
\n
return context.REQUEST.RESPONSE.redirect(doc_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>*a, **kw</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>a</string>
<string>kw</string>
<string>_apply_</string>
<string>_getattr_</string>
<string>context</string>
<string>res</string>
<string>after_method_id</string>
<string>getattr</string>
<string>after_method</string>
<string>doc_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>WebSite_contributeContent</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</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 encoding="cdata"><![CDATA[
"""\n
Script called by user registration form; checks if all required parameters\n
are supplied, handles errors, calls WebSite_createUser to actually\n
create Person.\n
Will send email with password info.\n
\n
XXX - redirect, translation of dialogs\n
"""\n
\n
req = context.REQUEST\n
\n
# check if everything was filled\n
fields = (\'email\', \'email_repeated\', \'group\', \'function\', \'site\', \'first_name\', \'last_name\')\n
missing_string = \'\'\n
kwargs = {}\n
for f in fields:\n
value = req.get(\'your_\' + f)\n
if not value:\n
missing_string += \'&missing:list=\' + f\n
else:\n
kwargs[f] = value\n
if missing_string:\n
params = missing_string + \'&portal_status_message=You did not fill all the required fields\'\n
return req.RESPONSE.redirect(context.absolute_url()+\'?\'+params)\n
if req.get(\'your_email\') != req.get(\'your_email_repeated\'):\n
missing_string += \'&missing:list=email&missing:list=email_repeated\'\n
params = missing_string + \'&portal_status_message=You entered two different email addresses\'\n
return req.RESPONSE.redirect(context.absolute_url()+\'?\'+params)\n
\n
# create a user\n
context.log(kwargs)\n
try:\n
user = context.WebSite_createUser(**kwargs)\n
context.log(user)\n
msg = \'Thank you for registering. Your password will be sent to the email adress that you provided.\'\n
except Exception, e:\n
msg = str(e)\n
\n
return req.RESPONSE.redirect(context.absolute_url()+\'?portal_status_message=\'+msg)\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>*a, **kw</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>a</string>
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
<string>req</string>
<string>fields</string>
<string>missing_string</string>
<string>kwargs</string>
<string>_getiter_</string>
<string>f</string>
<string>value</string>
<string>_write_</string>
<string>params</string>
<string>_apply_</string>
<string>user</string>
<string>msg</string>
<string>Exception</string>
<string>e</string>
<string>str</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>WebSite_registerUser</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</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[
<!--\n
Description:\n
This macro render a contribution upload panel.\n
-->\n
\n
<tal:block metal:define-macro="main">\n
\n
<div class="tabber" id="mytabber2">\n
<div class="tabbertab">\n
<h2>Contribute</h2>\n
<div class="fieldset">\n
<div tal:define="search_type_list here/WebSite_getSearchableTypeList">\n
<label for="doctype" i18n:translate="" i18n:domain="ui">Type</label>\n
<select size="1" name="doctype" id="doctype" onchange="toggleMakeTemplateButton(this);">\n
<option value="" i18n:translate="" i18n:domain="ui">-- Select Document Type --</option>\n
<option value="Memo" value="" i18n:translate="" i18n:domain="ui">Memo</option>\n
<option value="Report" value="" i18n:translate="" i18n:domain="ui">Report</option>\n
</select>\n
<input type="file" name="datafile" size="30" />\n
</div>\n
<!--<a onclick="setMailString();" id="mail_contribute_button" href="mailto:dms@dms.nexedi.com?subject=Contribution&body=">\n
<img src="au_icons/kmail.png" align="right" alt="contribute by mail" title="contribute by mail"/>\n
</a>-->\n
<div style="float:left">\n
<div metal:use-macro="here/au_macros/macros/contribute_properties">\n
Theme\n
</div>\n
</div>\n
\n
<div style="float:right; margin-top:10px;">\n
<a onclick="setMailString();" id="mail_contribute_button"\n
href="mailto:dms@dms.nexedi.com?subject=Contribution&body=">\n
<img src="send_by_mail" border="0"/>\n
<tal:block i18n:translate="" i18n:domain="ui">Click here to contribute by Email</tal:block></a>\n
&nbsp;\n
<input type="submit" name="Memo_makeOOoTemplate:method" value="Make Template" id="maketemplatebutton" disabled="disabled"\n
style="width:100px;background-image:none;"/>\n
&nbsp;\n
<input type="submit" name="WebSite_contributeFile:method" value="Contribute"/>\n
</div>\n
\n
\n
</div>\n
\n
<div class="clear"></div>\n
</div>\n
\n
<div class="tabbertab">\n
<h2>Link</h2>\n
<div class="fieldset">\n
<div>\n
<label for="url" value="" i18n:translate="" i18n:domain="ui">Url</label>\n
<input type="text" name="url" id="url" size="80" value="http://" />\n
<a href="" target="_blank" onclick="return setLink(this)" value="" i18n:translate="" i18n:domain="ui">preview</a>\n
</div>\n
<div metal:use-macro="here/au_macros/macros/contribute_properties">\n
Theme\n
</div>\n
</div>\n
<input style="float:right" type="submit" name="WebSite_contributeLink:method" value="Contribute"/>\n
<div class="clear"></div>\n
</div>\n
\n
<div class="tabbertab"\n
tal:define="user here/ERP5Site_getCurrentUserValue"\n
>\n
<h2 value="" i18n:translate="" i18n:domain="ui">File</h2>\n
\n
<div class="filebox" id="administration">\n
<ul>\n
<li class="listheader" value="" i18n:translate="" i18n:domain="ui">Administration:</li>\n
<ul>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Medical Claim\', user)">\n
<span tal:define="impl python:False; title string:Medical Claim;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Leave Request\', user)">\n
<span tal:define="impl python:False; title string:Leave Request;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Travel Request\', user)">\n
<span tal:define="impl python:False; title string:Travel Request;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Passport Request\', user)">\n
<span tal:define="impl python:False; title string:Passport Request;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'External Library File\', user)">\n
<a href="Base_createContent?portal_type=External Library File" value="" i18n:translate="" i18n:domain="ui">Library File</a>\n
</li>\n
</ul>\n
</ul>\n
</div>\n
\n
<div class="filebox" id="conference">\n
<ul>\n
<li class="listheader" value="" i18n:translate="" i18n:domain="ui">Conference:</li>\n
<ul>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Conference\', user)">\n
<span tal:define="impl python:True; title string:Conference;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Event\', user)">\n
<span tal:define="impl python:False; title string:Event;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Participant\', user)">\n
<span tal:define="impl python:False; title string:Participant;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
</ul>\n
</ul>\n
</div>\n
\n
<div class="filebox" id="web">\n
<ul>\n
<li class="listheader" value="" i18n:translate="" i18n:domain="ui">Web:</li>\n
<ul>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'News\', user)">\n
<span tal:define="impl python:True; title string:News;">\n
<span metal:use-macro="here/au_macros/macros/file_feature">\n
</span>\n
</span>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Web Page\', user)">\n
<a href="WebPage_createNewForGroup" value="" i18n:translate="" i18n:domain="ui">Web Page</a>\n
</li>\n
</ul>\n
</ul>\n
</div>\n
\n
<div class="filebox" id="contacs">\n
<ul>\n
<li class="listheader" value="" i18n:translate="" i18n:domain="ui">Contacts:</li>\n
<ul>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Organisation\', user)">\n
<a href="Base_createContent?portal_type=Organisation" value="" i18n:translate="" i18n:domain="ui">Organisation</a>\n
</li>\n
<li tal:condition="python:here.ERP5Site_isNewContentAllowed(\'Person\', user)">\n
<a href="Base_createContent?portal_type=Person" value="" i18n:translate="" i18n:domain="ui">Person</a>\n
</li>\n
</ul>\n
</ul>\n
</div>\n
\n
<div class="clear"></div>\n
</div>\n
</div>\n
\n
</tal:block>
]]></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSite_viewContributeRenderer</string> </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="act">\n
<tal:block tal:define="tasks here/WebSite_getPendingEventInfoList">\n
<div class="boxHeader" >\n
<a i18n:translate="" i18n:domain="ui"\n
tal:attributes="href string: searches/WebSite_viewPendingEventList">\n
Act <span class="details">(<span class="newItem" tal:content="python:len(tasks)"/>\n
<tal:block i18n:translate="" i18n:domain="ui">total</tal:block>)</span>\n
</a>\n
</div>\n
<div class="boxContent">\n
<ul>\n
<li tal:repeat="doc python: tasks[:TASK_LEN]">\n
<a tal:define="url python: \'%s/view\' % doc.absolute_url()"\n
tal:attributes="href url">\n
<span tal:replace="doc/portal_type"/>:\n
<span tal:replace="doc/getTitleOrId"/>\n
<span tal:condition="python: hasattr(doc, \'getVersion\') and doc.getVersion()" \n
tal:replace="python: \'ver. %s\' % doc.getVersion()"/>\n
(<span tal:content="python: doc.getValidationStateTitle()" \n
tal:attributes="class python:doc.getTranslatedValidationStateTitle()"/>)\n
</a>\n
</li>\n
</ul>\n
<a tal:condition="python: len(tasks) > TASK_LEN" \n
tal:attributes="href string: searches/WebSite_viewPendingEventList" value="" i18n:translate="" i18n:domain="ui">More tasks...</a>\n
</div>\n
</tal:block>\n
</tal:block>\n
\n
<tal:block metal:define-macro="learn">\n
<tal:block tal:define="news_list python: here.WebSite_getLatestContentValueList(limit=NEWS_LEN)">\n
<div class="boxHeader">\n
<a i18n:translate="" i18n:domain="ui"\n
tal:attributes="href string: searches/WebSite_viewLatestContentList">\n
Learn\n
</a>\n
</div>\n
<div class="boxContent">\n
<ul>\n
<li tal:repeat="newsitem python: news_list">\n
<a tal:define="url python: \'%s/view\' % newsitem.absolute_url()"\n
tal:attributes="href url">\n
<tal:block tal:replace="python: here.WebSite_getFancyRelativeDate(newsitem.getCreationDate())"/>&mdash;\n
<tal:block tal:replace="newsitem/getTitleOrId"/>\n
</a>\n
<tal:block tal:replace="python: \'(%s)\' % newsitem.getPortalType()"/>\n
</li>\n
</ul>\n
<tal:block tal:replace="nothing">this is a dummy</tal:block>\n
<a tal:condition="python: len(news_list) > NEWS_LEN-1"\n
tal:attributes="href string: searches/WebSite_viewLatestContentList" value="" i18n:translate="" i18n:domain="ui">More news...</a>\n
</div>\n
</tal:block>\n
</tal:block>\n
\n
<tal:block metal:define-macro="evaluate">\n
<tal:block>\n
<div class="boxHeader" value="" i18n:translate="" i18n:domain="ui">\n
Evaluate\n
</div>\n
<div class="boxContent">\n
Some nice evaluation parameters.\n
</div>\n
</tal:block>\n
</tal:block>
]]></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSite_viewDashboardRenderer</string> </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[
\n
<div id="home_search">\n
<tal:block metal:use-macro="here/WebSite_viewSearchRenderer/macros/main"/>\n
</div>\n
\n
<div id="home_contribute">\n
<tal:block metal:use-macro="here/WebSite_viewContributeRenderer/macros/main"/>\n
</div>\n
\n
<div id="dashboard">\n
<div class="box left" tal:define="global TASK_LEN python: 20">\n
<tal:block metal:use-macro="here/WebSite_viewDashboardRenderer/macros/act"/>\n
</div>\n
\n
<div class="box left" tal:define="NEWS_LEN python: 20">\n
<tal:block metal:use-macro="here/WebSite_viewDashboardRenderer/macros/learn"/>\n
</div>\n
\n
<div class="box left">\n
<tal:block metal:use-macro="here/WebSite_viewDashboardRenderer/macros/evaluate"/>\n
</div>\n
</div>
]]></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>WebSite_viewSCALEWidget</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>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[
<!-- ============================================================== -->\n
<!--\n
Description:\n
This macro render a tabbed search panel.\n
-->\n
\n
<tal:block metal:define-macro="main">\n
<tal:block metal:use-macro="here/global_definitions_au/macros/main"/>\n
<div class="tabber" id="mytabber1" tal:define="search_type_list here/WebSite_getSearchableTypeList">\n
\n
<div class="tabbertab">\n
<h2 value="" i18n:translate="" i18n:domain="ui">Search</h2>\n
<div>\n
<div>\n
<input type="text" size="40" name="SearchableText" id="SearchableText" class="autofocus"/>\n
<tal:block i18n:translate="" i18n:domain="ui">in</tal:block>\n
<select size="1" class="input" name="search_portal_type">\n
<option value="all" selected value="" i18n:translate="" i18n:domain="ui">Any Documents</option>\n
<option tal:repeat="portal_type search_type_list"\n
tal:content="portal_type"\n
tal:attributes="value portal_type"/>\n
</select>\n
<input type="submit" name="searches/WebSite_processAdvancedSearch:method" value="Search"/>\n
</div>\n
<div class="searchOptions">\n
<a tal:attributes="href string: ${site_url}/searches/WebSite_viewAdvancedSearch" i18n:translate="" i18n:domain="ui">Advanced Search</a> | <a href="javascript:void 0" onclick="javascript:openTips();" value="" i18n:translate="" i18n:domain="ui">Search Tips</a>\n
</div>\n
</div>\n
<div class="clear"></div>\n
</div>\n
\n
<div class="tabbertab">\n
<h2 value="" i18n:translate="" i18n:domain="ui">Browse</h2>\n
\n
<div style="width:250px;float:left;" class="tabbertabcont">\n
<ul>\n
<li value="" i18n:translate="" i18n:domain="ui">Departments and Divisions:</li>\n
<ul>\n
<li tal:repeat="root_section here/group_section/contentValues">\n
<span tal:content="root_section/getTitle" onclick="toggleSection(this)" toggle="yes" style="cursor:pointer;"/>\n
<div style="display:none;visibility:hidden">\n
<ul>\n
<li tal:repeat="section root_section/contentValues"><a href="#" tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url">Theme</a></li>\n
</ul>\n
</div>\n
</li>\n
</ul>\n
</ul>\n
\n
<ul>\n
<li value="" i18n:translate="" i18n:domain="ui">Programmes:</li>\n
<ul>\n
<li tal:repeat="section here/source_project_section/contentValues"><a href="#" tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url">Theme</a></li>\n
</ul>\n
</ul>\n
</div>\n
<div style="width:250px;float:right;" class="tabbertabcont">\n
<ul>\n
<li value="" i18n:translate="" i18n:domain="ui">Offices:</li>\n
<ul>\n
<li tal:repeat="root_section here/site_section/contentValues">\n
<span tal:content="root_section/getTitle" onclick="toggleSection(this)" toggle="yes" style="cursor:pointer;"/>\n
<div style="display:none;visibility:hidden">\n
<ul>\n
<li tal:repeat="section root_section/contentValues"><a href="#" tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url">Theme</a></li>\n
</ul>\n
</div>\n
</li>\n
</ul>\n
</ul>\n
</div>\n
\n
<div class="clear"></div>\n
</div>\n
\n
<div class="tabbertab">\n
<h2 i18n:translate="" i18n:domain="ui">Query</h2>\n
<div>\n
<textarea cols="40" rows="2" name="query_string"></textarea>\n
<tal:block i18n:translate="" i18n:domain="ui">in</tal:block>\n
<select size="1" class="input" name="query_portal_type">\n
<option value="all" selected value="" i18n:translate="" i18n:domain="ui">Any Documents</option>\n
<option tal:repeat="portal_type search_type_list"\n
tal:content="portal_type"\n
tal:attributes="value portal_type"/>\n
</select>\n
<input type="submit" name="query_submit" value="Send Query to Expert"/>\n
<div class="clear"></div>\n
</div>\n
</div>\n
\n
</div>\n
\n
</tal:block>
]]></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSite_viewSearchRenderer</string> </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 replace="nothing">\n
This is used in contribute tab to distinguish implemented/not implemented "file" features\n
</tal:block>\n
<span metal:define-macro="file_feature">\n
<a tal:condition="impl" href="javascript:void 0" onclick="fileImplemented()" tal:content="title"/>\n
<a tal:condition="python:not impl" href="javascript:void 0" onclick="fileNotImplemented()" tal:content="title" style="color:grey"/>\n
</span>\n
\n
<tal:block replace="nothing">\n
This is used in main panel to fill properties for contributing document or external resource\n
</tal:block>\n
<div metal:define-macro="contribute_properties">\n
<div>\n
<label for="classification" value="" i18n:translate="" i18n:domain="ui">Classification</label>\n
<select size="1" name="classification" id="classification">\n
<option value="" value="" i18n:translate="" i18n:domain="ui">-- Select Classification --</option>\n
<option tal:repeat="item python:[c for c in here.portal_categories.classification.getCategoryChildLogicalPathItemList()[1:] if len(c[1].split(\'/\'))>1]" tal:content="python:item[0]" tal:attributes="value python:item[1]">\n
Agricultural Development\n
</option>\n
</select>\n
</div>\n
<div>\n
<label for="project" value="" i18n:translate="" i18n:domain="ui">Programme</label>\n
<select size="1" id="project" name="project">\n
<option value="" value="" i18n:translate="" i18n:domain="ui">-- Select Programme --</option>\n
<option tal:repeat="item python:[(o.getTitle(),o.getRelativeUrl()) for o in here.project_module.searchFolder()]" tal:content="python:item[0]" tal:attributes="value python:item[1]">\n
Agricultural Development\n
</option>\n
</select>\n
</div>\n
</div> \n
\n
\n
<!-- \n
# vim: filetype=html syntax=html shiftwidth=2 \n
-->\n
]]></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>au_macros</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>XXX - Integrate in wherever appropriate</string> </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