Commit 9b743500 authored by Amos Latteier's avatar Amos Latteier

Fixed Product Help icon (I think), cleaned up Help Topic add form (still...

Fixed Product Help icon (I think), cleaned up Help Topic add form (still doesn't have help) and added a class init for the HelpSys and ProductHelp classes.
parent 8cc5fa69
......@@ -91,6 +91,7 @@ from Products.ZCatalog.ZCatalog import ZCatalog
from Products.ZCatalog.Lazy import LazyCat
import Products
import HelpTopic
import Globals
class HelpSys(Acquisition.Implicit, ObjectManager, Item, Persistent):
"""
......@@ -180,6 +181,8 @@ class HelpSys(Acquisition.Implicit, ObjectManager, Item, Persistent):
cols.append(TreeCollection(k,v,0))
return cols
Globals.default__class_init__(HelpSys)
class TreeCollection:
"""
......@@ -241,9 +244,8 @@ class ProductHelp(Acquisition.Implicit, ObjectManager, Item, Persistent):
)
manage_options=(
{'label':'Contents', 'action':'manage_main'},
{'label':'Import/Export', 'action':'manage_importExportForm'},
{'label':'Undo', 'action':'manage_UndoForm'},
ObjectManager.manage_options +
Item.manage_options
)
__ac_permissions__=(
......@@ -320,3 +322,6 @@ class ProductHelp(Acquisition.Implicit, ObjectManager, Item, Persistent):
standard_html_header=HTMLFile('topic_header', globals())
standard_html_footer=HTMLFile('topic_footer', globals())
Globals.default__class_init__(ProductHelp)
<html>
<head><title>Add Help Topic</title></head>
<body>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML lang="en">
<HEAD>
<TITLE>Add Help Topic</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<h2>Add Help Topic</h2>
<form action="addTopic" method="post">
......
lib/python/HelpSys/images/productHelp.gif

128 Bytes | W: | H:

lib/python/HelpSys/images/productHelp.gif

137 Bytes | W: | H:

lib/python/HelpSys/images/productHelp.gif
lib/python/HelpSys/images/productHelp.gif
lib/python/HelpSys/images/productHelp.gif
lib/python/HelpSys/images/productHelp.gif
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment