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
f8ff2039
Commit
f8ff2039
authored
Dec 29, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of tabs in generated documents.
parent
cf37b295
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
lib/python/Shared/DC/ZRDB/Aqueduct.py
lib/python/Shared/DC/ZRDB/Aqueduct.py
+9
-9
lib/python/Shared/DC/ZRDB/Search.py
lib/python/Shared/DC/ZRDB/Search.py
+5
-5
lib/python/Shared/DC/ZRDB/customDefaultReport.dtml
lib/python/Shared/DC/ZRDB/customDefaultReport.dtml
+1
-1
No files found.
lib/python/Shared/DC/ZRDB/Aqueduct.py
View file @
f8ff2039
...
...
@@ -96,8 +96,8 @@
##############################################################################
__doc__
=
'''Shared classes and functions
$Id: Aqueduct.py,v 1.2
8 1998/12/17 18:50:33
jim Exp $'''
__version__
=
'$Revision: 1.2
8
$'
[
11
:
-
2
]
$Id: Aqueduct.py,v 1.2
9 1998/12/29 17:02:55
jim Exp $'''
__version__
=
'$Revision: 1.2
9
$'
[
11
:
-
2
]
import
Globals
,
os
from
Globals
import
HTMLFile
,
Persistent
...
...
@@ -235,9 +235,9 @@ def default_input_form(id,arguments,action='query',
string
.
joinfields
(
map
(
lambda
a
:
(
'<tr>
\
t
<th>%s</th>
\
n
'
'
\
t
<td><input name="%s"
'
'
\
n
\
t
width=30 value="%s">'
(
'<tr><th>%s</th>
\
n
'
'
<td><input name="%s"
\
n
'
'
width=30 value="%s">'
'</td></tr>'
%
(
nicify
(
a
[
0
]),
(
...
...
@@ -286,10 +286,10 @@ def custom_default_report(id, result, action='', no_table=0,
):
columns
=
result
.
_searchable_result_columns
()
__traceback_info__
=
columns
heading
=
(
'<tr>
\
n
%s
\
t
</tr>'
%
heading
=
(
'<tr>
\
n
%s
\
n
</tr>'
%
string
.
joinfields
(
map
(
lambda
c
:
'
\
t
<th>%s</th>
\
n
'
%
nicify
(
c
[
'name'
]),
'
<th>%s</th>
\
n
'
%
nicify
(
c
[
'name'
]),
columns
),
''
)
...
...
@@ -305,10 +305,10 @@ def custom_default_report(id, result, action='', no_table=0,
for
c
in
columns
:
n
=
c
[
'name'
]
if
goofy
(
n
)
>=
0
:
n
=
'expr="_vars[
\
'
%s]"'
%
(
`'"'+n`
[
2
:])
row
.
append
(
'
\
t
%s<!--#var %s%s-->%s
\
n
'
row
.
append
(
'
%s<!--#var %s%s-->%s
\
n
'
%
(
td
,
n
,
c
[
'type'
]
!=
's'
and
' null=""'
or
''
,
_td
))
row
=
(
'%s
\
n
%s
\
t
%s'
%
(
tr
,
string
.
joinfields
(
row
,
delim
),
_tr
))
row
=
(
'%s
\
n
%s
\
n
%s'
%
(
tr
,
string
.
joinfields
(
row
,
delim
),
_tr
))
return
custom_default_report_src
(
id
=
id
,
heading
=
heading
,
row
=
row
,
action
=
action
,
no_table
=
no_table
)
...
...
lib/python/Shared/DC/ZRDB/Search.py
View file @
f8ff2039
...
...
@@ -96,8 +96,8 @@
##############################################################################
__doc__
=
'''Search Interface Wizard
$Id: Search.py,v 1.
7 1998/12/16 15:25:48
jim Exp $'''
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
$Id: Search.py,v 1.
8 1998/12/29 17:01:59
jim Exp $'''
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
from
Globals
import
HTMLFile
from
Aqueduct
import
custom_default_report
,
nicify
,
Args
...
...
@@ -218,9 +218,9 @@ def default_input_form(arguments,action='query',
join
(
map
(
lambda
a
:
(
'<tr>
\
t
<th>%s</th>
\
n
'
'
\
t
<td><input name="%s"
\
n
'
'
\
t
width=30 value="%s">'
(
'<tr><th>%s</th>
\
n
'
'
<td><input name="%s"
\
n
'
'
width=30 value="%s">'
'</td></tr>'
%
(
nicify
(
a
[
0
]),
(
...
...
lib/python/Shared/DC/ZRDB/customDefaultReport.dtml
View file @
f8ff2039
...
...
@@ -9,7 +9,7 @@
</a>
<!--#/if previous-sequence-->
%(else no_table)[<table border>
%(heading)s
%(heading)s
%(else)]
<!--#/if sequence-start-->
...
...
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