Ignore:
Timestamp:
17/03/09 16:22:42 (12 years ago)
Author:
cbyrom
Message:

Disable (old) security code from MILK stack +
make handling of edit mode on/off more robust - redirecting users
back to 'discovery' home page when not in edit mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_editor.html

    r5020 r5111  
    5757                            <h3>  $c.title </h3> 
    5858                                ${Markup(h.form(h.url_for(controller='atom_editor/editatom', action='edit', uri=c.atom.ndgURI)))} 
    59                                         <input py:if="not c.saveLink" name="Edit" type="submit" value="Edit" /> 
     59                                        <input py:if="not c.saveLink and g.atomEditorEnabled == 'True'" name="Edit" type="submit" value="Edit" /> 
    6060                                ${Markup(h.end_form())} 
    6161                                ${Markup(h.form(h.url_for(controller='atom_editor/editatom', action='delete', uri=c.atom.ndgURI)))} 
Note: See TracChangeset for help on using the changeset viewer.