blob: 8f2593559e0ad44e717d8db127e7f5ec355ae425 (
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
|
{* $Header: /cvsroot/bitweaver/_bit_articles/templates/admin_articles.tpl,v 1.12 2006/11/23 15:18:18 squareing Exp $ *}
{strip}
{form}
{jstabs}
{jstab title="Article Settings"}
<input type="hidden" name="page" value="{$page}" />
{legend legend="CMS Settings"}
{foreach from=$formCmsSettings key=feature item=output}
<div class="row">
{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="row">
{formlabel label="Maximum Articles" for="articles-maxhome"}
{forminput}
<input size="5" type="text" name="articles_max_list" id="articles-maxhome" value="{$gBitSystem->getConfig('articles_max_list')|escape}" />
{formhelp note="Number of articles shown on the main articles page."}
{/forminput}
</div>
<div class="row">
{formlabel label="Article Description Length" for="articles-descrlength"}
{forminput}
<input size="5" type="text" name="articles_description_length" id="articles-descrlength" value="{$gBitSystem->getConfig('articles_description_length')|escape}" /> {tr}characters{/tr}
{formhelp note="Number of characters displayed on the articles main page before splitting the article into a heading and body.<br />Changing this value might influence existing articles."}
{/forminput}
</div>
<div class="row">
{formlabel label="Article Image Size" for="article_topic_thumbnail_size"}
{forminput}
<input size="5" type="text" id="article_topic_thumbnail_size" name="article_topic_thumbnail_size" value="{$gBitSystem->getConfig('article_topic_thumbnail_size')|default:"160"}" /> {tr}pixels{/tr}
{formhelp note="Here you can set the maximum width and height an article image can have. If you don't want this feature active, set it very high, then your images will not be resized."}
{/forminput}
</div>
<div class="row submit">
<input type="submit" name="settingsTabSubmit" value="{tr}Change preferences{/tr}" />
</div>
{/legend}
{/jstab}
{jstab title="Article Listings"}
{legend legend="CMS Settings"}
{foreach from=$formArticleListing key=feature item=output}
<div class="row">
{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="row submit">
<input type="submit" name="listTabSubmit" value="{tr}Change preferences{/tr}" />
</div>
{/legend}
{/jstab}
{/jstabs}
{/form}
{/strip}
|