From 5dae0c715af63db2d624346a0bcf1fc985b01606 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 10 Nov 2006 12:11:23 +0000 Subject: [PATCH] Update form_render_PDFeForm to use new erp5_xhtml_style way to call developper mode buttons. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11245 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml | 4 ++-- bt5/erp5_pdf_editor/bt/revision | 2 +- bt5/erp5_pdf_editor/bt/short_title | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 bt5/erp5_pdf_editor/bt/short_title diff --git a/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml b/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml index fbfb18748c..bdf3615b53 100644 --- a/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml +++ b/bt5/erp5_pdf_editor/SkinTemplateItem/portal_skins/erp5_pdf_editor/form_render_PDFeForm.xml @@ -101,8 +101,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n object_name form/title;\n object_name python:object_name.replace(\' \',\'\')">\n \n - <tal:block tal:define="template python: here.developper_shortcut_render">\n - <tal:block metal:use-macro="template/macros/form" />\n + <tal:block tal:condition="preferred_html_style_developper_mode">\n + <tal:block metal:use-macro="developper_shortcut_render/macros/form"/>\n </tal:block>\n \n <tal:block tal:repeat="pagenum python:range(len(groups))"\n diff --git a/bt5/erp5_pdf_editor/bt/revision b/bt5/erp5_pdf_editor/bt/revision index d8263ee986..e440e5c842 100644 --- a/bt5/erp5_pdf_editor/bt/revision +++ b/bt5/erp5_pdf_editor/bt/revision @@ -1 +1 @@ -2 \ No newline at end of file +3 \ No newline at end of file diff --git a/bt5/erp5_pdf_editor/bt/short_title b/bt5/erp5_pdf_editor/bt/short_title new file mode 100644 index 0000000000..4af18322e3 --- /dev/null +++ b/bt5/erp5_pdf_editor/bt/short_title @@ -0,0 +1 @@ +None \ No newline at end of file -- 2.30.9