Commit 991b50f0 authored by nextime's avatar nextime

Exclude websections starting with _ on left panel in standard gui

parent 6a2cf1ef
...@@ -11,10 +11,12 @@ ...@@ -11,10 +11,12 @@
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>
</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