X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/ac5d6892f5bb2b05aa4ab47dd69260d1a3bd05f7..d91387052e5e5293ca9fbb839214005cff9f3659:/skins/custom_content/document_edit_template.pt diff --git a/skins/custom_content/document_edit_template.pt b/skins/custom_content/document_edit_template.pt old mode 100755 new mode 100644 index 0295630..8755973 --- a/skins/custom_content/document_edit_template.pt +++ b/skins/custom_content/document_edit_template.pt @@ -1,51 +1,29 @@ -<html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master"> - +<html metal:use-macro="here/main_template/macros/master"> <head> <title>Document edit form</title> - <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"/> <link href="zpt_stylesheet.css" rel="stylesheet" media="screen"/> </head> - - <body> - <div i18n:domain="cmf_default"> - <div metal:fill-slot="header"> - <div metal:use-macro="here/widgets/macros/generic_header"> - generic_header macro - </div> + <body i18n:domain="plinn"> + <div metal:fill-slot="header"> + <div metal:use-macro="here/widgets/macros/generic_header"> + generic_header macro </div> - <div id="Desktop"> - <div metal:fill-slot="main"> - <form action="document_edit_form" method="post" enctype="multipart/form-data" - tal:attributes="action string:${here/absolute_url}/document_edit_form"> - <table class="FormLayout"> - <tr> - <td class="TextField" colspan="2" i18n:translate=""> - <div tal:define="inputname string:text; formname string:edit_form; inputvalue here/text" tal:omit-tag=""> - <div metal:use-macro="here/wysiwyg_support/macros/wysiwygEditorBox"> - Wysiwig Code - </div> - </div> - </td> - </tr> - <!-- - <tr> - <th nowrap="nowrap" i18n:translate="">External file</th> - <td width="100%"> - <input type="file" name="file" size="25" /> - </td> - </tr> - --> - <tr> - <td><br /></td> - <td width="100%"> - <input type="submit" name="change_and_view" value="Change and View" i18n:attributes="value" /> - </td> - </tr> - </table> - </form> - </div> + </div> + <div id="Desktop"> + <div metal:fill-slot="main"> + <form action="document_edit_form" method="post" enctype="multipart/form-data" tal:attributes="action string:${here/absolute_url}/document_edit_form"> + <div tal:define="inputname string:text; formname string:edit_form; inputvalue here/text" tal:omit-tag=""> + <div metal:use-macro="here/wysiwyg_support/macros/wysiwygEditorBox"> + Wysiwig Code + </div> + </div> + <div> + <br/> + <input type="submit" name="change_and_view" value="Save" i18n:attributes="value"/> + </div> + </form> </div> </div> </body> - -</html> \ No newline at end of file +</html>