Commit 4544ab72 authored by Amos Latteier's avatar Amos Latteier

Added help system icons.

parent 4cb6c020
......@@ -165,7 +165,8 @@ class ProductHelp(Acquisition.Implicit, ObjectManager, Item, Persistent):
"""
meta_type='Product Help'
icon='p_/ProductHelp_icon'
meta_types=({'name':'Help Topic',
'action':'addTopicForm',
'permission':'Add Documents, Images, and Files'},
......
......@@ -180,6 +180,7 @@ class HelpTopic(Acquisition.Implicit, HelpTopicBase, Item, PropertyManager, Pers
"""
meta_type='Help Topic'
icon='p_/HelpTopic_icon'
manage_options=(
{'label':'Properties', 'action':'manage_propertiesForm'},
......@@ -198,6 +199,7 @@ class DTMLDocumentTopic(HelpTopicBase, DTMLDocument):
A user addable Help Topic based on DTML Document.
"""
meta_type='Help Topic'
icon='p_/HelpTopic_icon'
def munge(self,*args, **kw):
apply(DTMLDocument.munge, (self,) + args, kw)
......
......@@ -125,6 +125,8 @@ class p_:
Methods_icon=ImageFile('ZClasses/methods.gif')
Propertysheets_icon=ImageFile('ZClasses/propertysheets.gif')
ProductHelp_icon=ImageFile('HelpSys/images/productHelp.gif')
HelpTopic_icon=ImageFile('HelpSys/images/helpTopic.gif')
class Misc_:
"Miscellaneous product information"
......
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