summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r--includes/sys_template.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php
index 5b6caade..9bede1ee 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -60,6 +60,10 @@ function toolbar($items = [], $right = false) {
return '<ul class="nav navbar-nav' . ($right ? ' navbar-right' : '') . '">' . join("\n", $items) . '</ul>';
}
+function toolbar_pills($items) {
+ return '<ul class="nav nav-pills">' . join("\n", $items) . '</ul>';
+}
+
/**
* Render a link for a toolbar.
*