diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php
index 48b3764c..5d725c13 100644
--- a/includes/pages/user_news.php
+++ b/includes/pages/user_news.php
@@ -80,22 +80,22 @@ function user_news_comments() {
$html .= "";
$html .= '
-
-
- Neuer Kommentar:
-
-
- ';
+
+
+ Neuer Kommentar:
+
+
+ ';
} else {
$html .= "Fehlerhafter Aufruf!";
}
@@ -108,7 +108,7 @@ function user_news() {
$html = "";
- if (isset ($_POST["text"]) && isset ($_POST["betreff"])) {
+ if (isset ($_POST["text"]) && isset ($_POST["betreff"]) && in_array("admin_news", $privileges)) {
if (!isset ($_POST["treffen"]) || !in_array("admin_news", $privileges))
$_POST["treffen"] = 0;
sql_query("INSERT INTO `News` (`Datum`, `Betreff`, `Text`, `UID`, `Treffen`) " .
@@ -137,32 +137,34 @@ function user_news() {
else
$html .= '' . ($i +1) . ' ';
}
- $html .= '
-
- ' . Get_Text(6) . '
-
-
- ';
return $html;
}
?>
\ No newline at end of file