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
ecf1a42b
Commit
ecf1a42b
authored
Nov 23, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
604c7013
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
lib/python/DocumentTemplate/DT_Util.py
lib/python/DocumentTemplate/DT_Util.py
+5
-3
lib/python/OFS/Document.py
lib/python/OFS/Document.py
+3
-3
lib/python/OFS/FindSupport.py
lib/python/OFS/FindSupport.py
+5
-2
No files found.
lib/python/DocumentTemplate/DT_Util.py
View file @
ecf1a42b
...
...
@@ -51,8 +51,8 @@
# (540) 371-6909
#
##############################################################################
'''$Id: DT_Util.py,v 1.4
7 1998/09/14 22:03:33
jim Exp $'''
__version__
=
'$Revision: 1.4
7
$'
[
11
:
-
2
]
'''$Id: DT_Util.py,v 1.4
8 1998/11/23 15:20:40
jim Exp $'''
__version__
=
'$Revision: 1.4
8
$'
[
11
:
-
2
]
import
regex
,
string
,
math
,
os
from
string
import
strip
,
join
,
atoi
,
lower
,
split
,
find
...
...
@@ -144,7 +144,9 @@ def careful_getslice(md, seq, *indexes):
import
string
,
math
,
whrandom
try
:
from
cDocumentTemplate
import
InstanceDict
,
TemplateDict
,
render_blocks
try
:
from
cDocumentTemplate
import
InstanceDict
,
TemplateDict
,
render_blocks
from
cDocumentTemplate
import
cDocument
except
:
from
pDocumentTemplate
import
InstanceDict
,
TemplateDict
,
render_blocks
d
=
TemplateDict
.
__dict__
...
...
lib/python/OFS/Document.py
View file @
ecf1a42b
"""Document object"""
__version__
=
'$Revision: 1.6
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.6
6
$'
[
11
:
-
2
]
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
from
string
import
join
,
split
,
strip
,
rfind
,
atoi
,
lower
...
...
@@ -8,9 +8,9 @@ from AccessControl.Role import RoleManager
from
SimpleItem
import
Item_w__name__
,
pretty_tb
from
Acquisition
import
Explicit
import
regex
,
Globals
,
sys
import
DocumentTemplate.cDocumentTemplate
from
DocumentTemplate.DT_Util
import
cDocument
class
Document
(
DocumentTemplate
.
cDocumentTemplate
.
cDocument
,
HTML
,
Explicit
,
class
Document
(
cDocument
,
HTML
,
Explicit
,
RoleManager
,
Item_w__name__
,
):
""" """
...
...
lib/python/OFS/FindSupport.py
View file @
ecf1a42b
__doc__
=
"""Principia Find support"""
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
import
sys
,
os
,
string
,
time
,
Globals
from
DocumentTemplate.DT_Util
import
Eval
,
expr_globals
from
AccessControl.Permission
import
name_trans
from
Globals
import
HTMLFile
from
DocumentTemplate.
cDocumentTemplate
import
*
from
DocumentTemplate.
DT_Util
import
InstanceDict
,
TemplateDict
,
cDocument
from
DateTime
import
DateTime
from
string
import
find
...
...
@@ -180,6 +180,9 @@ def p_name(name):
##############################################################################
#
# $Log: FindSupport.py,v $
# Revision 1.5 1998/11/23 15:22:19 jim
# *** empty log message ***
#
# Revision 1.4 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