Toggle navigation
$pg) { if ($pg['navbar'] === TRUE) { $counter++; if ($counter > ($curpagefound ? 4 : 3) && $pageid != $id) { $item = '
'; if (isset($pg['icon'])) { $item .= '
'; } $item .= $Strings->get($pg['title'], false) . '
'; echo '
' . $item . "
"; $more .= '
' . $item . "
"; } else { if ($pageid == $id) { $curpagefound = true; ?>
get($pg['title']) ?>
4) { ?>
get("more"); ?>
get("sign out") ?>
"/>
get(MESSAGES[$_GET['msg']]['string'], false); } else { $alertmsg = $Strings->build(MESSAGES[$_GET['msg']]['string'], ["arg" => $_GET['arg']], false); } $alerttype = MESSAGES[$_GET['msg']]['type']; $alerticon = "square-o"; switch (MESSAGES[$_GET['msg']]['type']) { case "danger": $alerticon = "times"; break; case "warning": $alerticon = "exclamation-triangle"; break; case "info": $alerticon = "info-circle"; break; case "success": $alerticon = "check"; break; } echo <<
×
$alertmsg
END; } ?>
get($APPS[$app]['title'], false) : $APPS[$app]['title']); $appicon = (is_empty($APPS[$app]['icon']) ? "" : "fa fa-fw fa-" . $APPS[$app]['icon']); $apptype = (is_empty($APPS[$app]['type']) ? "default" : $APPS[$app]['type']); $appcontent = $APPS[$app]['content']; echo <<
$apptitle
$appcontent
END; } } ?>