blob: 8e79962a75cda26dcd2185457b292f53a3da7cdb (
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
|
<h1>Bitweaver Settings</h1>
{form legend="Some Preliminary Settings"}
<input type="hidden" name="step" value="{$next_step}" />
<p>Since Bitweaver has so many settings and features, it might be useful to set some of the key settings on this screen already, to simplify the initial stages. These settings can be found later in the administration panel.</p>
{foreach from=$formInstallToggles key=feature item=output}
<div class="form-group">
{formlabel label=$output.label for=$feature}
{forminput}
{html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature}
{formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
<div class="form-group">
{formlabel label="Browser Title" for="site_title"}
{forminput}
<input class="form-control" type="text" name="site_title" id="site_title" value="{$gBitSystem->getConfig('site_title')|escape}" />
{formhelp note="Enter the text that should appear in the title bar of the user's browser when visiting your site."}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Site Slogan" for="site_slogan"}
{forminput}
<input class="form-control" type="text" name="site_slogan" id="site_slogan" value="{$gBitSystem->getConfig('site_slogan')|escape}" />
{formhelp note="This slogan is (usually) shown below the site title."}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Home Page" for="bit_index"}
{forminput}
<select name="bit_index" id="bit_index" class="form-control">
<option value="my_home"{if $bit_index eq 'my_home'} selected="selected"{/if}>My home</option>
<option value="role_home"{if $bit_index eq 'role_home'} selected="selected"{/if}>Role home</option>
{foreach key=name item=package from=$schema }
{if $package.homeable and $package.installed}
<option {if $package.name=='wiki'}selected="selected"{/if} value="{$package.name}">{$package.name}</option>
{/if}
{/foreach}
{if $gBitSystem->isFeatureActive( 'users_custom_home' )}
<option value="users_custom_home"{if $bit_index eq $gBitSystem->getConfig('site_url_index')} selected="selected"{/if}>Custom home</option>
{/if}
</select>
{formhelp note="Pick your site's homepage. This is where users will be redirected, when they access a link to your homepage.
<dl>
<dt>My Home</dt><dd>This page contains all links the user can access with his/her current permissions. It's like a personal administration screen.</dd>
<dt>Group Home</dt><dd>You can define an individual home page for a group of users using this option. To define home pages, please access the <br /><strong>Administration --> Users --> Groups and Permissions</strong> page.</dd>
<dt>Other Home Pages</dt><dd>Here you can set a particular package that will serve as your home page. If you want to select an individual home page from the exisiting ones, please access the <br /><strong>Administration --> 'Package' --> 'Package' Settings</strong> page.</dd>
</dl>"}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Site Style" for="site_style"}
{forminput}
<select name="site_style" id="site_style" class="form-control">
{* foreach from=$stylesList item=s}
<option value="{$s.style}" {if $s.style eq "basic"}selected="selected"{/if}>{$s.style}</option>
{/foreach *}
</select>
{formhelp note="Pick the look and feel style you wish to use. Custom styles can be added to the config/themes/ directory and then selected in the themes administration panel."}
{/forminput}
</div>
<div class="form-group">
{formlabel label="Language" for="language"}
{forminput}
<select name="bitlanguage" id="bitlanguage" class="form-control">
{foreach from=$languages key=langCode item=lang}
<option value="{$langCode}" {if $langCode eq "en"}selected="selected"{/if}>{$lang.full_name|escape}</option>
{/foreach}
</select>
{formhelp note="Select the default language of your site. Choosing a language other than English will cause the language to be installed, which might take some time depending on your setup."}
{/forminput}
</div>
{if $processors}
<div class="form-group">
{formlabel label="Image Processor"}
{forminput}
{foreach name=iprocs from=$processors key=val item=print}
<label><input type="radio" name="image_processor" value="{$val}" {if $smarty.foreach.iprocs.last}checked="checked"{/if} /> {$print}</label><br />
{/foreach}
{/forminput}
</div>
{/if}
<div class="form-group">
{forminput}
<input type="submit" class="btn btn-primary" name="bit_settings" value="Set Preferences" />
{/forminput}
</div>
{/form}
|