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; } } ?>