File:  [Repository] / ECHO_content / zpt / ChangeECHO_resource_main.zpt
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Wed Dec 17 12:05:00 2008 UTC (15 years, 6 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
*** empty log message ***

    1: <h1 tal:replace="structure python:here.decode(here.manage_page_header())">Header</h1>
    2: <!-- ZOPE management tabs -->
    3:  <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    4:     tal:replace="structure python:here.manage_tabs()">Tabs</h2>
    5: <!-- end of ZOPE management tabs -->
    6: 	
    7: 	
    8: 	
    9:     <h3>Main infos</h3>
   10:     <p><b>bold = required</b>; <i>italic = optional</i></p>
   11:     <p>Title, Label, and Description may contain HTML-tags</p>
   12:     <form name="form" action="changeECHO_resource_main">
   13:       <table>
   14: 	<tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value python:here.decode(here.title)" size=80></td></tr>
   15: 	<tr><td><b> Label (for navigation): </b></td><td><input type="text" name="label" tal:attributes="value python:here.decode(here.label)" size=40></td></tr>
   16: 	<tr><td><i> Description:</i></td><td><textarea name="description" tal:content="here/description" cols="80" rows="10"></textarea></td></tr>
   17: 	<tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=here.getContentType())"/></td></tr>
   18: 	<tr><td> <i>Rendering-Type:</i> </td><td><select name="renderingType" tal:content="structure python:here.renderingTypeSelector_HTML(selected=here.getRenderingType())"/></td></tr>
   19: 	<tr><td><b> ResourceID<br> (link or resourceID required): </b></td><td><input type="text" name="resourceID" tal:attributes="value python:getattr(here,'resourceID','')" size=80></td></tr>
   20: 	<tr><td><b> Link (if no ressourceID): </b></td><td><input type="text" name="link" tal:attributes="value here/link" size=80></td></tr>
   21: 	<tr><td><i> MetaLink (if no ressource ID): </i></td><td><input type="text" name="metalink" tal:attributes="value here/metalink" size=80></td></tr>
   22: 	<tr><td><i> Weight (for sorting)</i></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
   23:       </table>
   24:       <input type="submit" value="Change"><br/><br/>
   25:       <hr>
   26:       <h3>Viewer (leave empty, to use the old viewer)</h3>
   27:       <input name="newViewer" tal:attributes="value python:getattr(here,'newViewer','')" size="100">
   28:       <input type="submit" value="Change"><br/><br/>
   29:       
   30:       <h3>Storage Manager</h3>
   31:       <tal:x condition="python:here.getStorageManagerResourceURL()!=''">
   32:       	<a tal:attributes="href here/getStorageManagerResourceURL" tal:content="here/getStorageManagerResourceURL"/>
   33:       </tal:x>
   34:       <tal:x condition="python:here.getStorageManagerResourceURL()==''">
   35:       	<p>No link to the storage manage, - most likely- because there is no correct link to the metadata!</p>
   36:       </tal:x>
   37:     </form>
   38:     <p><i>PID <span tal:content="here/getPID"/></i></p>
   39: <h1 tal:replace="structure here/manage_page_footer">Footer</h1>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>