summaryrefslogtreecommitdiff
path: root/templates/install_bit_settings.tpl
blob: 07572a201b10162edf9cfd117850a4124a1279d6 (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
<h1>bitweaver Settings</h1>

{form legend="Some Preliminary Settings"}
	<input type="hidden" name="step" value="{$next_step}" />

	<p>
		You can take advantage of setting some preliminary settings that will help you set up your site quickly and easily.
		Since bitweaver has so many settings and features, we thought it might
		be useful to collect some of the key settings to simplify the initial stages.
	</p>
	<p>
		These settings can all be found from the Administration panel.
	</p>

	{foreach from=$formInstallToggles key=feature item=output}
		<div class="row">
			{formlabel label=`$output.label` for=$feature}
			{forminput}
				{html_checkboxes name="$feature" values="y" checked=`$gBitSystemPrefs.$feature` labels=false id=$feature}
				{formhelp note=`$output.note` page=`$output.page`}
			{/forminput}
		</div>
	{/foreach}

	<div class="row">
		{formlabel label="Browser title" for="siteTitle"}
		{forminput}
			<input size="50" type="text" name="siteTitle" id="siteTitle" value="{$siteTitle|escape}" />
			{formhelp note="Enter the title that should appear in the title bar of the users browser when visiting your site."}
		{/forminput}
	</div>

	<div class="row">
		{formlabel label="Site slogan" for="site_slogan"}
		{forminput}
			<input size="50" type="text" name="site_slogan" id="site_slogan" value="{$gBitSystemPrefs.site_slogan|escape}" />
			{formhelp note="This slogan is (usually) shown below the site title."}
		{/forminput}
	</div>

	<div class="row">
		{formlabel label="Home page" for="bitIndex"}
		{forminput}
			<select name="bitIndex" id="bitIndex">
				<option value="my_home"{if $bitIndex eq 'my_home'} selected="selected"{/if}>{tr}My home{/tr}</option>
				<option value="group_home"{if $bitIndex eq 'group_home'} selected="selected"{/if}>{tr}Group home{/tr}</option>
				{foreach key=name item=package from=$schema }
					{if $package.homeable && $package.installed}
						<option {if $package.name=='wiki'}selected="selected"{/if} value="{$package.name}">{$package.name}</option>
					{/if}
				{/foreach}
				{if $gBitSystemPrefs.feature_custom_home eq 'y'}
					<option value="custom_home"{if $bitIndex eq $urlIndex} selected="selected"{/if}>{tr}Custom home{/tr}</option>
				{/if}
			</select>
			{formhelp note="Pick your site's homepage. This is where they 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="row">
		{formlabel label="Language" for="language"}
		{forminput}
			<select name="bitlanguage" id="bitlanguage">
                                {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."}

		{/forminput}
	</div>

	<div class="row submit">
		<input type="submit" name="fSubmitBitSettings" value="{tr}Set Preferences{/tr}" />
	</div>
{/form}