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 ...@@ -91,6 +91,7 @@ from Products.ZCatalog.ZCatalog import ZCatalog
from Products.ZCatalog.Lazy import LazyCat from Products.ZCatalog.Lazy import LazyCat
import Products import Products
import HelpTopic import HelpTopic
import Globals
class HelpSys(Acquisition.Implicit, ObjectManager, Item, Persistent): class HelpSys(Acquisition.Implicit, ObjectManager, Item, Persistent):
""" """
...@@ -180,6 +181,8 @@ class HelpSys(Acquisition.Implicit, ObjectManager, Item, Persistent): ...@@ -180,6 +181,8 @@ class HelpSys(Acquisition.Implicit, ObjectManager, Item, Persistent):
cols.append(TreeCollection(k,v,0)) cols.append(TreeCollection(k,v,0))
return cols return cols
Globals.default__class_init__(HelpSys)
class TreeCollection: class TreeCollection:
""" """
...@@ -241,9 +244,8 @@ class ProductHelp(Acquisition.Implicit, ObjectManager, Item, Persistent): ...@@ -241,9 +244,8 @@ class ProductHelp(Acquisition.Implicit, ObjectManager, Item, Persistent):
) )
manage_options=( manage_options=(
{'label':'Contents', 'action':'manage_main'}, ObjectManager.manage_options +
{'label':'Import/Export', 'action':'manage_importExportForm'}, Item.manage_options
{'label':'Undo', 'action':'manage_UndoForm'},
) )
__ac_permissions__=( __ac_permissions__=(
...@@ -320,3 +322,6 @@ class ProductHelp(Acquisition.Implicit, ObjectManager, Item, Persistent): ...@@ -320,3 +322,6 @@ class ProductHelp(Acquisition.Implicit, ObjectManager, Item, Persistent):
standard_html_header=HTMLFile('topic_header', globals()) standard_html_header=HTMLFile('topic_header', globals())
standard_html_footer=HTMLFile('topic_footer', globals()) standard_html_footer=HTMLFile('topic_footer', globals())
Globals.default__class_init__(ProductHelp)
<html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<head><title>Add Help Topic</title></head> <HTML lang="en">
<body> <HEAD>
<TITLE>Add Help Topic</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<h2>Add Help Topic</h2> <h2>Add Help Topic</h2>
<form action="addTopic" method="post"> <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