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
1615a288
Commit
1615a288
authored
Jan 13, 2000
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some cosmetic changes on the help system included a bit of javascript.
parent
4544ab72
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
18 deletions
+12
-18
lib/python/HelpSys/HelpSystem.py
lib/python/HelpSys/HelpSystem.py
+1
-1
lib/python/HelpSys/button.dtml
lib/python/HelpSys/button.dtml
+9
-1
lib/python/HelpSys/frame.dtml
lib/python/HelpSys/frame.dtml
+2
-2
lib/python/HelpSys/topic_header.dtml
lib/python/HelpSys/topic_header.dtml
+0
-14
No files found.
lib/python/HelpSys/HelpSystem.py
View file @
1615a288
...
@@ -154,7 +154,7 @@ class HelpSystem(Acquisition.Implicit, ObjectManager, Item, Persistent):
...
@@ -154,7 +154,7 @@ class HelpSystem(Acquisition.Implicit, ObjectManager, Item, Persistent):
"""
"""
Insert a help button linked to a help topic.
Insert a help button linked to a help topic.
"""
"""
return
self
.
button
(
self
,
product
=
product
,
topic
=
topic
)
return
self
.
button
(
self
,
self
.
REQUEST
,
product
=
product
,
topic
=
topic
)
class
ProductHelp
(
Acquisition
.
Implicit
,
ObjectManager
,
Item
,
Persistent
):
class
ProductHelp
(
Acquisition
.
Implicit
,
ObjectManager
,
Item
,
Persistent
):
...
...
lib/python/HelpSys/button.dtml
View file @
1615a288
<div align="right">
<div align="right">
<SCRIPT LANGUAGE="JavaScript">
function openHelpWindow(url) {
helpWindow = window.open(url,"zope_help","width=600,height=500,menubar=yes,scrollbars=yes,resizable=yes");
helpWindow.focus();
return false;
}
</SCRIPT>
<font face="Verdana, Arial, Helvetica" size="1">
<font face="Verdana, Arial, Helvetica" size="1">
<form action="<dtml-var absolute_url>" target="zope_help" method="post">
<form action="<dtml-var absolute_url>" target="zope_help" method="post"
onSubmit="return openHelpWindow('<dtml-var absolute_url>?help_url=/Control_Panel/Products/&dtml-product;/Help/&dtml-topic;');">
<dtml-if "_.getitem('product') and _.getitem('topic')">
<dtml-if "_.getitem('product') and _.getitem('topic')">
<input type="hidden" name="help_url" value="/Control_Panel/Products/&dtml-product;/Help/&dtml-topic;">
<input type="hidden" name="help_url" value="/Control_Panel/Products/&dtml-product;/Help/&dtml-topic;">
</dtml-if>
</dtml-if>
...
...
lib/python/HelpSys/frame.dtml
View file @
1615a288
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
<HEAD>
<HEAD>
<TITLE>Zope Help System</TITLE>
<TITLE>Zope Help System</TITLE>
</HEAD>
</HEAD>
<FRAMESET COLS="2
25
,*">
<FRAMESET COLS="2
00
,*">
<FRAME SRC="menu" NAME="help_menu"
<FRAME SRC="menu" NAME="help_menu"
MARGINWIDTH="2" MARGINHEIGHT="2" SCROLLING="auto">
MARGINWIDTH="2" MARGINHEIGHT="2" SCROLLING="auto">
<FRAME
<FRAME
<dtml-if "_.has_key('help_url')">
<dtml-if "_.has_key('help_url')">
SRC="<dtml-var help_url>"
SRC="<dtml-var
SCRIPT_NAME><dtml-var
help_url>"
<dtml-else>
<dtml-else>
SRC="main"
SRC="main"
</dtml-if>
</dtml-if>
...
...
lib/python/HelpSys/topic_header.dtml
View file @
1615a288
...
@@ -26,18 +26,4 @@ padding: 10pt;
...
@@ -26,18 +26,4 @@ padding: 10pt;
</head>
</head>
<body>
<body>
<table
width=
"100%"
>
<tr
valign=
"top"
>
<td>
Help Categories:
<dtml-in
categories
>
<dtml-var
sequence-item
><dtml-unless
sequence-end
>
,
</dtml-unless>
</dtml-in>
</td>
<td>
Help Permissions:
<dtml-in
permissions
>
<dtml-var
sequence-item
><dtml-unless
sequence-end
>
,
</dtml-unless>
</dtml-in>
</td>
</tr>
</table>
<dtml-if
title
><h2><dtml-var
title
></h2></dtml-if>
<dtml-if
title
><h2><dtml-var
title
></h2></dtml-if>
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