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, 5 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
*** empty log message ***

<h1 tal:replace="structure python:here.decode(here.manage_page_header())">Header</h1>
<!-- ZOPE management tabs -->
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    tal:replace="structure python:here.manage_tabs()">Tabs</h2>
<!-- end of ZOPE management tabs -->
	
	
	
    <h3>Main infos</h3>
    <p><b>bold = required</b>; <i>italic = optional</i></p>
    <p>Title, Label, and Description may contain HTML-tags</p>
    <form name="form" action="changeECHO_resource_main">
      <table>
	<tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value python:here.decode(here.title)" size=80></td></tr>
	<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>
	<tr><td><i> Description:</i></td><td><textarea name="description" tal:content="here/description" cols="80" rows="10"></textarea></td></tr>
	<tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=here.getContentType())"/></td></tr>
	<tr><td> <i>Rendering-Type:</i> </td><td><select name="renderingType" tal:content="structure python:here.renderingTypeSelector_HTML(selected=here.getRenderingType())"/></td></tr>
	<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>
	<tr><td><b> Link (if no ressourceID): </b></td><td><input type="text" name="link" tal:attributes="value here/link" size=80></td></tr>
	<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>
	<tr><td><i> Weight (for sorting)</i></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
      </table>
      <input type="submit" value="Change"><br/><br/>
      <hr>
      <h3>Viewer (leave empty, to use the old viewer)</h3>
      <input name="newViewer" tal:attributes="value python:getattr(here,'newViewer','')" size="100">
      <input type="submit" value="Change"><br/><br/>
      
      <h3>Storage Manager</h3>
      <tal:x condition="python:here.getStorageManagerResourceURL()!=''">
      	<a tal:attributes="href here/getStorageManagerResourceURL" tal:content="here/getStorageManagerResourceURL"/>
      </tal:x>
      <tal:x condition="python:here.getStorageManagerResourceURL()==''">
      	<p>No link to the storage manage, - most likely- because there is no correct link to the metadata!</p>
      </tal:x>
    </form>
    <p><i>PID <span tal:content="here/getPID"/></i></p>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

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