###################################################################### # constants and built-in defaults for ZWiki DEFAULT_PAGE_TYPE = 'classicwiki' DISABLE_JAVASCRIPT = 1 LARGE_FILE_SIZE = 1024*1024 PERMPREFIX = '' # 'ZWiki:' # built-in DTML defaults - to override these, define any of the # following as DTML methods (python scripts, properties ?): # # standard_wiki_header # standard_wiki_footer # standard_wiki_page # editform # backlinks # titleprefix import DocumentTemplate from DocumentTemplate import HTMLFile #from Globals import HTMLFile # ? the ramifications of when and where this dtml gets executed are # not yet clear ... # would like to move these to separate files.. how do I define # these in such a way that "" will work at runtime ? #default_wiki_page = DocumentTemplate.HTMLFile('dtml/default_wiki_page', globals()) default_wiki_page = DocumentTemplate.HTML(source_string=\ '''Uus leht ''') # also would prefer not to inline the header in editform & backlinks #default_wiki_header = HTMLFile('dtml/default_wiki_header', globals()) #default_wiki_footer = HTMLFile('dtml/default_wiki_footer', globals()) #default_editform = HTMLFile('dtml/default_editform', globals()) #default_backlinks = HTMLFile('dtml/default_backlinks', globals()) default_wiki_header = DocumentTemplate.HTML(source_string=\ ''' <dtml-var titleprefix missing><dtml-var id>

to FrontPage

 

''') default_wiki_footer = DocumentTemplate.HTML(source_string=\ '''

Last edited Edit this page
''') default_editform = DocumentTemplate.HTML(source_string=\ ''' <dtml-var titleprefix missing><dtml-var id>

to FrontPage

 


See HowDoIEdit or TextFormattingRules for more help give some indication of permissions
(login required)

''') default_backlinks = DocumentTemplate.HTML(source_string=\ ''' <dtml-var titleprefix missing><dtml-var id>

to FrontPage

 

The following pages link to :

">
''') default_subscribeform = DocumentTemplate.HTML(source_string=\ ''' <dtml-var titleprefix missing><dtml-var id>

to FrontPage Mail subscription

 

Subscribers receive a copy of all edits via email. You may subscribe either to this individual page, or to the wiki as a whole.

Your email address: To subscribe or unsubscribe, please first enter your email address:


You are currently not subscribed
to .



There isare &dtml-n; subscribers to this page :



You are currently not subscribed
to the whole wiki.



There isare &dtml-n; subscribers to the whole wiki :



''')