blob: a4c7f7905300d15835777d07330b26b1d224be11 (
plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
|
{strip}
{jstabs}
{jstab title="Wiki Features"}
{form legend="Wiki Features"}
<input type="hidden" name="page" value="{$page}" />
{foreach from=$formWikiFeatures key=item item=output}
<div class="control-group">
{formlabel label=$output.label for=$item}
{forminput}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
{formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
<div class="control-group">
{formlabel label="Edit Page Sections" for="wiki_section_edit"}
{forminput}
<select name="wiki_section_edit" id="wiki_section_edit">
<option value="0" {if $gBitSystem->getConfig('wiki_section_edit') eq 0}selected="selected"{/if}>{tr}Disabled{/tr}</option>
<option value="1" {if $gBitSystem->getConfig('wiki_section_edit') eq 1}selected="selected"{/if}>h1</option>
<option value="2" {if $gBitSystem->getConfig('wiki_section_edit') eq 2}selected="selected"{/if}>h2</option>
</select>
{formhelp note="Using this feature, it is possible to edit only sections of your wiki pages ranging from one heading to another. specify what headings you want to use as boundaries."}
{/forminput}
</div>
<div class="control-group">
{formlabel label="Tables syntax" for="wiki_tables"}
{forminput}
<select name="wiki_tables" id="wiki_tables">
<option value="old" {if $gBitSystem->getConfig('wiki_tables') eq 'old'}selected="selected"{/if}>{tr}|| for rows{/tr}</option>
<option value="new" {if $gBitSystem->getConfig('wiki_tables') eq 'new'}selected="selected"{/if}>{tr}\n for rows{/tr}</option>
</select>
{formhelp note="Either use || to start a new row in a table, or start a new line (recommended)."}
{/forminput}
</div>
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="wikifeatures" value="{tr}Change preferences{/tr}" />
</div>
{/form}
{/jstab}
{jstab title="Wiki Books"}
{form legend="Wiki Book Settings"}
<input type="hidden" name="page" value="{$page}" />
{foreach from=$formWikiBooks key=item item=output}
<div class="control-group">
{formlabel label=$output.label for=$item}
{forminput}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
{formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="wikibooks" value="{tr}Change preferences{/tr}" />
</div>
{/form}
{/jstab}
{jstab title="In and Output"}
{form legend="Wiki Input and Output Settings"}
<input type="hidden" name="page" value="{$page}" />
{foreach from=$formWikiInOut key=item item=output}
<div class="control-group">
{formlabel label=$output.label for=$item}
{forminput}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
{formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="wikiinout" value="{tr}Change preferences{/tr}" />
</div>
{/form}
{/jstab}
{jstab title="List Settings"}
{form legend="List Settings"}
<input type="hidden" name="page" value="{$page}" />
{foreach from=$formWikiLists key=item item=output}
<div class="control-group">
{formlabel label=$output.label for=$item}
{forminput}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
{formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="wikilistconf" value="{tr}Change preferences{/tr}" />
</div>
{/form}
{/jstab}
{jstab title="Wiki Settings"}
{form}
{legend legend="Wiki Home Page"}
<input type="hidden" name="page" value="{$page}" />
<div class="control-group">
{formlabel label="Disable Wiki Home Page" for="wiki_disable_auto_home"}
{forminput}
{html_checkboxes name="wiki_disable_auto_home" values="y" checked=$gBitSystem->getConfig('wiki_disable_auto_home') labels=false id="wiki_disabled_auto_home"}
{formhelp note="When checked the default wiki url will load a list of recently edited pages. This will disable the auto-fetching of the home page value below."}
{/forminput}
</div>
<div class="control-group">
{formlabel label="Wiki Home Page" for="wiki_home_page"}
{forminput}
<input type="text" name="wiki_home_page" id="wiki_home_page" size="25" value="{$gBitSystem->getConfig('wiki_home_page')|escape}" />
{formhelp note="When the wiki is accessed, this is the page that will be displayed as the first page."}
{/forminput}
</div>
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="setwikihome" value="{tr}Change preferences{/tr}" />
</div>
{/legend}
{legend legend="Wiki Link Format"}
<div class="control-group">
{formlabel label="Wiki Link Format" for="wiki_page_regex"}
{forminput}
<select name="wiki_page_regex" id="wiki_page_regex">
<option value="strict" {if $gBitSystem->getConfig('wiki_page_regex') eq 'strict'}selected="selected"{/if}>{tr}English{/tr}</option>
<option value="full" {if $gBitSystem->getConfig('wiki_page_regex') eq 'full'}selected="selected"{/if}>{tr}Latin{/tr}</option>
<option value="complete" {if $gBitSystem->getConfig('wiki_page_regex') eq 'complete'}selected="selected"{/if}>{tr}Complete{/tr}</option>
</select>
{formhelp note="Controls recognition of Wiki links using the two parenthesis Wiki link syntax <em>((page name))</em>.
<dl>
<dt>English</dt><dd>allows only letters, numbers, space, underscore, dash, period and semicolon. <em>Space, dash, period and semicolon not allowed as the first character.</em></dd>
<dt>Latin</dt><dd>adds accented characters such as äöüåñòôùçèêîâööúä.</dd>
<dt>Complete</dt><dd>allows any character at all but is not guaranteed to be bug-free or secure.</dd>
</dl>"}
{/forminput}
</div>
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="setwikiregex" value="{tr}Change preferences{/tr}" />
</div>
{/legend}
{legend legend="Copyright Management"}
<div class="control-group">
{formlabel label="Enable Feature" for="wiki_copyrights"}
{forminput}
{html_checkboxes name="wiki_copyrights" values="y" checked=$gBitSystem->getConfig('wiki_copyrights') labels=false id="wiki_copyrights"}
{/forminput}
</div>
<div class="control-group">
{formlabel label="License Page" for="wiki_license_page"}
{forminput}
<input type="text" name="wiki_license_page" id="wiki_license_page" value="{$wiki_license_page|escape}" />
{/forminput}
</div>
<div class="control-group">
{formlabel label="Submit Notice" for="wiki_submit_notice"}
{forminput}
<input type="text" name="wiki_submit_notice" id="wiki_submit_notice" value="{$wiki_submit_notice|escape}" />
{/forminput}
</div>
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="wikisetcopyright" value="{tr}Change preferences{/tr}" />
</div>
{/legend}
{legend legend="Wiki Watch"}
{formfeedback warning="This feature has been disabled for now since it's not functional."}
{foreach from=$formWikiWatch key=item item=output}
<div class="control-group">
{formlabel label=$output.label for=$item}
{forminput}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
{formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
<div class="control-group submit">
<input type="submit" class="btn btn-default" name="wikiwatch" value="{tr}Change preferences{/tr}" />
</div>
{/legend}
{/form}
{/jstab}
{/jstabs}
{/strip}
|