From 46575d90c276bbf10d28d19900790c454dbe96ff Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Mon, 8 Sep 2014 14:45:41 +0200 Subject: pulled complete menu to the top (go for mobile...) --- includes/pages/admin_news.php | 2 +- includes/pages/admin_user.php | 2 +- includes/pages/user_news.php | 6 +++--- includes/pages/user_shifts.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'includes/pages') 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 = '

' . _("Edit news entry") . '

'; + $html = '

' . _("Edit news entry") . '

'; 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 = '
'; + $html = '
'; 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 = '

' . meetings_title() . '

' . msg(); + $html = '

' . meetings_title() . '

' . 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 = '

' . user_news_comments_title() . '

'; + $html = '

' . user_news_comments_title() . '

'; 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 = '

' . news_title() . '

' . msg(); + $html = '

' . news_title() . '

' . 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( - '
', + '
', msg(), template_render('../templates/user_shifts.html', array( 'title' => shifts_title(), -- cgit v1.2.3-70-g09d2