Commit 991b50f0 authored by nextime's avatar nextime

Exclude websections starting with _ on left panel in standard gui

parent 6a2cf1ef
...@@ -11,9 +11,11 @@ ...@@ -11,9 +11,11 @@
ksort($links, SORT_NATURAL | SORT_FLAG_CASE); ksort($links, SORT_NATURAL | SORT_FLAG_CASE);
foreach($links as $k => $v) foreach($links as $k => $v)
{ {
if(!startsWith($v, '_')) {
?> ?>
<a href="<?=$BASEGUIPATH."/actuations/".$v?>" class="btn btn-block btn-default"><?=$k?></a> <a href="<?=$BASEGUIPATH."/actuations/".$v?>" class="btn btn-block btn-default"><?=$k?></a>
<? <?
}
} }
?> ?>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment