Commit e50f062a authored by Kevin Deldycke's avatar Kevin Deldycke

Outdated code used in the first old version of the toolbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10116 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91e8990d
<?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="url context/WebSite_getDocumentUrl;\n
section context/WebSite_getSectionValue;">\n
<h3>Clone section</h3>\n
<form name="tool_create" method="post" action="WebSite_newContent">\n
<table border="0" cellspacing="1" cellpadding="0">\n
<tr>\n
<td class="article">Id</td>\n
<td class="article"><input class="input" type="text" name="id" tal:attributes="value section/getId | nothing"/></td>\n
</tr>\n
<tr>\n
<td class="article">Title</td>\n
<td class="article"><input class="input" type="text" name="title" tal:attributes="value section/getTitle | nothing"/></td>\n
</tr>\n
<tr>\n
<td colspan="2" class="article" align="center">\n
<input type="image" alt="Clone" title="Clone" src="pictures/clone.png" name="WebSite_createContent:method"/> Clone\n
</td>\n
</tr>\n
</table>\n
</form>\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>admin_tool_duplicate_section</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 metal:define-macro="master"\n
tal:define="layout_form python: context.medicentre_admin_toolbox_layout;\n
widget_list python: context.WebSite_getGroupWidgetList(layout_form, group=\'toolbox\')">\n
\n
<div id="adminToolBox" tal:condition="python: len(widget_list) > 0">\n
\n
<h3 class="warning"><img src="pictures/admin-tool-box.png"/> Admin Tool Box</h3>\n
\n
<script type=\'text/javascript\' src=\'js/nav_bar.js\'></script>\n
\n
<!-- Menu bar -->\n
<div class="dynToolbar">\n
<tal:block tal:repeat="widget python: widget_list">\n
<tal:block\n
tal:define="widget_object python: widget[\'widget\'];\n
order python: widget[\'order\'];\n
click_attr python: \'return buttonClick(event, \\\'menu%s\\\');;\' % (order);\n
mouseover_attr python: \'buttonMouseover(event, \\\'menu%s\\\');;\' % (order);">\n
<a class="dynToolbarButton" href="#"\n
tal:attributes="onclick click_attr;\n
onmouseover mouseover_attr"><tal:block metal:use-macro="widget_object/macros/title"/></a>\n
</tal:block>\n
</tal:block>\n
\n
<!-- Menu items -->\n
<tal:block tal:repeat="widget python: widget_list">\n
<tal:block tal:define="widget_object python: widget[\'widget\'];\n
menuX python: \'menu%s\' % (widget[\'order\'])">\n
<div tal:attributes="id menuX" class="dynToolbarItem">\n
<tal:block metal:use-macro="widget_object/macros/master"/>\n
</div>\n
</tal:block>\n
</tal:block>\n
\n
</div>\n
</div>\n
\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>medicentre_admin_toolbox_widget</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Used ?</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="master"\n
tal:condition="python: (is_section and valid_default_doc and not is_edit_mode) or is_webdoc">\n
\n
<form name="tool_create" method="post" action="WebSite_newContent">\n
\n
<input id="document_action_mode" name="document_action_mode" value="clone_to" type="hidden"/>\n
\n
<h3>Clone Current Page</h3>\n
\n
<table cellspacing="1" cellpadding="0" border="0">\n
<tr>\n
<td>Destination Section</td>\n
<td>\n
<select class="input" name="destination_section" size="1">\n
<tal:block tal:repeat="top_section python: context.WebSite_getSiteValue().WebSite_getMainSectionList()">\n
<option tal:content="python: top_section.getTitle()"\n
tal:attributes="value python: top_section.getId()"/>\n
</tal:block>\n
</select>\n
</td>\n
</tr>\n
<tr>\n
<td colspan="2" align="center">\n
<input type="image" alt="Clone &amp; Edit" title="Clone &amp; Edit" src="pictures/clone-document.png" id="clone_action_icon"/> Clone &amp; Edit\n
</td>\n
</tr>\n
</table>\n
\n
</form>\n
\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>medicentre_tool_clone_document</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Used ?</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