Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9b41e31c
Commit
9b41e31c
authored
Mar 04, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new image to mark objects that were modified in another session
and are therefore locked.
parent
f3deac93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+7
-2
lib/python/OFS/main.dtml
lib/python/OFS/main.dtml
+10
-5
No files found.
lib/python/OFS/Application.py
View file @
9b41e31c
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.5
3 1998/02/25 19:40:47
jim Exp $'''
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
$Id: Application.py,v 1.5
4 1998/03/04 17:13:16
jim Exp $'''
__version__
=
'$Revision: 1.5
4
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
...
...
@@ -49,6 +49,7 @@ class Application(Folder.Folder):
User_icon
=
ImageFile
(
'AccessControl/www/User_icon.gif'
)
locked
=
ImageFile
(
'www/modified.gif'
,
globals
())
lockedo
=
ImageFile
(
'www/locked.gif'
,
globals
())
pl
=
ImageFile
(
'TreeDisplay/www/Plus_icon.gif'
)
mi
=
ImageFile
(
'TreeDisplay/www/Minus_icon.gif'
)
...
...
@@ -362,6 +363,10 @@ class Misc_:
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.54 1998/03/04 17:13:16 jim
# Added new image to mark objects that were modified in another session
# and are therefore locked.
#
# Revision 1.53 1998/02/25 19:40:47 jim
# Got rid of xxxItems methods.
#
...
...
lib/python/OFS/main.dtml
View file @
9b41e31c
...
...
@@ -29,11 +29,16 @@
<!--#if title-->
(<!--#var title-->)
<!--#/if title-->
</A>
<!--#if modified_in_session-->
<IMG SRC="<!--#var SCRIPT_NAME-->/p_/locked"
ALT="This item has been modified in a session">
<!--#/if modified_in_session-->
</A>
<!--#if locked_in_session-->
<!--#if modified_in_session-->
<IMG SRC="<!--#var SCRIPT_NAME-->/p_/locked"
ALT="This item has been modified in this session">
<!--#else-->
<IMG SRC="<!--#var SCRIPT_NAME-->/p_/lockedo"
ALT="This item has been modified in another session">
<!--#/if-->
<!--#/if-->
</TD>
</TR>
<!--#/in objectValues-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment