Attachment 'wikiconfig.py'

Download

   1 # -*- coding: iso-8859-1 -*-
   2 """
   3 
   4 MoinMoin - Configuration
   5 
   6 
   7 """
   8 import sys, os
   9 from MoinMoin.config.multiconfig import DefaultConfig
  10 
  11 def _(text): return text
  12 
  13 class Config(DefaultConfig):
  14        
  15     # standard buttons in the iconbar for classic theme
  16     page_iconbar = ["edit", "view", "diff", "info", "subscribe", "raw", "print", ]
  17     page_icons_table = {
  18         # key           querystr dict, title, icon-key
  19         'diff':        ({'action': 'diff'}, _("Diffs"), "diff-big"),
  20         'info':        ({'action': 'info'}, _("Info"), "info-big"),
  21         'edit':        ({'action': 'edit'}, _("Edit"), "edit-big"),
  22         'unsubscribe': ({'action': 'subscribe'}, _("UnSubscribe"), "unsubscribe-big"),
  23         'subscribe':   ({'action': 'subscribe'}, _("Subscribe"), "subscribe-big"),
  24         'raw':         ({'action': 'raw'}, _("Raw"), "raw-big"),
  25         'print':       ({'action': 'print'}, _("Print"), "print-big"),
  26         'view':        ({}, _("View"), "view-big"),
  27         }

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-10-15 09:01:24, 101.9 KB) [[attachment:MoinDroplineIconSet.zip]]
  • [get | view] (2007-02-01 16:00:57, 6.7 KB) [[attachment:__init__.py]]
  • [get | view] (2007-01-01 22:06:11, 3.8 KB) [[attachment:classic_theme.jpg]]
  • [get | view] (2007-02-01 15:53:10, 4.5 KB) [[attachment:classic_theme2.jpg]]
  • [get | view] (2007-02-01 16:01:45, 0.9 KB) [[attachment:common.diff]]
  • [get | view] (2007-02-01 21:53:39, 23.1 KB) [[attachment:common_icons.jpg]]
  • [get | view] (2007-02-01 16:02:08, 1.2 KB) [[attachment:msie.diff]]
  • [get | view] (2007-01-01 22:05:45, 40.2 KB) [[attachment:smileys.jpg]]
  • [get | view] (2007-01-01 22:07:18, 1.0 KB) [[attachment:wikiconfig.py]]
  • [get | view] (2007-02-01 15:59:51, 1.3 KB) [[attachment:wikiconfig2.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.