diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/OOoDocument_viewAsWeb.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/OOoDocument_viewAsWeb.xml index 983ab481e5e000311403fce2d88a3e8e0853fccc..e5de4604686c40cee1c9536ea5788e75f9710c6c 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/OOoDocument_viewAsWeb.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/OOoDocument_viewAsWeb.xml @@ -74,6 +74,7 @@ <key> <string>webcontent header bottom</string> </key> <value> <list> + <string>navigation</string> <string>page_content</string> <string>js</string> </list> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/OOoDocument_viewAsWeb/navigation.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/OOoDocument_viewAsWeb/navigation.xml new file mode 100644 index 0000000000000000000000000000000000000000..3787ed001f13e3ae7932a679bef491cc239ddecf --- /dev/null +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/OOoDocument_viewAsWeb/navigation.xml @@ -0,0 +1,307 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="EditorField" module="Products.ERP5Form.EditorField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>navigation</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>text_editor</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>text_editor</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string>hidden_label</string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>5</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>text_editor</string> </key> + <value> <string>text_area</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Navigation</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>40</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>here/Presentation_renderHTMLPreviewNavigation</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Presentation_renderHTMLPreviewNavigation.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Presentation_renderHTMLPreviewNavigation.xml new file mode 100644 index 0000000000000000000000000000000000000000..c3545eb10ee6d0a78a846cc014def81954341e51 --- /dev/null +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Presentation_renderHTMLPreviewNavigation.xml @@ -0,0 +1,124 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + </pickle> + <pickle> + <dictionary> + <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> <unicode encoding="cdata"><![CDATA[ + +<tal:block>\n + <div class="presentation-preview-navigation">\n + <a id="first_slide">\n + <img id="first_slide_img" src="images/transparent-image.gif"\n + i18n:attributes="alt; title"\n + i18n:domain="ui"\n + alt="First"\n + title="First"\n + class="first"/>\n + </a>\n + <a id="previous_slide">\n + <img id="previous_slide_img" src="images/transparent-image.gif"\n + i18n:attributes="alt; title"\n + i18n:domain="ui"\n + alt="Previous"\n + title="Previous"\n + class="previous"/>\n + </a>\n +\n + <!-- Current Thumbnail / Total Thumbnails -->\n + <input id="slide_selection_index"\n + size="1"\n + value="1"/>\n + / <span id="slides_total_number">1</span>\n +\n + <a id="next_slide">\n + <img id="next_slide_img" src="images/transparent-image.gif"\n + i18n:attributes="alt; title"\n + i18n:domain="ui"\n + alt="Next"\n + title="Next"\n + class="next"/>\n + </a>\n + <a id="last_slide">\n + <img id="last_slide_img" src="images/transparent-image.gif"\n + i18n:attributes="alt; title"\n + i18n:domain="ui"\n + alt="Last"\n + title="Last"\n + class="last"/>\n + </a>\n + <a id="text_slide">\n + <img id="text_slide_img" src="images/text_block.png"\n + i18n:attributes="alt; title"\n + i18n:domain="ui"\n + alt="Text"\n + title="Text"\n + class="text"/>\n + </a>\n + <a id="graphics_slide">\n + <img id="graphics_slide_img" src="images/slide.png"\n + i18n:attributes="alt; title"\n + i18n:domain="ui"\n + alt="Graphics"\n + title="Graphics"\n + class="graphics"/>\n + </a>\n + </div>\n +</tal:block> + +]]></unicode> </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>Presentation_renderHTMLPreviewNavigation</string> </value> + </item> + <item> + <key> <string>output_encoding</string> </key> + <value> <string>utf-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <unicode></unicode> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Presentation_renderWithNavigation.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Presentation_renderWithNavigation.xml index 118a162a0c2abde7abde028e86f2b003ab226e23..7c2cfcfb43e408a7a386db6ccb6a4ed0a8480f67 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Presentation_renderWithNavigation.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Presentation_renderWithNavigation.xml @@ -36,65 +36,6 @@ <key> <string>_text</string> </key> <value> <unicode encoding="cdata"><![CDATA[ -<tal:block>\n - <div class="presentation-preview-navigation">\n - <a id="first_slide">\n - <img id="first_slide_img" src="images/transparent-image.gif"\n - i18n:attributes="alt; title"\n - i18n:domain="ui"\n - alt="First"\n - title="First"\n - class="first"/>\n - </a>\n - <a id="previous_slide">\n - <img id="previous_slide_img" src="images/transparent-image.gif"\n - i18n:attributes="alt; title"\n - i18n:domain="ui"\n - alt="Previous"\n - title="Previous"\n - class="previous"/>\n - </a>\n -\n - <!-- Current Thumbnail / Total Thumbnails -->\n - <input id="slide_selection_index"\n - size="1"\n - value="1"/>\n - / <span id="slides_total_number">1</span>\n -\n - <a id="next_slide">\n - <img id="next_slide_img" src="images/transparent-image.gif"\n - i18n:attributes="alt; title"\n - i18n:domain="ui"\n - alt="Next"\n - title="Next"\n - class="next"/>\n - </a>\n - <a id="last_slide">\n - <img id="last_slide_img" src="images/transparent-image.gif"\n - i18n:attributes="alt; title"\n - i18n:domain="ui"\n - alt="Last"\n - title="Last"\n - class="last"/>\n - </a>\n - <a id="text_slide">\n - <img id="text_slide_img" src="images/text_block.png"\n - i18n:attributes="alt; title"\n - i18n:domain="ui"\n - alt="Text"\n - title="Text"\n - class="text"/>\n - </a>\n - <a id="graphics_slide">\n - <img id="graphics_slide_img" src="images/slide.png"\n - i18n:attributes="alt; title"\n - i18n:domain="ui"\n - alt="Graphics"\n - title="Graphics"\n - class="graphics"/>\n - </a>\n - </div>\n -</tal:block>\n <!--The content of the presentation-->\n <tal:block tal:content="structure options/data" />