blob: b02ab7dd121d35f0fc9a8e76a45c1e265359bda6 (
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
|
{strip}
{form}
{jstabs}
{jstab title="Settings"}
{legend legend="General Settings"}
<div class="form-group">
{formhelp note="To change the Image Processing engine, you need to change the setting in Liberty Settings" link="kernel/admin/index.php?page=liberty/Liberty Settings"}
</div>
{foreach from=$formGalleryGeneral key=item item=output}
<div class="form-group">
{if $output.type=='checkbox'}
{forminput label="checkbox"}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {$output.label}
{formhelp note=$output.note}
{/forminput}
{else}
{formlabel label=$output.label for=$item}
{forminput}
<input type="text" class="form-control" name="{$item}" id="{$item}" value="{$gBitSystem->getConfig($item)}"/>
{formhelp note=$output.note}
{/forminput}
{/if}
</div>
{/foreach}
{/legend}
{/jstab}
{jstab title="List"}
{legend legend="Assembly List Options"}
<div class="form-group">
{formhelp note="The options below determine what information is shown on the List Assemblies page."}
</div>
{foreach from=$formGalleryListLists key=item item=output}
<div class="form-group">
{forminput label="checkbox"}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {$output.label}
{formhelp note=$output.note}
{/forminput}
</div>
{/foreach}
{/legend}
{/jstab}
{jstab title="Assemblies"}
{legend legend="Assembly Display Settings"}
<input type="hidden" name="page" value="{$page}" />
<div class="form-group">
{formhelp note="The options below determine what information is shown on an assembly display page."}
</div>
{foreach from=$formGalleryLists key=item item=output}
<div class="form-group">
{forminput label="checkbox"}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {$output.label}
{formhelp note=$output.note page=$output.page|default:0}
{/forminput}
</div>
{/foreach}
<div class="form-group">
{formlabel label="Default sort order" for="stock_gallery_default_sort_mode"}
{forminput}
{html_options values=$sortOptions options=$sortOptions name="stock_gallery_default_sort_mode" id="stock_gallery_default_sort_mode" selected=$gBitSystem->getConfig('stock_gallery_default_sort_mode')}
{formhelp note="Default component order when no manual position has been assigned."}
{/forminput}
</div>
{/legend}
{/jstab}
{jstab title="Components"}
{legend legend="Component Display Settings"}
<div class="form-group">
{formhelp note="The options below determine what information is displayed on the component display page."}
</div>
{foreach from=$formImageLists key=item item=output}
<div class="form-group">
{forminput label="checkbox"}
{html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {$output.label}
{formhelp note=$output.note}
{/forminput}
</div>
{/foreach}
{/legend}
{/jstab}
{/jstabs}
<div class="form-group submit">
<input type="submit" class="btn btn-default" name="stockAdminSubmit" value="{tr}Change Preferences{/tr}" />
</div>
{/form}
{/strip}
|