diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ListBox_asPDFThumbnailListStyleHTML.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ListBox_asPDFThumbnailListStyleHTML.xml deleted file mode 100644 index 7445566d9f7adc0398437706ecbd3fe88b5c27d1..0000000000000000000000000000000000000000 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ListBox_asPDFThumbnailListStyleHTML.xml +++ /dev/null @@ -1,293 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> - <tuple/> - </tuple> - </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> <string encoding="cdata"><![CDATA[ - -<tal:block\n - xmlns:tal="http://xml.zope.org/namespaces/tal"\n - xmlns:metal="http://xml.zope.org/namespaces/metal"\n - xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n - tal:define="field_id here/getId;\n - form_id python: here.getForm().id;\n - selection_name here/getSelectionName;\n - requested_selection_name here/getRequestedSelectionName;\n - selection_index here/getSelectionIndex;\n - selection here/getSelection;\n - portal_url_string here/getPortalUrlString;\n - real_context here/getContext;\n - context_url real_context/absolute_url;\n - md5_string here/getMD5Checksum;\n - line_list here/query;\n - is_domain_tree_mode here/isDomainTreeMode;\n - is_report_tree_mode here/isReportTreeMode;\n - is_domain_tree_supported here/isDomainTreeSupported;\n - is_report_tree_supported here/isReportTreeSupported;\n - show_select_column here/showSelectColumn;\n - show_search_line here/showSearchLine;\n - ">\n - <!-- ListBox starts here. -->\n - <input type="hidden" name="list_selection_name" value="default" tal:attributes="value selection_name" />\n - <input type="hidden" name="list_selection_name" value="default"\n - tal:attributes="value selection_name;\n - name string:${field_id}_list_selection_name" />\n - <input tal:condition="md5_string" type="hidden" name="md5_object_uid_list" value="checksum" tal:attributes="value md5_string" />\n -\n - <tal:replace tal:content="nothing">\n - Because TAL cannot accept unbalanced tags, the support for a domain tree is realized by a macro.\n - The macro ListBoxContainer is a no-op, if not in domain tree mode. Otherwise, the macro constructs\n - a domain tree and extracts the body in an extra table.\n - </tal:replace>\n -\n - <tal:block tal:define="expand python: 0">\n - <tal:block metal:define-macro="ListBoxContainer">\n - <tal:block tal:condition="expand">\n - <table tal:condition="is_domain_tree_mode"\n - style="width: 100%;" cellpadding="0" cellspacing="0"\n - tal:define="selected_domain_path here/getSelectedDomainPath">\n - <tr>\n - <td valign="top">\n - <select name="domain_root_url"\n - tal:attributes="onChange string:submitAction(this.form, \'${context_url}/setDomainRoot\')">\n - <tal:block tal:repeat="c here/getDomainRootList">\n - <option value="base_domain"\n - tal:define="path python: c[0]; title python: c[1]"\n - tal:attributes="selected python: path == selected_domain_path; value path"\n - tal:content="title"\n - i18n:translate="" i18n:domain="ui">Base Domain</option>\n - </tal:block>\n - </select>\n - <table id="listbox_domain_tree_table" cellpadding="0"\n - tal:attributes="id string:${field_id}_domain_tree_table"\n - tal:define="report_tree_list python: here.makeReportTreeList(report_path = selected_domain_path, unfolded_list = selection.getDomainList(), is_report_opened = False);\n - total_depth python: max([report_tree.depth for report_tree in report_tree_list] + [-1])">\n - <tr tal:repeat="report_tree report_tree_list">\n - <tal:block tal:repeat="i python: range(report_tree.depth)">\n - <td width="16" nowrap="nowrap"> </td>\n - </tal:block>\n -\t\t <td colspan="1" style="text-align: left; vertical-align: top; white-space: nowrap;"\n - tal:attributes="colspan python: total_depth - report_tree.depth + 1">\n - <a href="method"\n - tal:condition="report_tree/is_open"\n - tal:attributes="href string:foldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">- <b tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</b></a>\n - <a href="method"\n - tal:condition="not: report_tree/is_open"\n - tal:attributes="href string:unfoldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">+ <tal:block tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</tal:block></a>\n - </td>\n - </tr>\n - </table>\n - </td>\n - <td style="vertical-align: top">\n - <tal:block metal:define-slot="ListBoxBody" />\n - </td>\n - </tr>\n - </table>\n - <tal:block tal:condition="not: is_domain_tree_mode">\n - <tal:block metal:define-slot="ListBoxBody" />\n - </tal:block>\n - </tal:block>\n - </tal:block>\n - </tal:block>\n -\n - <tal:block tal:define="expand python: 1">\n - <tal:block metal:use-macro="template/macros/ListBoxContainer">\n - <tal:block metal:fill-slot="ListBoxBody">\n - <div class="ListSummary">\n - <table cellpadding="0" cellspacing="0">\n - <tr>\n - <td style="height: 10px">\n - <img src="Left.png" alt="left"\n - tal:attributes="src string:${portal_url_string}/images/Left.png" />\n - </td>\n - <td class="Top" colspan="2" style="height: 10px">\n - <img src="spacer.png" style="width: 5px; height: 10px;" alt="spacer"\n - tal:attributes="src string:${portal_url_string}/images/spacer.png" />\n - </td>\n - <td class="Top" colspan="3" style="height: 10px">\n - <img src="spacer.png" style="width: 5px; height: 10px" alt="spacer"\n - tal:attributes="src string:${portal_url_string}/images/spacer.png" />\n - </td>\n - </tr>\n - <tr id="listbox_title_line" tal:attributes="id string:${field_id}_title_line">\n - <td class="Left" style="width: 17px">\n - <img src="spacer.png" style="width: 5px; height: 5px" alt="spacer"\n - tal:attributes="src string:${portal_url_string}/images/spacer.png" />\n - </td>\n -\t <td style="white-space: nowrap; vertical-align: middle">\n - <input tal:condition="python: is_domain_tree_supported or is_report_tree_supported"\n - type="image" src="text_block.png" id="listbox_flat_list_mode"\n - title="Flat List" name="setFlatListMode:method"\n - value="1" alt="Flat List"\n - tal:attributes="src string:${portal_url_string}/images/text_block.png;\n - id string:${field_id}_flat_list_mode"\n - i18n:domain="ui" i18n:attributes="title" />\n - <input tal:condition="is_report_tree_supported"\n - type="image" src="view_tree.png" id="listbox_report_tree_mode"\n - title="Report Tree" name="setReportTreeMode:method"\n - value="1" alt="Report Tree"\n - tal:attributes="src string:${portal_url_string}/images/view_tree.png;\n - id string:${field_id}_report_tree_mode"\n - i18n:domain="ui" i18n:attributes="title" />\n - <input tal:condition="is_domain_tree_supported"\n - type="image" src="view_choose.png" id="listbox_domain_tree_mode"\n - title="Domain Tree" name="setDomainTreeMode:method"\n - value="1" alt="Domain Tree"\n - tal:attributes="src string:${portal_url_string}/images/view_choose.png;\n - id string:${field_id}_domain_tree_mode"\n - i18n:domain="ui" i18n:attributes="title" />\n - </td>\n - <td style="width: 100%; vertical-align: middle">\n - \n - <a id="listbox_title" href="list"\n - tal:attributes="id string:${field_id}_title; href here/getListActionUrl">\n - <tal:block tal:content="here/getTitle" i18n:domain="ui" i18n:translate=""/>:</a>\n - <span id="listbox_record_number"\n - tal:attributes="id string:${field_id}_record_number"\n - i18n:translate="" i18n:domain="ui"><tal:block tal:replace="here/total_size" i18n:name="number">0</tal:block> record(s)</span>\n - <span id="listbox_item_number"\n - tal:attributes="id string:${field_id}_item_number"\n - i18n:translate="" i18n:domain="ui"> - <tal:block tal:replace="python: len(here.getCheckedUidList())" i18n:name="number">0</tal:block> item(s) selected</span>\n - </td>\n -\t <td style="white-space: nowrap; vertical-align: middle; text-align: center;">\n - <input tal:condition="python: here.current_page > 0"\n - id="listbox_previous_page" type="image" src="1leftarrowv.png"\n - title="Previous Page" name="previousPage:method"\n - tal:attributes="id string:${field_id}_previous_page;\n - name string:${field_id}_previousPage:method;\n - src string:${portal_url_string}/images/1leftarrowv.png"\n - i18n:domain="ui" i18n:attributes="title" />\n - </td>\n -\t <td style="white-space: nowrap; vertical-align: middle; text-align: center">\n - <select id="listbox_page_selection" name="list_start" title="Change Page" size="1"\n - tal:define="lines here/getMaxLineNumber"\n - tal:attributes="id string:${field_id}_page_selection;\n - name string:${field_id}_list_start;\n - onChange string:submitAction(this.form, \'${context_url}/${field_id}_setPage\')"\n - i18n:domain="ui" i18n:attributes="title">\n - <option value="0"\n - tal:repeat="p python: range(0, here.total_pages)"\n - tal:attributes="selected python: p == here.current_page;\n - value python: p * lines"\n - i18n:domain="ui" i18n:translate=""><tal:block tal:replace="python: p + 1" i18n:name="page">0</tal:block> of <tal:block tal:replace="here/total_pages" i18n:name="total_pages">1</tal:block></option>\n - </select>\n - </td>\n -\t <td style="white-space: nowrap; vertical-align: middle; text-align: center">\n - <input tal:condition="python: here.current_page < here.total_pages - 1"\n - id="listbox_next_page" type="image" src="1rightarrowv.png"\n - title="Next Page" name="nextPage:method"\n - tal:attributes="id string:${field_id}_next_page;\n - name string:${field_id}_nextPage:method;\n - src string:${portal_url_string}/images/1rightarrowv.png"\n - i18n:domain="ui" i18n:attributes="title" />\n - </td>\n - </tr>\n - </table>\n - </div>\n - <div class="ListContent content"\n - tal:define="dummy python:len(line_list) and line_list[0].render()">\n -\n -<input type="hidden" name="listbox_uid:list" value="" />\n -\n -<script type="text/javascript"\n - tal:define="size python:len(line_list);\n - start_frame python:here.renderer.getLineStart();\n - end_frame python:start_frame+size;\n - format python: real_context.portal_preferences.getPreference(\'preferred_image_format\', \'png\')"\n - tal:content="string:var START_FRAME=${start_frame};\n - var END_FRAME=${end_frame};\n - var SELECTION_NAME=\'${selection_name}\';\n - var FORMAT=\'${format}\';\n - ">\n -</script>\n -\n -<script type="text/javascript">\n -var parent_node = getElementsByTagAndClassName("div", "ListContent")[0];\n -\n -function makeThumnailNode(parent_node, frame, src){\n - var img_node = document.createElement("img");\n - img_node.src = src;\n - img_node.style.margin="6px 2px";\n - var a_node = document.createElement("a");\n - a_node.href="PDF_viewHTMLPreviewAsImage?selection_index="+frame+"&selection_name="+SELECTION_NAME;\n - a_node.appendChild(img_node);\n - parent_node.appendChild(a_node);\n -}\n -\n -function makeThumbnailNodes(start, end){\n - forEach(MochiKit.Iter.range(start,end), \n - function(frame_number){\n - makeThumnailNode(parent_node, frame_number, "index_html?frame="+frame_number+"&display=thumbnail&format="+FORMAT);\n - });\n -}\n -\n -makeThumbnailNodes(START_FRAME, END_FRAME);\n -</script>\n -\n -\n -\n - </div>\n - </tal:block>\n - </tal:block>\n - </tal:block>\n - <!-- ListBox ends here. -->\n -\n -</tal:block>\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>ListBox_asPDFThumbnailListStyleHTML</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_getThumbnailList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_getThumbnailList.xml index 9507533ed80b19241713aa64425361884b109267..19982ea738cb30e4adbb50a880ca3f58bcbc7cf5 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_getThumbnailList.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_getThumbnailList.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> </pickle> <pickle> <dictionary> @@ -53,8 +50,14 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>content_information = context.getContentInformation()\n + <value> <string>"""\n + THis script returns a suitable slide list of PDF thumbnails\n + for current form selection.\n + It\'s to be used in a listbox.\n +"""\n +from Products.ERP5Type.Document import newTempBase\n \n +content_information = context.getContentInformation()\n page_number = int(content_information.get(\'Pages\', 0))\n limit = kw.get(\'limit\', (0, 0))\n list_start = int(kw.get(\'list_start\', 0))\n @@ -66,7 +69,10 @@ page_list = range(page_number)\n \n result = []\n for i in page_list[list_start:list_end]:\n - result.append(context)\n + x = {\'title\': \'%s\' %i, \n + \'frame\':\'%s\' %i} # frame is used by listbox render field\n + temp_object = newTempBase(context, x[\'title\'], **x)\n + result.append(temp_object)\n return result\n </string> </value> </item> @@ -105,6 +111,8 @@ return result\n <value> <tuple> <string>kw</string> + <string>Products.ERP5Type.Document</string> + <string>newTempBase</string> <string>_getattr_</string> <string>context</string> <string>content_information</string> @@ -121,6 +129,9 @@ return result\n <string>result</string> <string>_getiter_</string> <string>i</string> + <string>x</string> + <string>_apply_</string> + <string>temp_object</string> </tuple> </value> </item> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_renderHTMLThumbnailPreview.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_renderHTMLThumbnailPreview.xml new file mode 100644 index 0000000000000000000000000000000000000000..818aec25015c258b5c2541ebd67e5ea50a08268d --- /dev/null +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_renderHTMLThumbnailPreview.xml @@ -0,0 +1,72 @@ +<?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> <string encoding="cdata"><![CDATA[ + +<tal:block\n + tal:define="cell python: request.get(\'cell\');\n + frame python: cell.frame;\n + display python: request.get(\'display\', \'thumbnail\');\n + format python: request.get(\'format\', \n + context.portal_preferences.getPreference(\'preferred_image_format\', \'png\'))">\n +<img title="Thumbnail"\n + i18n:attributes="title" i18n:domain="ui"\n + tal:attributes="src string:index_html?display=${display}&format=${format}&frame=${frame}"/>\n +</tal:block>\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>PDF_renderHTMLThumbnailPreview</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList.xml index bbb4c1d3e3bca8428fd6ce34896cb9c7cdfb630c..9adedff81da1af7ffca5bf65f0296ddd47b66c8d 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ERP5Form" module="Products.ERP5Form.Form"/> - <tuple/> - </tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> </pickle> <pickle> <dictionary> @@ -85,7 +82,9 @@ <item> <key> <string>hidden</string> </key> <value> - <list/> + <list> + <string>listbox_thumbnail</string> + </list> </value> </item> <item> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList/listbox.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList/listbox.xml index 9bfda20af5d029761db695096d54b784d706c9d8..0ff2fc2ca80fcd6ad70d9b14ea21490d6925d01e 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList/listbox.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList/listbox.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ListBox" module="Products.ERP5Form.ListBox"/> - <tuple/> - </tuple> + <global name="ListBox" module="Products.ERP5Form.ListBox"/> </pickle> <pickle> <dictionary> @@ -343,6 +340,10 @@ <key> <string>css_class</string> </key> <value> <string>hidden_label</string> </value> </item> + <item> + <key> <string>default_display_style</string> </key> + <value> <string>thumbnail</string> </value> + </item> <item> <key> <string>default_params</string> </key> <value> @@ -353,6 +354,17 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>display_style_list</string> </key> + <value> + <list> + <tuple> + <string>thumbnail</string> + <string>thumbnail</string> + </tuple> + </list> + </value> + </item> <item> <key> <string>domain_root_list</string> </key> <value> @@ -370,7 +382,12 @@ <item> <key> <string>editable_columns</string> </key> <value> - <list/> + <list> + <tuple> + <string>thumbnail</string> + <string>Thumbnail</string> + </tuple> + </list> </value> </item> <item> @@ -387,10 +404,18 @@ <list/> </value> </item> + <item> + <key> <string>global_search_column</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>hidden</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>hide_rows_on_no_search_criterion</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>lines</string> </key> <value> <int>20</int> </value> @@ -411,9 +436,13 @@ <list/> </value> </item> + <item> + <key> <string>page_navigation_mode</string> </key> + <value> <string>slider</string> </value> + </item> <item> <key> <string>page_template</string> </key> - <value> <string>ListBox_asPDFThumbnailListStyleHTML</string> </value> + <value> <string>ListBox_asHTML</string> </value> </item> <item> <key> <string>portal_types</string> </key> @@ -431,6 +460,10 @@ <key> <string>report_tree</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>row_css_method</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>search</string> </key> <value> <int>0</int> </value> @@ -471,16 +504,38 @@ <key> <string>stat_method</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>style_columns</string> </key> + <value> + <list> + <tuple> + <string>thumbnail</string> + <string>thumbnail_Thumbnail</string> + </tuple> + </list> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string>Thumbnails</string> </value> </item> <item> - <key> <string>url_columns</string> </key> + <key> <string>untranslatable_columns</string> </key> <value> <list/> </value> </item> + <item> + <key> <string>url_columns</string> </key> + <value> + <list> + <tuple> + <string>thumbnail</string> + <string></string> + </tuple> + </list> + </value> + </item> </dictionary> </value> </item> @@ -489,10 +544,7 @@ </record> <record id="2" aka="AAAAAAAAAAI="> <pickle> - <tuple> - <global name="TALESMethod" module="Products.Formulator.TALESField"/> - <tuple/> - </tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> </pickle> <pickle> <dictionary> @@ -505,10 +557,7 @@ </record> <record id="3" aka="AAAAAAAAAAM="> <pickle> - <tuple> - <global name="Method" module="Products.Formulator.MethodField"/> - <tuple/> - </tuple> + <global name="Method" module="Products.Formulator.MethodField"/> </pickle> <pickle> <dictionary> @@ -521,10 +570,7 @@ </record> <record id="4" aka="AAAAAAAAAAQ="> <pickle> - <tuple> - <global name="Method" module="Products.Formulator.MethodField"/> - <tuple/> - </tuple> + <global name="Method" module="Products.Formulator.MethodField"/> </pickle> <pickle> <dictionary> diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList/listbox_thumbnail.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList/listbox_thumbnail.xml new file mode 100644 index 0000000000000000000000000000000000000000..ef49cfaccf3df7c07a3d6f5b96950315598121f7 --- /dev/null +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/PDF_viewHTMLPreviewAsThumbnailList/listbox_thumbnail.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>listbox_thumbnail</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></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>listbox_thumbnail</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/PDF_renderHTMLThumbnailPreview</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index 825e329dcc0411feae1ccc1843d29422c7bd24f3..a65c2ed38d5a3f91a81ee1bd70f4982d7d76c05a 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -1169 \ No newline at end of file +1171 \ No newline at end of file