blob: 747ccc52818372a14d24a58485f45460eb0fe52b (
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
|
{* $Header: /cvsroot/bitweaver/_bit_articles/templates/admin_articles.tpl,v 1.10 2006/03/01 21:12:23 spiderr 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="max_articles" id="articles-maxhome" value="{$gBitSystem->getConfig('max_articles')|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="article_description_length" id="articles-descrlength" value="{$gBitSystem->getConfig('article_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">
{formlabel label="Display Time since Publishing" for="articles-date-threshold"}
{forminput}
{html_options options=$articleDateThreshold values=$articleDateThreshold name=article_date_threshold id=article-date-threshold selected=$gBitSystem->mPrefs.article_date_threshold}
{formhelp note="Display the time since the article has been published instead of the full date. Pick the timespan for which this is true."}
{/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}
|