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
5f7d7534
Commit
5f7d7534
authored
Dec 01, 1998
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Help support
parent
f46869dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+12
-2
No files found.
lib/python/OFS/Application.py
View file @
5f7d7534
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.7
4 1998/11/20 18:16:37 jim
Exp $'''
__version__
=
'$Revision: 1.7
4
$'
[
11
:
-
2
]
$Id: Application.py,v 1.7
5 1998/12/01 17:28:24 brian
Exp $'''
__version__
=
'$Revision: 1.7
5
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
,
App
.
Product
,
App
.
ProductRegistry
...
...
@@ -20,12 +20,14 @@ import time, rotor, marshal
from
string
import
strip
,
lower
,
find
,
rfind
,
join
from
DateTime
import
DateTime
from
AccessControl.User
import
UserFolder
from
HelpSys.HelpSys
import
HelpSys
from
App.ApplicationManager
import
ApplicationManager
from
Globals
import
Persistent
from
FindSupport
import
FindSupport
from
ImageFile
import
ImageFile
from
urllib
import
quote
_standard_error_msg
=
'''
\
<!--#var standard_html_header-->
<!--#if error_message-->
...
...
@@ -66,6 +68,9 @@ class Application(Globals.ApplicationDefaultPermissions, Folder.Folder,
web__form__method
=
'GET'
isTopLevelPrincipiaApplicationObject
=
1
HelpSys
=
HelpSys
()
class
misc_
:
"Miscellaneous product information"
__roles__
=
None
...
...
@@ -152,6 +157,8 @@ class Application(Globals.ApplicationDefaultPermissions, Folder.Folder,
_standard_error_msg
)
def
id
(
self
):
try
:
return
self
.
REQUEST
[
'SCRIPT_NAME'
][
1
:]
except
:
return
self
.
title
...
...
@@ -382,6 +389,9 @@ class Misc_:
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.75 1998/12/01 17:28:24 brian
# Added Help support
#
# Revision 1.74 1998/11/20 18:16:37 jim
# First crack at new layout and 1.5 support
#
...
...
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