diff --git a/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_list.xml b/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_list.xml index 527d18131bb02fcd457724e4d544d38d2f7a931e..55e9ca6b57f4ff0eed8676cd68e41ca8362a1f32 100755 --- a/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_list.xml +++ b/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_list.xml @@ -48,11 +48,10 @@ <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ -<tal:block tal:define=\'amp python:"\\""\'> \n -<tal:block tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/x-comma-separated-values;; charset=utf-8\');\n - dummy2 python: request.RESPONSE.setHeader(\'Content-disposition\',\'attachment;; filename=%s%s.csv%s\' % (amp,form.title_or_id(),amp) ); ">\n -\n -<tal:block tal:define="groups python: form.get_groups(include_empty=1);\n +<tal:block tal:define=\'amp python:"\\""\'\n +><tal:block tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/x-comma-separated-values;; charset=utf-8\');\n + dummy2 python: request.RESPONSE.setHeader(\'Content-disposition\',\'attachment;; filename=%s%s.csv%s\' % (amp,form.title_or_id(),amp) ); "\n +><tal:block tal:define="groups python: form.get_groups(include_empty=1);\n field_errors python: request.get(\'field_errors\',{});\n dummy python: request.set(\'here\',here);\n listbox python:form[\'listbox\'];" ><tal:block tal:content="python: listbox.Listbox_exportCsv()" /></tal:block></tal:block>\n diff --git a/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_view.xml b/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_view.xml index e3b75be6d1aa4f33a2e016455f0c7dd664f0c785..c1981a3e4a99862c4f3ef20d0345bfc99a6ca29e 100755 --- a/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_view.xml +++ b/bt5/erp5_csv_style/SkinTemplateItem/portal_skins/erp5_csv_style/form_view.xml @@ -56,12 +56,10 @@ <tal:block tal:replace="nothing" >\n form_view is a quick hack to display only the listbox called "listbox"\n -</tal:block>\n -<tal:block tal:define=\'amp python:"\\""\'> \n -<tal:block tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/x-comma-separated-values;; charset=utf-8\');\n - dummy2 python: request.RESPONSE.setHeader(\'Content-disposition\',\'attachment;; filename=%s%s.csv%s\' % (amp,form.title_or_id(),amp) ); ">\n -\n -<tal:block tal:define="groups python: form.get_groups(include_empty=1);\n +</tal:block><tal:block tal:define=\'amp python:"\\""\'\n +><tal:block tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/x-comma-separated-values;; charset=utf-8\');\n + dummy2 python: request.RESPONSE.setHeader(\'Content-disposition\',\'attachment;; filename=%s%s.csv%s\' % (amp,form.title_or_id(),amp) ); "\n +><tal:block tal:define="groups python: form.get_groups(include_empty=1);\n field_errors python: request.get(\'field_errors\',{});\n dummy python: request.set(\'here\',here);\n listbox python:form[\'listbox\'];" ><tal:block tal:content="python: listbox.Listbox_exportCsv()" /></tal:block></tal:block>\n diff --git a/bt5/erp5_csv_style/bt/change_log b/bt5/erp5_csv_style/bt/change_log index c10b0a9f263c56630e887c35006d0d4b826f6571..fbc1ba1a76d0df10ab806565a3dab8bb4da01132 100755 --- a/bt5/erp5_csv_style/bt/change_log +++ b/bt5/erp5_csv_style/bt/change_log @@ -1,2 +1,5 @@ +2006-03-14 jerome +* Don't display empty lines + 2006-02-24 Seb * Created this business template in order to split erp5_core \ No newline at end of file diff --git a/bt5/erp5_csv_style/bt/copyright_list b/bt5/erp5_csv_style/bt/copyright_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..22de975f9372254356a382e61541629bce0da443 100755 --- a/bt5/erp5_csv_style/bt/copyright_list +++ b/bt5/erp5_csv_style/bt/copyright_list @@ -0,0 +1 @@ +Copyright (c) 2001-2006 Nexedi SARL \ No newline at end of file diff --git a/bt5/erp5_csv_style/bt/description b/bt5/erp5_csv_style/bt/description index 9585176379c4457a92cfb93749aa40d873c52492..75244656df653589ceedfe3a3cf42ceec569cb38 100755 --- a/bt5/erp5_csv_style/bt/description +++ b/bt5/erp5_csv_style/bt/description @@ -1 +1 @@ -The ERP5 Html style used in order to export data into OpenOffice.org \ No newline at end of file +The ERP5 CSV style is used in order to export data into OpenOffice.org \ No newline at end of file diff --git a/bt5/erp5_csv_style/bt/license b/bt5/erp5_csv_style/bt/license index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3a3e12bcad97e4b3bdd6a8bb499fd23a4bcb0819 100755 --- a/bt5/erp5_csv_style/bt/license +++ b/bt5/erp5_csv_style/bt/license @@ -0,0 +1 @@ +GPL \ No newline at end of file