Attachment 'acl.py'

Download

   1 # -*- coding: iso-8859-2 -*-
   2 # IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
   3 # western country and you don't know that you use utf-8, you probably want to
   4 # use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
   5 # encoding) you MUST use: coding: utf-8
   6 # That setting must match the encoding your editor uses when you modify the
   7 # settings below. If it does not, special non-ASCII chars will be wrong.
   8 
   9 """
  10 This is a sample config for a wiki that is part of a wiki farm and uses
  11 farmconfig for common stuff. Here we define what has to be different from
  12 the farm's common settings.
  13 """
  14 
  15 # we import the FarmConfig class for common defaults of our wikis:
  16 from farmconfig import FarmConfig
  17 
  18 # now we subclass that config (inherit from it) and change what's different:
  19 class Config(FarmConfig):
  20 
  21     show_timings = 1
  22 
  23     # basic options (you normally need to change these)
  24     sitename = u'Katedra Matematiky FEI STU'# [Unicode]
  25     interwikiname = 'KmatWiki'
  26     data_dir = '/usr/share/moin/data'
  27     page_front_page= 'KatedraMatematiky'
  28     # Toto zmenim
  29     page_template_regex = u'[a-z]Sablona$'
  30     acl_rights_before = u"SuperUser,AdminGroup:read,write,delete,revert,admin"
  31     acl_rights_default = u"KmatGroup:read,write,delete,revert,admin All:read"
  32     act_rights_after = u"-All:write,delete,revert,admin"
  33     theme_default='kmat'
  34     theme_force=1
  35     logo_string=u'<img src="/wiki/kmat/img/KM.gif">&nbsp;Katedra matematiky'
  36     edit_locking='lock 10'
  37     bang_meta = 1
  38 
  39     navi_bar = [
  40         # Will use page_front_page, (default FrontPage)
  41         u'Pedagogika',
  42         u'[VedaAVyskum Veda a výskum]',
  43         u'[Pracovnici Pracovníci]',
  44         u'[FindPage Vyhµadávanie]'
  45     ]
  46     internal_bar = [
  47         u'[InterneStranky Interné stránky]'
  48     ]
  49     navi_bar_en = [
  50         u'[Pedagogika Teaching]',
  51         u'[VedaAVyskumEn Science]',
  52         u'[PracovniciEn People]',
  53         u'[FindPage Search]'
  54     ]
  55     page_footer2=u'''<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> 
  56     </script> 
  57     <script type="text/javascript">
  58     _uacct = "UA-708621-1";
  59     urchinTracker();
  60     </script>'''

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.

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