summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-09-08 14:45:41 +0200
committerPhilip Häusler <msquare@notrademark.de>2014-09-08 14:45:41 +0200
commit46575d90c276bbf10d28d19900790c454dbe96ff (patch)
treed39a3b33d611b8c165c24e8a245a535801ee50dd /includes/sys_template.php
parent8a0bd3d55cb0a012056a13ab8e4158a69ccb4764 (diff)
pulled complete menu to the top (go for mobile...)
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r--includes/sys_template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php
index be463139..b18abe53 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -19,8 +19,8 @@ function div($class, $content = array(), $id = "") {
* @param array $items
* @return string
*/
-function toolbar($items = array()) {
- return '<ul class="nav navbar-nav navbar-right">' . join("\n", $items) . '</ul>';
+function toolbar($items = array(), $right = false) {
+ return '<ul class="nav navbar-nav' . ($right ? ' navbar-right' : '') . '">' . join("\n", $items) . '</ul>';
}
/**
@@ -233,7 +233,7 @@ function page($elements) {
* Fügt dazu die übergebenen Elemente zusammen.
*/
function page_with_title($title, $elements) {
- return '<div class="col-md-10"><h1>' . $title . '</h1>' . join($elements) . '</div>';
+ return '<div class="col-md-12"><h1>' . $title . '</h1>' . join($elements) . '</div>';
}
/**