From: Vladimir I. <vl...@us...> - 2002-11-27 10:02:32
|
Update of /cvsroot/collective/CMFVDocument/skins/plone_vdocument In directory sc8-pr-cvs1:/tmp/cvs-serv9623/skins/plone_vdocument Modified Files: Tag: vlado-old_style-branch imageelement_edit_form.pt photoelement_edit_form.pt photoelement_view.pt textelement_edit_form.pt vdocument_elements.pt vdocument_macros.pt vdocument_view.pt Log Message: oldstyle Index: imageelement_edit_form.pt =================================================================== RCS file: /cvsroot/collective/CMFVDocument/skins/plone_vdocument/imageelement_edit_form.pt,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** imageelement_edit_form.pt 25 Nov 2002 17:17:15 -0000 1.5 --- imageelement_edit_form.pt 27 Nov 2002 10:02:28 -0000 1.5.2.1 *************** *** 1,4 **** <tal:block tal:define="eid here/getId"> ! <input type="hidden" name="id" value="" tal:attributes="value eid" /> --- 1,4 ---- <tal:block tal:define="eid here/getId"> ! <input type="hidden" name="elements.id:records" value="" tal:attributes="value eid" /> *************** *** 30,34 **** onfocus="formtooltip('title_help',1)" onblur="formtooltip('title_help',0)" ! tal:attributes="value here/Title; tabindex tabindex/next|nothing; onfocus string:formtooltip('title_help_${eid}',1); --- 30,35 ---- onfocus="formtooltip('title_help',1)" onblur="formtooltip('title_help',0)" ! tal:attributes="name string:elements.title:records; ! value here/Title; tabindex tabindex/next|nothing; onfocus string:formtooltip('title_help_${eid}',1); *************** *** 69,73 **** onfocus="formtooltip('image_help',1)" onblur="formtooltip('image_help',0)" ! tal:attributes="tabindex tabindex/next|nothing; onfocus string:formtooltip('image_help_${eid}',1); onblur string:formtooltip('image_help_${eid}',0);" --- 70,75 ---- onfocus="formtooltip('image_help',1)" onblur="formtooltip('image_help',0)" ! tal:attributes="name string:elements.file:records; ! tabindex tabindex/next|nothing; onfocus string:formtooltip('image_help_${eid}',1); onblur string:formtooltip('image_help_${eid}',0);" *************** *** 110,114 **** onfocus="formtooltip('description_help',1)" onblur="formtooltip('description_help',0)" ! tal:attributes="value here/Description; tabindex tabindex/next|nothing; onfocus string:formtooltip('description_help_${eid}',1); --- 112,117 ---- onfocus="formtooltip('description_help',1)" onblur="formtooltip('description_help',0)" ! tal:attributes="name string:elements.description:records; ! value here/Description; tabindex tabindex/next|nothing; onfocus string:formtooltip('description_help_${eid}',1); *************** *** 133,139 **** <tal:block tal:repeat="value python:('left', 'none', 'right')"> <input class="noborder" ! type="radio" name="float" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="value value; checked python:test(here.float==value, 1, 0); tabindex tabindex/next|nothing; --- 136,143 ---- <tal:block tal:repeat="value python:('left', 'none', 'right')"> <input class="noborder" ! type="radio" name="" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="name string:elements.${eid}_float:records; ! value value; checked python:test(here.float==value, 1, 0); tabindex tabindex/next|nothing; *************** *** 150,155 **** <div metal:use-macro="here/vdocument_macros/macros/split_here" /> - - <div metal:use-macro="here/vdocument_macros/macros/element_edit" /> </tal:block> --- 154,157 ---- Index: photoelement_edit_form.pt =================================================================== RCS file: /cvsroot/collective/CMFVDocument/skins/plone_vdocument/photoelement_edit_form.pt,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** photoelement_edit_form.pt 25 Nov 2002 17:17:15 -0000 1.4 --- photoelement_edit_form.pt 27 Nov 2002 10:02:28 -0000 1.4.2.1 *************** *** 4,9 **** <div class="row" ! tal:define="error_title errors/title|nothing; ! Title here/Title;"> <div class="label"> <span i18n:translate="label_title">Title</span> --- 4,8 ---- <div class="row" ! tal:define="Title here/Title;"> <div class="label"> <span i18n:translate="label_title">Title</span> *************** *** 14,25 **** style="visibility:hidden" tal:attributes="id string:title_help_${eid}"> ! Enter the title of the image. </div> </div> ! <div class="field" ! tal:attributes="class python:test(error_title, 'field error', 'field')" > ! ! <div tal:replace="error_title" /> <input type="text" --- 13,21 ---- style="visibility:hidden" tal:attributes="id string:title_help_${eid}"> ! Enter the title of the element. </div> </div> ! <div class="field"> <input type="text" *************** *** 30,34 **** onfocus="formtooltip('title_help',1)" onblur="formtooltip('title_help',0)" ! tal:attributes="value here/Title; tabindex tabindex/next|nothing; onfocus string:formtooltip('title_help_${eid}',1); --- 26,31 ---- onfocus="formtooltip('title_help',1)" onblur="formtooltip('title_help',0)" ! tal:attributes="name string:elements.title:records; ! value here/Title; tabindex tabindex/next|nothing; onfocus string:formtooltip('title_help_${eid}',1); *************** *** 43,51 **** </div> ! <div class="row" ! tal:define="error_file errors/file|nothing; ! file request/file | here/file | nothing;"> ! <div class="label required"> <span i18n:translate="label_image">Image</span> <div id="image_help" --- 40,46 ---- </div> ! <div class="row"> ! <div class="label"> <span i18n:translate="label_image">Image</span> <div id="image_help" *************** *** 58,66 **** </div> ! <div class="field" ! tal:attributes="class python:test(error_file, 'field error', 'field')"> - <div tal:condition="error_file" - tal:replace="structure string:$error_file <br />" /> <input type="file" name="file" --- 53,58 ---- </div> ! <div class="field"> <input type="file" name="file" *************** *** 69,73 **** onfocus="formtooltip('image_help',1)" onblur="formtooltip('image_help',0)" ! tal:attributes="tabindex tabindex/next|nothing; onfocus string:formtooltip('image_help_${eid}',1); onblur string:formtooltip('image_help_${eid}',0);" --- 61,66 ---- onfocus="formtooltip('image_help',1)" onblur="formtooltip('image_help',0)" ! tal:attributes="name string:elements.file:records; ! tabindex tabindex/next|nothing; onfocus string:formtooltip('image_help_${eid}',1); onblur string:formtooltip('image_help_${eid}',0);" *************** *** 82,89 **** </div> - <div class="row" ! tal:define="error_description errors/description|nothing; ! Description here/Description;"> <div class="label"> <span i18n:translate="label_description">Description</span> --- 75,80 ---- </div> <div class="row" ! tal:define="Description here/Description;"> <div class="label"> <span i18n:translate="label_description">Description</span> *************** *** 94,105 **** style="visibility:hidden" tal:attributes="id string:description_help_${eid}"> ! Enter the description of the image. </div> </div> ! <div class="field" ! tal:attributes="class python:test(error_description, 'field error', 'field')" > ! ! <div tal:replace="error_description" /> <input type="text" --- 85,93 ---- style="visibility:hidden" tal:attributes="id string:description_help_${eid}"> ! Enter the description of the element. </div> </div> ! <div class="field"> <input type="text" *************** *** 110,114 **** onfocus="formtooltip('description_help',1)" onblur="formtooltip('description_help',0)" ! tal:attributes="value here/Description; tabindex tabindex/next|nothing; onfocus string:formtooltip('description_help_${eid}',1); --- 98,103 ---- onfocus="formtooltip('description_help',1)" onblur="formtooltip('description_help',0)" ! tal:attributes="name string:elements.description:records; ! value here/Description; tabindex tabindex/next|nothing; onfocus string:formtooltip('description_help_${eid}',1); *************** *** 127,139 **** style="visibility:hidden" tal:attributes="id string:float_help_${eid}"> ! XXX </div> </div> ! <div class="field"> <tal:block tal:repeat="value python:('left', 'none', 'right')"> <input class="noborder" ! type="radio" name="float" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="value value; checked python:test(here.float==value, 1, 0); tabindex tabindex/next|nothing; --- 116,130 ---- style="visibility:hidden" tal:attributes="id string:float_help_${eid}"> ! Float. </div> </div> ! <div class="field"> ! <tal:block tal:repeat="value python:('left', 'none', 'right')"> <input class="noborder" ! type="radio" name="" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="name string:elements.${eid}_float:records; ! value value; checked python:test(here.float==value, 1, 0); tabindex tabindex/next|nothing; *************** *** 151,159 **** <div class="row"> <div class="label"> ! <span i18n:translate="label_int_display">Display</span> <div class="help" style="visibility:hidden" id="" i18n:translate="help_int_display" tal:attributes="id string:int_display_help_${eid}"> ! XXX </div> </div> --- 142,150 ---- <div class="row"> <div class="label"> ! <span i18n:translate="label_int_display">Internal Display Size</span> <div class="help" style="visibility:hidden" id="" i18n:translate="help_int_display" tal:attributes="id string:int_display_help_${eid}"> ! Internal Display Size </div> </div> *************** *** 161,167 **** <tal:block tal:repeat="display here/getDisplays"> <input class="noborder" ! type="radio" name="int_display" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="value display/name; checked python:test(here.int_display==display['name'], 1, 0); tabindex tabindex/next|nothing; --- 152,159 ---- <tal:block tal:repeat="display here/getDisplays"> <input class="noborder" ! type="radio" name="" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="name string:elements.${eid}_int_display:records; ! value display/name; checked python:test(here.int_display==display['name'], 1, 0); tabindex tabindex/next|nothing; *************** *** 173,176 **** --- 165,170 ---- tal:content="display/label"> XXX</label> + <br tal:define="num repeat/display/number" + tal:condition="python:num == 3" /> </tal:block> </div> *************** *** 179,187 **** <div class="row"> <div class="label"> ! <span i18n:translate="label_ext_display">Display</span> <div class="help" style="visibility:hidden" id="" i18n:translate="help_ext_display" tal:attributes="id string:ext_display_help_${eid}"> ! XXX </div> </div> --- 173,181 ---- <div class="row"> <div class="label"> ! <span i18n:translate="label_ext_display">External Display Size</span> <div class="help" style="visibility:hidden" id="" i18n:translate="help_ext_display" tal:attributes="id string:ext_display_help_${eid}"> ! External Display Size </div> </div> *************** *** 189,195 **** <tal:block tal:repeat="display here/getDisplays"> <input class="noborder" ! type="radio" name="ext_display" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="value display/name; checked python:test(here.ext_display==display['name'], 1, 0); tabindex tabindex/next|nothing; --- 183,190 ---- <tal:block tal:repeat="display here/getDisplays"> <input class="noborder" ! type="radio" name="" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="name string:elements.${eid}_ext_display:records; ! value display/name; checked python:test(here.ext_display==display['name'], 1, 0); tabindex tabindex/next|nothing; *************** *** 201,204 **** --- 196,201 ---- tal:content="display/label"> XXX</label> + <br tal:define="num repeat/display/number" + tal:condition="python:num == 3" /> </tal:block> </div> *************** *** 207,212 **** <div metal:use-macro="here/vdocument_macros/macros/split_here" /> - - <div metal:use-macro="here/vdocument_macros/macros/element_edit" /> </tal:block> --- 204,207 ---- Index: photoelement_view.pt =================================================================== RCS file: /cvsroot/collective/CMFVDocument/skins/plone_vdocument/photoelement_view.pt,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** photoelement_view.pt 24 Nov 2002 23:14:51 -0000 1.4 --- photoelement_view.pt 27 Nov 2002 10:02:28 -0000 1.4.2.1 *************** *** 11,16 **** <a href="" tal:define="ext_display here/ext_display; ! dimensions python:here.getDimensionsFor(ext_display);" ! tal:attributes="onclick string:window.open('${here/absolute_url}?size=${ext_display}','dont_know_what_this_argument_is_for','dependent=yes,width=${dimensions/w},height=${dimensions/h},screenX=200,screenY=200,titlebar=no');; return false"> <img tal:replace="structure python:here.tag(size=here.int_display)" /> </a> --- 11,18 ---- <a href="" tal:define="ext_display here/ext_display; ! dimensions python:here.getDimensionsFor(ext_display); ! h python:int(dimensions['h'])+20; ! w python:int(dimensions['w'])+20;" ! tal:attributes="onclick string:window.open('${here/absolute_url}?size=${ext_display}','dont_know_what_this_argument_is_for','dependent=yes,width=${w},height=${h},screenX=200,screenY=200,titlebar=no');; return false"> <img tal:replace="structure python:here.tag(size=here.int_display)" /> </a> Index: textelement_edit_form.pt =================================================================== RCS file: /cvsroot/collective/CMFVDocument/skins/plone_vdocument/textelement_edit_form.pt,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** textelement_edit_form.pt 26 Nov 2002 09:44:57 -0000 1.6 --- textelement_edit_form.pt 27 Nov 2002 10:02:28 -0000 1.6.2.1 *************** *** 1,4 **** <tal:block tal:define="eid here/getId"> ! <input type="hidden" name="id" value="" tal:attributes="value eid" /> --- 1,4 ---- <tal:block tal:define="eid here/getId"> ! <input type="hidden" name="elements.id:records" value="" tal:attributes="value eid" /> *************** *** 14,19 **** </div> </div> ! <div class="field" tal:define="text python:request.get('text', here.text)"> ! <div tal:define="inputname string:text; formname string:edit_form; inputvalue text; --- 14,19 ---- </div> </div> ! <div class="field" tal:define="text here/EditableBody"> ! <div tal:define="inputname string:elements.text:records; formname string:edit_form; inputvalue text; *************** *** 27,31 **** </div> </div> ! <div class="row"> <div class="label"> --- 27,31 ---- </div> </div> ! <p tal:content="here/text_format|string:xxx" /> <div class="row"> <div class="label"> *************** *** 37,46 **** tal:attributes="id string:format_help_${eid}"> Select which format you want to type the contents of this ! document in. If you are unsure of which format to use, just select Plain Text and type the document as you usually do. </div> </div> ! <div class="field"> <input class="noborder" type="radio" --- 37,46 ---- tal:attributes="id string:format_help_${eid}"> Select which format you want to type the contents of this ! element in. If you are unsure of which format to use, just select Plain Text and type the document as you usually do. </div> </div> ! <div class="field"> <input class="noborder" type="radio" *************** *** 51,55 **** onfocus="formtooltip('format_help',1)" onblur="formtooltip('format_help',0)" ! tal:attributes="checked python:test(here.text_format=='structured-text', 1, 0); tabindex tabindex/next|nothing; onfocus string:formtooltip('format_help_${eid}',1); --- 51,56 ---- onfocus="formtooltip('format_help',1)" onblur="formtooltip('format_help',0)" ! tal:attributes="name string:elements.${eid}_text_format:records; ! checked python: path('here/text_format')=='structured-text'; tabindex tabindex/next|nothing; onfocus string:formtooltip('format_help_${eid}',1); *************** *** 68,72 **** onfocus="formtooltip('format_help',1)" onblur="formtooltip('format_help',0)" ! tal:attributes="checked python:test(here.text_format=='html', 1, 0); tabindex tabindex/next|nothing; onfocus string:formtooltip('format_help_${eid}',1); --- 69,74 ---- onfocus="formtooltip('format_help',1)" onblur="formtooltip('format_help',0)" ! tal:attributes="name string:elements.${eid}_text_format:records; ! checked python: path('here/text_format') == 'html'; tabindex tabindex/next|nothing; onfocus string:formtooltip('format_help_${eid}',1); *************** *** 86,90 **** onfocus="formtooltip('format_help',1)" onblur="formtooltip('format_help',0)" ! tal:attributes="checked python:test(here.text_format=='plain', 1, 0); tabindex tabindex/next|nothing; onfocus string:formtooltip('format_help_${eid}',1); --- 88,93 ---- onfocus="formtooltip('format_help',1)" onblur="formtooltip('format_help',0)" ! tal:attributes="name string:elements.${eid}_text_format:records; ! checked python: path('here/text_format') == 'plain'; tabindex tabindex/next|nothing; onfocus string:formtooltip('format_help_${eid}',1); *************** *** 97,104 **** Plain Text</label> </div> ! </div> ! <metal:block use-macro="here/vdocument_macros/macros/split_here" /> ! <metal:block use-macro="here/vdocument_macros/macros/element_edit" /> </tal:block> --- 100,106 ---- Plain Text</label> </div> ! </div> ! <div metal:use-macro="here/vdocument_macros/macros/split_here" /> </tal:block> Index: vdocument_elements.pt =================================================================== RCS file: /cvsroot/collective/CMFVDocument/skins/plone_vdocument/vdocument_elements.pt,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -C2 -d -r1.10 -r1.10.2.1 *** vdocument_elements.pt 27 Nov 2002 08:46:32 -0000 1.10 --- vdocument_elements.pt 27 Nov 2002 10:02:28 -0000 1.10.2.1 *************** *** 7,17 **** metal:use-macro="here/main_template/macros/master"> ! <metal:block fill-slot="css_slot"> ! <style type="text/css" media="all" tal:content="string: @import url(${here/portal_url}/vdocument.css);"></style> ! </metal:block> ! ! <metal:block fill-slot="javascript_head_slot"> ! <script type="text/javascript" tal:attributes="src string:$portal_url/pdlib.js"></script> ! <script type="text/javascript" tal:attributes="src string:$portal_url/vdocument_scripts.js"></script> </metal:block> --- 7,12 ---- metal:use-macro="here/main_template/macros/master"> ! <metal:block metal:fill-slot="css_slot"> ! <style type="text/css" media="all" tal:content="string: @import url(${here/portal_url}/vdocument.css);"></style> </metal:block> *************** *** 23,29 **** standalone python:1; Iterator python:modules['Products.CMFPlone'].IndexIterator; ! global tabindex python:Iterator(); ! global elements here/elementValues; ! global DateTime python:modules['DateTime'].DateTime;"> <div class="title"> --- 18,30 ---- standalone python:1; Iterator python:modules['Products.CMFPlone'].IndexIterator; ! global tabindex python:Iterator();"> ! ! <form name="elements_form" ! method="post" ! action="folder_object" ! enctype="multipart/form-data" ! tal:attributes="action here/absolute_url" ! tal:define="global elements here/elementValues; ! global DateTime python:modules['DateTime'].DateTime;"> <div class="title"> *************** *** 31,38 **** </div> ! <div tal:define="types here/allowedContentTypes; no_types python:len(types);" > ! <div class="row" style="min-height: 1em;margin-bottom: 0.5em"> ! <form name="elements_form" method="post" tal:attributes="action here/absolute_url"> <!-- Add Item pulldown --> <select name="type_name" --- 32,66 ---- </div> ! <div class="spacer"></div> ! ! <metal:block define-macro="actions"> ! <tal:block tal:define="buttons actions/vdocument_buttons;" ! tal:repeat="button buttons"> ! <input class="context" ! type="submit" ! name="" ! value="" ! tabindex="" ! tal:condition="python:elements" ! i18n:attributes="value" ! tal:attributes="value button/name; ! name button/url; ! tabindex tabindex/next;" /> ! </tal:block> ! <input class="context" ! type="submit" ! value="Select All" ! name="selectButton" ! title="Select all items" ! onClick="toggleSelect(this); return false;" ! i18n:attributes="value" ! tal:attributes="tabindex tabindex/next" ! tal:condition="python:elements"> ! </metal:block> ! ! <div class="group" ! tal:define="types here/allowedContentTypes; no_types python:len(types);" > ! <div class="row" style="min-height: 1em;margin-bottom: 0.5em;margin-top: 0.5em"> <!-- Add Item pulldown --> <select name="type_name" *************** *** 65,69 **** , 'Add New ' + types[0].Title() , 'Add New Element');" /> - </form> </div> --- 93,96 ---- *************** *** 71,126 **** - <metal:block use-macro="here/vdocument_macros/macros/vdocument_buttons" /> - - <script language="JavaScript"> - <!-- - function hideLevel( _levelId) { - var thisLevel = document.getElementById( _levelId ); - thisLevel.style.display = "none"; - } - - function showLevel( _levelId) { - var thisLevel = document.getElementById( _levelId ); - if ( thisLevel.style.display == "none") { - thisLevel.style.display = "block"; - } - else { - hideLevel( _levelId); - } - } - // --> - </script> - - <tal:block tal:repeat="item elements"> ! ! <tal:block tal:define="content_id string:${item/getId}_content; ! edit_id string:${item/getId}_edit;"> ! ! <p class="drop-target">Drag elements and drop them here</p> ! ! <div style="display: block;" ! class="box-holder" ! tal:attributes="id content_id; ! onDblClick string:showLevel('${edit_id}');; hideLevel('${content_id}')"> ! <div tal:define="template_id python:item.getTypeInfo().getActionById('view_form'); ! epath string:here/${item/getId}/${template_id}" ! tal:replace="structure python:path(epath)" /> ! </div> ! ! <div style="display: none;" ! tal:attributes="id edit_id; ! onDblClick string:showLevel('${content_id}');; hideLevel('${edit_id}');"> ! <form class="group" ! name="element_form" ! method="post" ! action="folder_object" ! enctype="multipart/form-data" ! tal:attributes="action string:${item/absolute_url}/element_edit;"> ! <span class="legend"> <span tal:content="python:item.getTypeInfo().getId()" /> </span> - <tal:block tal:define="template_id python:item.getTypeInfo().getActionById('edit_form'); epath string:here/${item/getId}/${template_id}"> --- 98,112 ---- <tal:block tal:repeat="item elements"> ! <div class="group"> <span class="legend"> + <input type="checkbox" class="noborder" name="ids:list" id="#" + value="#" + tal:attributes="value item/getId; + id python: 'cb_'+item.getId(); + checked request/ids_checked|nothing; + tabindex tabindex/next"/> <span tal:content="python:item.getTypeInfo().getId()" /> </span> <tal:block tal:define="template_id python:item.getTypeInfo().getActionById('edit_form'); epath string:here/${item/getId}/${template_id}"> *************** *** 128,151 **** </tal:block> - </form> </div> ! ! </tal:block> </tal:block> - <!-- - <div id="box-context-menu" class="context-menu"> - <div class="context-menu-item" onmouseup="Box_add()">Add a box...</div> ! <br /> ! <div class="context-menu-item" onmouseup="Boxes_copy()">Copy</div> ! <div class="context-menu-item" onmouseup="Boxes_cut()">Cut</div> ! <div class="context-menu-item" onmouseup="Boxes_paste()" filter="false">Paste</div> ! <div class="context-menu-item" onmouseup="Boxes_remove()">Remove</div> ! </div> ! --> ! <div id="drag-feedback-box"></div> ! <script type="text/javascript"><!-- ! pd_setupPage(); ! // --></script> </div> --- 114,125 ---- </tal:block> </div> ! ! </tal:block> ! <metal:block use-macro="python:path('here/%s/macros/actions' % template.id)" /> ! ! </form> </div> Index: vdocument_macros.pt =================================================================== RCS file: /cvsroot/collective/CMFVDocument/skins/plone_vdocument/vdocument_macros.pt,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** vdocument_macros.pt 26 Nov 2002 09:44:56 -0000 1.3 --- vdocument_macros.pt 27 Nov 2002 10:02:28 -0000 1.3.2.1 *************** *** 8,18 **** style="visibility:hidden" tal:attributes="id string:splithere_help_${eid}"> ! XXX. </div> </div> <div class="field"> ! <input class="noborder" type="radio" name="split_here" value="on" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="checked python:test(here.split_here, 'checked', ''); tabindex tabindex/next|nothing; onfocus string:formtooltip('splithere_help_${eid}',1); --- 8,19 ---- style="visibility:hidden" tal:attributes="id string:splithere_help_${eid}"> ! If you choose yes, this element becomes a page splitter. </div> </div> <div class="field"> ! <input class="noborder" type="radio" name="" value="on" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="name string:elements.${eid}_split_here:records; ! checked python:test(here.split_here, 'checked', ''); tabindex tabindex/next|nothing; onfocus string:formtooltip('splithere_help_${eid}',1); *************** *** 25,31 **** </label> ! <input class="noborder" type="radio" name="split_here" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="checked python:test(here.split_here, 0, 1); tabindex tabindex/next|nothing; onfocus string:formtooltip('splithere_help_${eid}',1); --- 26,33 ---- </label> ! <input class="noborder" type="radio" name="" value="" tabindex="" id="" onfocus="" onblur="" ! tal:attributes="name string:elements.${eid}_split_here:records; ! checked python:test(here.split_here, 0, 1); tabindex tabindex/next|nothing; onfocus string:formtooltip('splithere_help_${eid}',1); *************** *** 40,82 **** </div> </div> - </metal:block> - - <metal:block define-macro="element_edit"> - <div class="row"> - <input class="context" - type="submit" - name="element_edit" - value="Edit" - tabindex="" - i18n:attributes="value" - tal:attributes="tabindex tabindex/next|nothing;" /> - - </div> - </metal:block> - - <metal:block define-macro="vdocument_buttons"> - <form method="post" tal:attributes="action here/absolute_url"> - <tal:block tal:define="buttons actions/vdocument_buttons;" - tal:repeat="button buttons"> - <input class="context" - type="submit" - name="" - value="" - tabindex="" - tal:condition="python:elements" - i18n:attributes="value" - tal:attributes="value button/name; - name button/url; - tabindex tabindex/next;" /> - </tal:block> - <input class="context" - type="submit" - value="Select All" - name="selectButton" - title="Select all items" - onClick="toggleSelect(this); return false;" - i18n:attributes="value" - tal:attributes="tabindex tabindex/next" - tal:condition="python:elements" /> - </form> </metal:block> --- 42,44 ---- Index: vdocument_view.pt =================================================================== RCS file: /cvsroot/collective/CMFVDocument/skins/plone_vdocument/vdocument_view.pt,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** vdocument_view.pt 24 Nov 2002 19:59:21 -0000 1.5 --- vdocument_view.pt 27 Nov 2002 10:02:28 -0000 1.5.2.1 *************** *** 20,24 **** </h1> ! <div class="spacer" /> <tal:block tal:repeat="item elements"> --- 20,24 ---- </h1> ! <div class="spacer"></div> <tal:block tal:repeat="item elements"> |