Adding a custom newsfeed to the customer-dashboard, fixes #1408

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2014-06-01 18:46:15 +02:00
parent fd3ab6221c
commit 3acfcd4a95
22 changed files with 84 additions and 6 deletions

View File

@@ -25,7 +25,11 @@ if(isset($_POST['action'])) {
}
if ($action == "newsfeed") {
$feed = "http://inside.froxlor.org/news/";
if (isset($_GET['url'])) {
$feed = $_GET['url'];
} else {
$feed = "http://inside.froxlor.org/news/";
}
if (function_exists("simplexml_load_file") == false) {
die();