# -*- coding: iso-8859-2 -*-
# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
# western country and you don't know that you use utf-8, you probably want to
# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
# encoding) you MUST use: coding: utf-8
# That setting must match the encoding your editor uses when you modify the
# settings below. If it does not, special non-ASCII chars will be wrong.

"""
This is a sample config for a wiki that is part of a wiki farm and uses
farmconfig for common stuff. Here we define what has to be different from
the farm's common settings.
"""

# we import the FarmConfig class for common defaults of our wikis:
from farmconfig import FarmConfig

# now we subclass that config (inherit from it) and change what's different:
class Config(FarmConfig):

    show_timings = 1

    # basic options (you normally need to change these)
    sitename = u'Katedra Matematiky FEI STU'# [Unicode]
    interwikiname = 'KmatWiki'
    data_dir = '/usr/share/moin/data'
    page_front_page= 'KatedraMatematiky'
    # Toto zmenim
    page_template_regex = u'[a-z]Sablona$'
    acl_rights_before = u"SuperUser,AdminGroup:read,write,delete,revert,admin"
    acl_rights_default = u"KmatGroup:read,write,delete,revert,admin All:read"
    act_rights_after = u"-All:write,delete,revert,admin"
    theme_default='kmat'
    theme_force=1
    logo_string=u'<img src="/wiki/kmat/img/KM.gif">&nbsp;Katedra matematiky'
    edit_locking='lock 10'
    bang_meta = 1

    navi_bar = [
        # Will use page_front_page, (default FrontPage)
        u'Pedagogika',
        u'[VedaAVyskum Veda a výskum]',
        u'[Pracovnici Pracovníci]',
        u'[FindPage Vyhµadávanie]'
    ]
    internal_bar = [
        u'[InterneStranky Interné stránky]'
    ]
    navi_bar_en = [
        u'[Pedagogika Teaching]',
        u'[VedaAVyskumEn Science]',
        u'[PracovniciEn People]',
        u'[FindPage Search]'
    ]
    page_footer2=u'''<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> 
    </script> 
    <script type="text/javascript">
    _uacct = "UA-708621-1";
    urchinTracker();
    </script>'''
