2016-02-13 21:09:45 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$no_refresh = true;
|
|
|
|
|
|
|
|
$config_groups = get_config_by_group('webui');
|
|
|
|
|
|
|
|
$search_conf = array(
|
|
|
|
array('name' => 'webui.global_search_result_limit',
|
|
|
|
'descr' => 'Set the max search result limit',
|
|
|
|
'type' => 'text',
|
|
|
|
),
|
|
|
|
);
|
|
|
|
|
2016-04-26 12:56:58 -07:00
|
|
|
$graph_conf = array(
|
|
|
|
array('name' => 'webui.min_graph_height',
|
|
|
|
'descr' => 'Set the minimum graph height',
|
|
|
|
'type' => 'text',
|
|
|
|
),
|
|
|
|
);
|
|
|
|
|
2016-02-13 21:09:45 +01:00
|
|
|
echo '
|
|
|
|
<div class="panel-group" id="accordion">
|
|
|
|
<form class="form-horizontal" role="form" action="" method="post">
|
|
|
|
';
|
|
|
|
|
2016-08-18 20:28:22 -05:00
|
|
|
echo generate_dynamic_config_panel('Graph settings', $config_groups, $graph_conf);
|
|
|
|
echo generate_dynamic_config_panel('Search settings', $config_groups, $search_conf);
|
2016-02-13 21:09:45 +01:00
|
|
|
|
|
|
|
echo '
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
';
|