1
{include file="inc/header.tpl"}
2
<script language="Javascript">
10
var footer_button_table = $('footer_button_table');
11
var elems = footer_button_table.select('[class="btn"]');
12
elems.each(function(item){
16
$('btn_hidden_field').name = this.name;
17
$('btn_hidden_field').value = this.value;
19
document.forms[1].submit();
24
{include file="inc/table_header.tpl"}
25
{*------------ Parameters Group ------------------------*}
26
{include file="inc/intable_header.tpl" header="Parameters Group " color="Gray"}
29
<table cellpadding="5" cellspacing="15" width="100%" border="0" >
31
<td style="font-weight:bold; width:30%;">Parameter Group Name</td>
32
<td>{$group_name}</td>
35
<td style="font-weight:bold;">Engine</td>
37
<select class="text"><option>MySQL5.1</option></select>
41
<td style="font-weight:bold;vertical-align:text-top;">Description</td>
42
<td style="vertical-align:text-top;">{$groupDescription}</td>
47
{include file="inc/intable_footer.tpl" color="Gray"}
49
{*------------ system parameters -------------------------*}
50
{include file="inc/intable_header.tpl" header="system parameters" color="Gray"}
53
<table cellpadding="5" cellspacing="15" width="100%" border="0" >
55
<td style="font-weight:bold; width:15%;">Name</td>
56
<td style="font-weight:bold; width:25%;">Value</td>
57
<td style="font-weight:bold;">Description</td>
59
{foreach from = $parameters item = param}
60
{if $param.Source == 'system'}
61
<tr id="{$param.ParameterName}">
62
<td style="vertical-align:text-top;">{$param.ParameterName}</td>
63
<td style="vertical-align:text-top; text-align:left;">
64
{if $param.IsModifiable == 'false' }
65
{$param.ParameterValue}
68
{if $param.DataType == 'string' && $param.AllowedValues}
69
<select class="text" style="width:80%" name="{$param.ParameterName}" id="{$param.ParameterName}">
70
{* if the ParameterValue is set, the selected option is ParameterValue, else - ""*}
71
<option class="text" selected value="{$param.ParameterValue}">{if $param.ParameterValue}{$param.ParameterValue}{else}{/if}</option>
72
{foreach from = $param.AllowedValues item = value }
73
<option class="text" value="{$value}">{$value}</option>
77
{if $param.DataType == 'boolean'}
78
<input type="checkbox" name="{$param.ParameterName}" id="{$param.ParameterName}" {if $param.ParameterValue == '1'} checked {/if} value="1">
80
<input type="text" class="text" style="width:80%" id="{$param.ParameterName}" name="{$param.ParameterName}" value="{$param.ParameterValue}">
85
<td style="font-style:italic;vertical-align:text-top;font-size:9pt; ">
87
{if $param.AllowedValues && $param.DataType != 'string' }<br/>Allowed values: {$param.AllowedValues}{/if}
95
{include file="inc/intable_footer.tpl" color="Gray"}
97
{*------------ engine-default parameter ------------------*}
98
{include file="inc/intable_header.tpl" header="engine-default parameters" color="Gray"}
101
<table cellpadding="5" cellspacing="15" width="100%" border="0" >
103
<td style="font-weight:bold; width:15%;">Name</td>
104
<td style="font-weight:bold; width:25%;">Value</td>
105
<td style="font-weight:bold;">Description</td>
107
{foreach from = $parameters item = param}
108
{if $param.Source == 'engine-default'}
109
<tr id="{$param.ParameterName}">
110
<td style="vertical-align:text-top;">{$param.ParameterName}</td>
111
<td style="vertical-align:text-top; text-align:left;">
112
{if $param.IsModifiable == 'false' }
113
{$param.ParameterValue}
116
{if $param.DataType == 'string' && $param.AllowedValues}
117
<select class="text" style="width:80%" name="{$param.ParameterName}" id="{$param.ParameterName}">
118
{* if the ParameterValue is set, the selected option is ParameterValue, else - ""*}
119
<option class="text" selected value="{$param.ParameterValue}">{if $param.ParameterValue}{$param.ParameterValue}{else}{/if}</option>
120
{foreach from = $param.AllowedValues item = value }
121
<option class="text" value="{$value}">{$value}</option>
125
{if $param.DataType == 'boolean'}
126
<input type="checkbox" name="{$param.ParameterName}" id="{$param.ParameterName}" {if $param.ParameterValue == '1'} checked {/if} value="1">
128
<input type="text" class="text" style="width:80%" id="{$param.ParameterName}" name="{$param.ParameterName}" value="{$param.ParameterValue}">
133
<td style="font-style:italic;vertical-align:text-top;font-size:9pt; ">
135
{if $param.AllowedValues && $param.DataType != 'string' }<br/>Allowed values: {$param.AllowedValues}{/if}
143
{include file="inc/intable_footer.tpl" color="Gray"}
144
{*------------ user parameters ---------------------------*}
145
{include file="inc/intable_header.tpl" header="user parameters" color="Gray"}
148
<table cellpadding="5" cellspacing="15" width="100%" border="0" >
150
<td style="font-weight:bold; width:15%;">Name</td>
151
<td style="font-weight:bold; width:25%;">Value</td>
152
<td style="font-weight:bold;">Description</td>
154
{foreach from = $parameters item = param}
155
{if $param.Source == 'user'}
156
<tr id="{$param.ParameterName}">
157
<td style="vertical-align:text-top;">{$param.ParameterName}</td>
158
<td style="vertical-align:text-top; text-align:left;">
159
{if $param.IsModifiable == 'false' }
160
{$param.ParameterValue}
163
{if $param.DataType == 'string' && $param.AllowedValues}
164
<select class="text" style="width:80%" name="{$param.ParameterName}" id="{$param.ParameterName}">
165
{* if the ParameterValue is set, the selected option is ParameterValue, else - ""*}
166
<option class="text" selected value="{$param.ParameterValue}">{if $param.ParameterValue}{$param.ParameterValue}{else}{/if}</option>
167
{foreach from = $param.AllowedValues item = value }
168
<option class="text" value="{$value}">{$value}</option>
172
{if $param.DataType == 'boolean'}
173
<input type="checkbox" name="{$param.ParameterName}" id="{$param.ParameterName}" {if $param.ParameterValue == '1'} checked {/if} value="1">
175
<input type="text" class="text" style="width:80%" id="{$param.ParameterName}" name="{$param.ParameterName}" value="{$param.ParameterValue}">
180
<td style="font-style:italic;vertical-align:text-top;font-size:9pt; ">
182
{if $param.AllowedValues && $param.DataType != 'string' }<br/>Allowed values: {$param.AllowedValues}{/if}
190
{include file="inc/intable_footer.tpl" color="Gray"}
191
{*---------------------------------------------------------------*}
193
<input type="hidden" name="name" value="{$group_name}">
194
{include file="inc/table_footer.tpl" button_js=1 button_js_name="Save" show_js_button=1 button_js_action="SaveParams();" button3=1 button3_name = "Set to default"}
196
{include file="inc/footer.tpl"}
b'\\ No newline at end of file'