EduploneWebdidactics/skins/EduploneWebdidactics metadata_edit_form.cpt,1.1,1.2 metadata_edit_form.cpt.metadata,1.1,1.2
Nils Haagen <[email protected]>
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12160/skins/EduploneWebdidactics
Modified Files:
metadata_edit_form.cpt metadata_edit_form.cpt.metadata
Log Message:
took all the windows-breaks out
Index: metadata_edit_form.cpt
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/metadata_edit_form.cpt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** metadata_edit_form.cpt 20 Jun 2004 10:31:26 -0000 1.1
--- metadata_edit_form.cpt 16 Sep 2004 19:20:39 -0000 1.2
***************
*** 1,95 ****
! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
! lang="en-US"
! metal:use-macro="here/main_template/macros/master"
! i18n:domain="cmfmetadata">
!
! <head><title></title></head>
!
! <metal:border fill-slot="head_slot">
! <tal:border define="dummy python:request.set('enable_border',1)" />
! </metal:border>
!
! <body>
!
! <div metal:fill-slot="main"
! tal:define="errors options/state/getErrors;
! mdtool here/portal_metadata;
! binding python:mdtool.getMetadata(here) or None;"
! >
!
! <h1 i18n:translate="cmfmetadata_editmetadata">Edit Metadata</h1>
!
!
! <p i18n:translate="description_edit_properties">
! This information, also referred to as <em>metadata</em> is the
! collection of information that is used to categorize an
! object, assign effectuation dates and expiration dates,
! language, and keywords.
! </p>
! <form id="metadataform"
! action=""
! method="post"
! tal:define="errors options/state/getErrors;">
!
! <h6>HAAALLLLOOOOO</h6>
!
! <input type="hidden" name="form.submitted" value="1" />
! <tal:block repeat="mdsetname python:binding.getSetNames()">
! <fieldset tal:define="mdset python:binding.getSet(mdsetname)">
! <legend tal:content="mdset/title_or_id" />
! <tal:block repeat="mdelement mdset/objectValues">
!
! <div class="field"
! tal:define="mdelement_key mdelement/getFieldKey;
! mdelement_id mdelement/id;
! error python:errors.get(mdelement_key, None) or errors.get(mdelement_id, None);"
! tal:attributes="class python:test(error,
! 'field error', 'field')">
!
! <label tal:content="mdelement/title_or_id"
! i18n:translate="">Label</label>
!
! <span tal:condition="mdelement/isRequired"
! class="fieldRequired"
! title="Required"
! i18n:domain="plone"
! i18n:attributes="title"
! i18n:translate="label_required">(Required)</span>
!
! <div class="formHelp"
! tal:define="desc python:mdelement.Description()"
! tal:condition="desc"
! tal:content="structure desc"
! i18n:translate="">Help</div>
!
! <div tal:content="error">
! Validation error output
! </div>
! <div tal:define="input python:mdelement.renderEdit(value=binding[mdsetname][mdelement_id], request=request)"
! tal:replace="structure input"
! tal:attributes="tabindex tabindex/next;">
! </div>
!
! </div>
!
!
! </tal:block>
! </fieldset>
! </tal:block>
!
! <div class="formControls">
! <input class="context"
! tabindex=""
! type="submit"
! name="submit"
! value="Save"
! i18n:attributes="value"
! tal:attributes="tabindex tabindex/next;" />
! </div>
! </form>
! <div metal:use-macro="here/document_byline/macros/byline">
! Get the byline - contains details about author and modification date.
! </div>
! </div>
! </body>
! </html>
--- 1,94 ----
! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
! lang="en-US"
! metal:use-macro="here/main_template/macros/master"
! i18n:domain="cmfmetadata">
!
! <head><title></title></head>
!
! <metal:border fill-slot="head_slot">
! <tal:border define="dummy python:request.set('enable_border',1)" />
! </metal:border>
!
! <body>
!
! <div metal:fill-slot="main"
! tal:define="errors options/state/getErrors;
! mdtool here/portal_metadata;
! binding python:mdtool.getMetadata(here) or None;"
! >
!
! <h1 i18n:translate="cmfmetadata_editmetadata">Edit Metadata</h1>
!
!
! <p i18n:translate="description_edit_properties">
! This information, also referred to as <em>metadata</em> is the
! collection of information that is used to categorize an
! object, assign effectuation dates and expiration dates,
! language, and keywords.
! </p>
! <form id="metadataform"
! action=""
! method="post"
! tal:define="errors options/state/getErrors;">
!
!
! <input type="hidden" name="form.submitted" value="1" />
! <tal:block repeat="mdsetname python:binding.getSetNames()">
! <fieldset tal:define="mdset python:binding.getSet(mdsetname)">
! <legend tal:content="mdset/title_or_id" />
! <tal:block repeat="mdelement mdset/objectValues">
!
! <div class="field"
! tal:define="mdelement_key mdelement/getFieldKey;
! mdelement_id mdelement/id;
! error python:errors.get(mdelement_key, None) or errors.get(mdelement_id, None);"
! tal:attributes="class python:test(error,
! 'field error', 'field')">
!
! <label tal:content="mdelement/title_or_id"
! i18n:translate="">Label</label>
!
! <span tal:condition="mdelement/isRequired"
! class="fieldRequired"
! title="Required"
! i18n:domain="plone"
! i18n:attributes="title"
! i18n:translate="label_required">(Required)</span>
!
! <div class="formHelp"
! tal:define="desc python:mdelement.Description()"
! tal:condition="desc"
! tal:content="structure desc"
! i18n:translate="">Help</div>
!
! <div tal:content="error">
! Validation error output
! </div>
! <div tal:define="input python:mdelement.renderEdit(value=binding[mdsetname][mdelement_id], request=request)"
! tal:replace="structure input"
! tal:attributes="tabindex tabindex/next;">
! </div>
!
! </div>
!
!
! </tal:block>
! </fieldset>
! </tal:block>
!
! <div class="formControls">
! <input class="context"
! tabindex=""
! type="submit"
! name="submit"
! value="Save"
! i18n:attributes="value"
! tal:attributes="tabindex tabindex/next;" />
! </div>
! </form>
! <div metal:use-macro="here/document_byline/macros/byline">
! Get the byline - contains details about author and modification date.
! </div>
! </div>
! </body>
! </html>
Index: metadata_edit_form.cpt.metadata
===================================================================
RCS file: /cvsroot/eduplone/EduploneWebdidactics/skins/EduploneWebdidactics/metadata_edit_form.cpt.metadata,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** metadata_edit_form.cpt.metadata 20 Jun 2004 10:31:26 -0000 1.1
--- metadata_edit_form.cpt.metadata 16 Sep 2004 19:20:39 -0000 1.2
***************
*** 1,5 ****
! [validators]
! validators=cmfmetadata_validator
!
! [actions]
! action.success=traverse_to:string:cmfmetadata_save
--- 1,5 ----
! [validators]
! validators=cmfmetadata_validator
!
! [actions]
! action.success=traverse_to:string:cmfmetadata_save
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php