|
From: Chris W. <la...@us...> - 2001-10-29 05:09:15
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_box/template
In directory usw-pr-cvs1:/tmp/cvs-serv4377/template
Modified Files:
object_modify_box.tmpl
Log Message:
changes to object_modify_box
Index: object_modify_box.tmpl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_box/template/object_modify_box.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** object_modify_box.tmpl 2001/08/13 16:10:14 1.2
--- object_modify_box.tmpl 2001/10/29 05:09:12 1.3
***************
*** 1,20 ****
! [%- th = OI.theme_properties -%]
[%- IF object and object.tmp_security_level >= OI.security_level.write -%]
- <font size="-1" color="[% tg.box_font_color %]">
! [% IF object.id %]
! [%- oi = OI.object_description( object ) -%]
[%- tagged = 0 -%]
! [% IF object.isa( 'SPOPS::Secure' ) %]
! [% th.bullet %] <a href="/Security/show/?object_class=[% oi.class %];oid=[% oi.oid %]">Edit object security</a>
! <br>
! [%- tagged = tagged + 1 -%]
! [% END %]
! [% IF object.isa( 'OpenInteract::Linked' ) %]
! [% th.bullet %] <a href="/Linkterm/simple_show/?object_class=[% oi.class %];oid=[% oi.oid %]">Edit object topics</a>
! <br>
! [%- tagged = tagged + 1 -%]
! [% END %]
[%- IF tagged == 0 -%]
--- 1,27 ----
! [%- DEFAULT theme = OI.theme_properties -%]
!
! <font size="-1" color="[% theme.box_font_color %]">
!
[%- IF object and object.tmp_security_level >= OI.security_level.write -%]
! [% IF object.id -%]
! [%- object_info = OI.object_description( object ) -%]
[%- tagged = 0 -%]
! [% IF object.isa( 'SPOPS::Secure' ) -%]
! [%- security_url = OI.make_url( base = '/Security/show/',
! object_class = oi.class,
! object_id = oi.object_id ) -%]
! [%- theme.bullet %] <a href="[% security_url %]">Edit object security</a><br>
! [%- tagged = tagged + 1 -%]
! [% END -%]
!
! [%- IF object.isa( 'OpenInteract::Linked' ) -%]
! [%- topics_url = OI.make_url( base = '/Linkterm/show/',
! object_class = oi.class,
! object_id = oi.object_id ) -%]
! [%- theme.bullet %] <a href="[% topics_url %]">Edit object topics</a><br>
! [%- tagged = tagged + 1 -%]
! [%- END -%]
[%- IF tagged == 0 -%]
***************
*** 22,35 ****
[%- END -%]
! [% ELSE %]
<p>Since this object has not yet been entered in the system,
you cannot edit its properties.</p>
! [% END %]
!
! </font>
! [% ELSE %]
! <p>Cannot view actions.</p>
- [%- END -%]
\ No newline at end of file
--- 29,41 ----
[%- END -%]
! [%- ELSE -%]
<p>Since this object has not yet been entered in the system,
you cannot edit its properties.</p>
! [%- END -%]
! [%- ELSE -%]
! Cannot view actions.
! [%- END -%]
! </font>
|