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
b6b20d1a
Commit
b6b20d1a
authored
Jan 11, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed things that use HTMLFile to DTMLFile.
parent
dd50315d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
lib/python/Products/ZSQLMethods/SQL.py
lib/python/Products/ZSQLMethods/SQL.py
+5
-5
lib/python/Products/ZopeTutorial/TutorialTopic.py
lib/python/Products/ZopeTutorial/TutorialTopic.py
+4
-4
No files found.
lib/python/Products/ZSQLMethods/SQL.py
View file @
b6b20d1a
...
@@ -85,11 +85,11 @@
...
@@ -85,11 +85,11 @@
__doc__
=
'''SQL Methods
__doc__
=
'''SQL Methods
$Id: SQL.py,v 1.1
5 2001/01/08 22:47:05 brian
Exp $'''
$Id: SQL.py,v 1.1
6 2001/01/11 19:52:54 chrism
Exp $'''
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
import
Shared.DC.ZRDB.DA
import
Shared.DC.ZRDB.DA
from
Globals
import
H
TMLFile
from
Globals
import
D
TMLFile
def
SQLConnectionIDs
(
self
):
def
SQLConnectionIDs
(
self
):
"""Find SQL database connections in the current folder and above
"""Find SQL database connections in the current folder and above
...
@@ -118,7 +118,7 @@ def SQLConnectionIDs(self):
...
@@ -118,7 +118,7 @@ def SQLConnectionIDs(self):
ids
.
sort
()
ids
.
sort
()
return
ids
return
ids
manage_addZSQLMethodForm
=
H
TMLFile
(
'dtml/add'
,
globals
())
manage_addZSQLMethodForm
=
D
TMLFile
(
'dtml/add'
,
globals
())
def
manage_addZSQLMethod
(
self
,
id
,
title
,
def
manage_addZSQLMethod
(
self
,
id
,
title
,
connection_id
,
arguments
,
template
,
connection_id
,
arguments
,
template
,
REQUEST
=
None
,
submit
=
None
):
REQUEST
=
None
,
submit
=
None
):
...
@@ -190,5 +190,5 @@ class SQL(Shared.DC.ZRDB.DA.DA):
...
@@ -190,5 +190,5 @@ class SQL(Shared.DC.ZRDB.DA.DA):
"""
"""
meta_type
=
'Z SQL Method'
meta_type
=
'Z SQL Method'
manage_main
=
H
TMLFile
(
'dtml/edit'
,
globals
())
manage_main
=
D
TMLFile
(
'dtml/edit'
,
globals
())
lib/python/Products/ZopeTutorial/TutorialTopic.py
View file @
b6b20d1a
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
import
OFS.Folder
import
OFS.Folder
from
HelpSys.HelpTopic
import
TextTopic
from
HelpSys.HelpTopic
import
TextTopic
from
Globals
import
HTML
,
H
TMLFile
,
MessageDialog
from
Globals
import
HTML
,
D
TMLFile
,
MessageDialog
import
DateTime
import
DateTime
import
DocumentTemplate
import
DocumentTemplate
import
StructuredText
import
StructuredText
...
@@ -105,7 +105,7 @@ class TutorialTopic(TextTopic):
...
@@ -105,7 +105,7 @@ class TutorialTopic(TextTopic):
text
=
str
(
StructuredText
.
HTML
(
text
))
text
=
str
(
StructuredText
.
HTML
(
text
))
self
.
obj
=
HTML
(
pre_pat
.
sub
(
clean_pre
,
text
))
self
.
obj
=
HTML
(
pre_pat
.
sub
(
clean_pre
,
text
))
index_html
=
H
TMLFile
(
'dtml/lessonView'
,
globals
())
index_html
=
D
TMLFile
(
'dtml/lessonView'
,
globals
())
def
lessonURL
(
self
,
id
,
REQUEST
):
def
lessonURL
(
self
,
id
,
REQUEST
):
"""
"""
...
@@ -158,10 +158,10 @@ onClick="javascript:window.open('%s/manage_main', 'manage_main').focus()"
...
@@ -158,10 +158,10 @@ onClick="javascript:window.open('%s/manage_main', 'manage_main').focus()"
names
[
0
],
names
[
1
],
names
[
2
])
names
[
0
],
names
[
1
],
names
[
2
])
return
'<a href="%s">API Documentation</a>'
%
url
return
'<a href="%s">API Documentation</a>'
%
url
tutorialNavigation
=
H
TMLFile
(
'dtml/tutorialNav'
,
globals
())
tutorialNavigation
=
D
TMLFile
(
'dtml/tutorialNav'
,
globals
())
addTutorialForm
=
H
TMLFile
(
'dtml/tutorialAdd'
,
globals
())
addTutorialForm
=
D
TMLFile
(
'dtml/tutorialAdd'
,
globals
())
def
addTutorial
(
self
,
id
,
REQUEST
=
None
,
RESPONSE
=
None
):
def
addTutorial
(
self
,
id
,
REQUEST
=
None
,
RESPONSE
=
None
):
"""
"""
...
...
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