summaryrefslogtreecommitdiff
path: root/includes/pages
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/pages
parent8a0bd3d55cb0a012056a13ab8e4158a69ccb4764 (diff)
pulled complete menu to the top (go for mobile...)
Diffstat (limited to 'includes/pages')
-rw-r--r--includes/pages/admin_news.php2
-rw-r--r--includes/pages/admin_user.php2
-rw-r--r--includes/pages/user_news.php6
-rw-r--r--includes/pages/user_shifts.php2
4 files changed, 6 insertions, 6 deletions
diff --git a/includes/pages/admin_news.php b/includes/pages/admin_news.php
index 39b37068..a83e0d70 100644
--- a/includes/pages/admin_news.php
+++ b/includes/pages/admin_news.php
@@ -5,7 +5,7 @@ function admin_news() {
if (! isset($_GET["action"])) {
redirect(page_link_to("news"));
} else {
- $html = '<div class="col-md-10"><h1>' . _("Edit news entry") . '</h1>';
+ $html = '<div class="col-md-12"><h1>' . _("Edit news entry") . '</h1>';
if (isset($_REQUEST['id']) && preg_match("/^[0-9]{1,11}$/", $_REQUEST['id']))
$id = $_REQUEST['id'];
else
diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php
index 7df39d0d..8eb4d5bc 100644
--- a/includes/pages/admin_user.php
+++ b/includes/pages/admin_user.php
@@ -6,7 +6,7 @@ function admin_user_title() {
function admin_user() {
global $user, $privileges, $tshirt_sizes, $privileges;
- $html = '<div class="col-md-10">';
+ $html = '<div class="col-md-12">';
if (isset($_REQUEST['id']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['id']) && sql_num_query("SELECT * FROM `User` WHERE `UID`=" . sql_escape($_REQUEST['id'])) > 0) {
$id = $_REQUEST['id'];
diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php
index c4d243f4..c049f70e 100644
--- a/includes/pages/user_news.php
+++ b/includes/pages/user_news.php
@@ -14,7 +14,7 @@ function meetings_title() {
function user_meetings() {
global $DISPLAY_NEWS, $privileges, $user;
- $html = '<div class="col-md-10"><h1>' . meetings_title() . '</h1>' . msg();
+ $html = '<div class="col-md-12"><h1>' . meetings_title() . '</h1>' . msg();
if (isset($_REQUEST['page']) && preg_match("/^[0-9]{1,}$/", $_REQUEST['page']))
$page = $_REQUEST['page'];
@@ -72,7 +72,7 @@ function display_news($news) {
function user_news_comments() {
global $user;
- $html = '<div class="col-md-10"><h1>' . user_news_comments_title() . '</h1>';
+ $html = '<div class="col-md-12"><h1>' . user_news_comments_title() . '</h1>';
if (isset($_REQUEST["nid"]) && preg_match("/^[0-9]{1,}$/", $_REQUEST['nid']) && sql_num_query("SELECT * FROM `News` WHERE `ID`=" . sql_escape($_REQUEST['nid']) . " LIMIT 1") > 0) {
$nid = $_REQUEST["nid"];
list($news) = sql_select("SELECT * FROM `News` WHERE `ID`=" . sql_escape($nid) . " LIMIT 1");
@@ -116,7 +116,7 @@ function user_news_comments() {
function user_news() {
global $DISPLAY_NEWS, $privileges, $user;
- $html = '<div class="col-md-10"><h1>' . news_title() . '</h1>' . msg();
+ $html = '<div class="col-md-12"><h1>' . news_title() . '</h1>' . msg();
if (isset($_POST["text"]) && isset($_POST["betreff"]) && in_array("admin_news", $privileges)) {
if (! isset($_POST["treffen"]) || ! in_array("admin_news", $privileges))
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index faf6f162..3b5c57e9 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -730,7 +730,7 @@ function view_user_shifts() {
User_reset_api_key($user);
return page(array(
- '<div class="col-md-10">',
+ '<div class="col-md-12">',
msg(),
template_render('../templates/user_shifts.html', array(
'title' => shifts_title(),