summaryrefslogtreecommitdiff
path: root/includes/pages/user_news.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-09-29 19:31:26 +0200
committermsquare <msquare@notrademark.de>2016-09-29 19:31:26 +0200
commit9ad90882600e89c4682397870879c8403576bc74 (patch)
tree3e154c1a036b81836ca9238de95bc308b2908a54 /includes/pages/user_news.php
parenta128bcbb38a664bb2a07d0beb8bfb777e4b5da44 (diff)
make short variable names longer
Diffstat (limited to 'includes/pages/user_news.php')
-rw-r--r--includes/pages/user_news.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php
index e035e656..c5791134 100644
--- a/includes/pages/user_news.php
+++ b/includes/pages/user_news.php
@@ -46,7 +46,7 @@ function user_meetings() {
}
function display_news($news) {
- global $privileges, $p;
+ global $privileges, $page;
$html = '';
$html .= '<div class="panel' . ($news['Treffen'] == 1 ? ' panel-info' : ' panel-default') . '">';
@@ -67,7 +67,7 @@ function display_news($news) {
}
$html .= User_Nick_render($user_source);
- if ($p != "news_comments") {
+ if ($page != "news_comments") {
$html .= '&emsp;<a href="' . page_link_to("news_comments") . '&nid=' . $news['ID'] . '"><span class="glyphicon glyphicon-comment"></span> ' . _("Comments") . ' &raquo;</a> <span class="badge">' . sql_num_query("SELECT * FROM `NewsComments` WHERE `Refid`='" . sql_escape($news['ID']) . "'") . '</span>';
}
$html .= '</div>';