[Moin-devel] CVS: MoinMoin config.py,1.45,1.46 wikiutil.py,1.67,1.68

J?rgen Hermann jhermann at users.sourceforge.net
Tue Jan 22 12:20:06 EST 2002


Update of /cvsroot/moin/MoinMoin
In directory usw-pr-cvs1:/tmp/cvs-serv29742/MoinMoin

Modified Files:
	config.py wikiutil.py 
Log Message:
Added config.title1/2


Index: config.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/config.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** config.py	2002/01/16 23:59:29	1.45
--- config.py	2002/01/22 20:10:08	1.46
***************
*** 156,159 ****
--- 156,161 ----
      'show_version': 0,
      'sitename': 'An Unnamed MoinMoin Wiki',
+     'title1': None,
+     'title2': '<hr>',
      'trail_size': 5,
      'umask': 0777,

Index: wikiutil.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/wikiutil.py,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -r1.67 -r1.68
*** wikiutil.py	2002/01/16 23:59:30	1.67
--- wikiutil.py	2002/01/22 20:10:08	1.68
***************
*** 423,426 ****
--- 423,429 ----
          return
  
+     # print custom html code before system title
+     if config.title1: print config.title1
+ 
      # print the page header (logo, title)
      print '<table width="100%"><tr><td>'
***************
*** 474,480 ****
              'pagename': quoteWikiname(keywords['pagename'])}
          print '</div>'
  
!     # print the rule above the wiki page
!     print '<hr>'
      sys.stdout.flush()
  
--- 477,485 ----
              'pagename': quoteWikiname(keywords['pagename'])}
          print '</div>'
+ 
+     # print custom html code after system title (normally "<hr>")
+     if config.title2: print config.title2
  
!     # emit it
      sys.stdout.flush()
  





More information about the Moin-devel mailing list