|
From: Chris W. <la...@us...> - 2001-10-29 05:16:14
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/template In directory usw-pr-cvs1:/tmp/cvs-serv5778/template Modified Files: edit_document_box.tmpl Log Message: added a security editing link and other items Index: edit_document_box.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/template/edit_document_box.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** edit_document_box.tmpl 2001/10/24 23:04:19 1.3 --- edit_document_box.tmpl 2001/10/29 05:16:12 1.4 *************** *** 1,12 **** [%- DEFAULT theme = OI.theme_properties; ! SET new_url = OI.make_url( base = '/Page/create/' ); ! SET edit_url = OI.make_url( base = '/Page/show/', edit = 1, ! location = location ); ! SET remove_url = OI.make_url( base = '/Page/remove/', ! location = location ); -%] <font size="-1""> [% theme.bullet %] <a href="[% new_url %]">Create a new document</a><br> These actions apply to the document currently onscreen<br> [% theme.bullet %] <a href="[% edit_url %]">Edit this document</a><br> ! [% theme.bullet %] <a href="[% remove_url %]">Remove this document</a> </font> --- 1,18 ---- [%- DEFAULT theme = OI.theme_properties; ! new_url = OI.make_url( base = '/Page/create/' ); ! edit_url = OI.make_url( base = '/Page/show/', edit = 1, ! location = page.location ); ! remove_url = OI.make_url( base = '/Page/remove/', ! location = page.location ); ! page_info = page.object_description; ! security_url = OI.make_url( base = '/Security/show/', ! object_class = page_info.class, ! object_id = page.location ); ! -%] <font size="-1""> [% theme.bullet %] <a href="[% new_url %]">Create a new document</a><br> These actions apply to the document currently onscreen<br> [% theme.bullet %] <a href="[% edit_url %]">Edit this document</a><br> ! [% theme.bullet %] <a href="[% remove_url %]">Remove this document</a><br> ! [% theme.bullet %] <a href="[% security_url %]">Check document security</a> </font> |