mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Move function to WebUI
Based on Neil’s suggestion.
This commit is contained in:
24
html/pages/settings/webui.inc.php
Normal file
24
html/pages/settings/webui.inc.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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',
|
||||
),
|
||||
);
|
||||
|
||||
echo '
|
||||
<div class="panel-group" id="accordion">
|
||||
<form class="form-horizontal" role="form" action="" method="post">
|
||||
';
|
||||
|
||||
echo generate_dynamic_config_panel('Search settings',true,$config_groups,$search_conf);
|
||||
|
||||
echo '
|
||||
</form>
|
||||
</div>
|
||||
';
|
Reference in New Issue
Block a user