1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
"""
Q&A forum flatpages (about, etc.)
"""
from askbot.conf.settings_wrapper import settings
from askbot.deps.livesettings import ConfigurationGroup, LongStringValue
from askbot.conf.super_groups import CONTENT_AND_UI
from django.utils.translation import ugettext as _
FLATPAGES = ConfigurationGroup(
'FLATPAGES',
_('Flatpages - about, privacy policy, etc.'),
super_group = CONTENT_AND_UI
)
settings.register(
LongStringValue(
FLATPAGES,
'FORUM_ABOUT',
description=_('Text of the Q&A forum About page (html format)'),
help_text=\
_(
'Save, then <a href="http://validator.w3.org/">'
'use HTML validator</a> on the "about" page to check your input.'
)
)
)
settings.register(
LongStringValue(
FLATPAGES,
'FORUM_FAQ',
description=_('Text of the Q&A forum FAQ page (html format)'),
help_text=\
_(
'Save, then <a href="http://validator.w3.org/">'
'use HTML validator</a> on the "faq" page to check your input.'
)
)
)
settings.register(
LongStringValue(
FLATPAGES,
'FORUM_PRIVACY',
description=_('Text of the Q&A forum Privacy Policy (html format)'),
help_text=\
_(
'Save, then <a href="http://validator.w3.org/">'
'use HTML validator</a> on the "privacy" page to check your input.'
)
)
)
|