Ignore:
Timestamp:
08/07/06 17:23:46 (13 years ago)
Author:
szabolcs
Message:

closes #610, spent 2h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/piece_edit.cpt

    r493 r580  
    4343      </script> 
    4444    </tal:js> 
     45    <script type="text/javascript" src="js_helpers.js"></script> 
    4546  </metal:head> 
    4647 
     
    7778        </tal:titlefield> 
    7879 
    79         <tal:fields repeat="field python: here.getMetadaFieldsToShowInEditor(here)"> 
     80        <tal:fields repeat="field python: here.getMetadataFieldsToShowInEditor(here)"> 
    8081            <metal:fieldMacro use-macro="python: here.widget(field.getName(), mode='edit')"/> 
    8182        </tal:fields> 
    8283 
     84            If you are not the author of this piece you must add <a href="javascript:setIdProperty('copyright','display','block');">copyright information</a> 
     85        <div id="copyright" style="display:none"> 
     86            <metal:fieldMacro use-macro="python: here.widget('originalAuthor', mode='edit')"/> 
     87            <metal:fieldMacro use-macro="python: here.widget('rights', mode='edit')"/> 
     88 
     89        </div> 
     90 
    8391 
    8492      <input type="hidden" name="form.submitted" value="1" /> 
    85  
    86       <input type="hidden" name="fieldset" value="metadata" 
    87        tal:attributes="value fieldset|string:metadata" /> 
    8893 
    8994      <input type="hidden" name="current_lang" value="" 
Note: See TracChangeset for help on using the changeset viewer.