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
d7344dc8
Commit
d7344dc8
authored
Sep 19, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added cache management.
parent
b9bed178
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
lib/python/App/ApplicationManager.py
lib/python/App/ApplicationManager.py
+9
-4
lib/python/App/appMain.dtml
lib/python/App/appMain.dtml
+2
-2
No files found.
lib/python/App/ApplicationManager.py
View file @
d7344dc8
__doc__
=
"""Application management component"""
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
import
sys
,
os
,
time
,
Globals
from
Acquisition
import
Acquirer
from
Management
import
Management
from
Globals
import
HTMLFile
from
CacheManager
import
CacheManager
class
ApplicationManager
(
Acquirer
,
Management
):
"""
"""
class
ApplicationManager
(
Acquirer
,
Management
,
CacheManager
):
"""
Application management component.
"""
manage_main
=
HTMLFile
(
'App/appMain'
)
manage_packForm
=
HTMLFile
(
'App/pack'
)
manage_undoForm
=
HTMLFile
(
'App/undo'
)
manage_options
=
(
{
'icon'
:
'OFS/ControlPanel_icon.gif'
,
'label'
:
'Control Panel'
,
{
'icon'
:
'App/arrow.jpg'
,
'label'
:
'Application'
,
'action'
:
'manage_app'
,
'target'
:
'_top'
},
{
'icon'
:
'App/arrow.jpg'
,
'label'
:
'Application Manager'
,
'action'
:
'manage_main'
,
'target'
:
'manage_main'
},
{
'icon'
:
'App/arrow.jpg'
,
'label'
:
'Cache Manager'
,
'action'
:
'manage_cacheForm'
,
'target'
:
'manage_main'
},
)
name
=
title
=
'Control Panel'
process_id
=
os
.
getpid
()
...
...
lib/python/App/appMain.dtml
View file @
d7344dc8
...
...
@@ -2,8 +2,8 @@
<HEAD>
<TITLE><!--#var title--></TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<
H2><!--#var title--></H
2>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555"
ALINK="#77003B"
>
<
h2><!--#var title--></h
2>
<P>
<!--#if parentObject-->
<!--#in parentObject-->
...
...
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