';
+ $question = 'Do you want to enable the custom newsfeed for customer? (default: no): ';
+ $question.= makeyesno('customer_show_news_feed', '1', '0', '0').' ';
+ $question.= 'You have to set the URL for your RSS-feed here, if you have choosen to enable the custom newsfeed on the customer-dashboard: ';
+ $question.= ' ';
+ eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
+ }
+
}
diff --git a/js/.DS_Store b/js/.DS_Store
new file mode 100644
index 00000000..4cacc4a5
Binary files /dev/null and b/js/.DS_Store differ
diff --git a/lib/.DS_Store b/lib/.DS_Store
new file mode 100644
index 00000000..0bad3fad
Binary files /dev/null and b/lib/.DS_Store differ
diff --git a/lib/ajax.php b/lib/ajax.php
index ab8a6816..03df366f 100644
--- a/lib/ajax.php
+++ b/lib/ajax.php
@@ -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();
diff --git a/lib/classes/.DS_Store b/lib/classes/.DS_Store
new file mode 100644
index 00000000..d4389600
Binary files /dev/null and b/lib/classes/.DS_Store differ
diff --git a/lib/functions/froxlor/.DS_Store b/lib/functions/froxlor/.DS_Store
new file mode 100644
index 00000000..5008ddfc
Binary files /dev/null and b/lib/functions/froxlor/.DS_Store differ
diff --git a/lib/navigation/.DS_Store b/lib/navigation/.DS_Store
new file mode 100644
index 00000000..5008ddfc
Binary files /dev/null and b/lib/navigation/.DS_Store differ
diff --git a/lib/tables.inc.php b/lib/tables.inc.php
index 4742169d..8f493600 100644
--- a/lib/tables.inc.php
+++ b/lib/tables.inc.php
@@ -51,6 +51,6 @@ define('TABLE_PANEL_DOMAIN_SSL_SETTINGS', 'domain_ssl_settings');
define('TABLE_DOMAINTOIP', 'panel_domaintoip');
// VERSION INFO
-$version = '0.9.32';
+$version = '0.9.33-dev1';
$dbversion = '2';
$branding = '';
diff --git a/lng/.DS_Store b/lng/.DS_Store
new file mode 100644
index 00000000..5008ddfc
Binary files /dev/null and b/lng/.DS_Store differ
diff --git a/lng/english.lng.php b/lng/english.lng.php
index 1f5e88ee..7043d8b9 100644
--- a/lng/english.lng.php
+++ b/lng/english.lng.php
@@ -1818,3 +1818,7 @@ $lng['error']['cannotdeletedefaultphpconfig'] = 'This PHP-configuration is set a
$lng['serversettings']['system_cron_allowautoupdate']['title'] = 'Allow automatic database updates';
$lng['serversettings']['system_cron_allowautoupdate']['description'] = '
ATTENTION:
This settings allows the cronjob to bypass the version-check of froxlors files and database and runs the database-updates in case a version-mismatch occurs.
Auto-update will always set default values for new settings or changes. This might not always suite your system. Please think twice before activating this option
';
$lng['error']['passwordshouldnotbeusername'] = 'The password should not be the same as the username.';
+
+// Added in Froxlor 0.9.33
+$lng['admin']['customer_show_news_feed'] = "Show custom newsfeed on customer-dashboard";
+$lng['admin']['customer_news_feed_url'] = "RSS-Feed for the custom newsfeed";
diff --git a/lng/german.lng.php b/lng/german.lng.php
index 0202baea..3072c990 100644
--- a/lng/german.lng.php
+++ b/lng/german.lng.php
@@ -1542,3 +1542,7 @@ $lng['error']['cannotdeletedefaultphpconfig'] = 'Diese PHP-Konfiguration ist als
$lng['serversettings']['system_cron_allowautoupdate']['title'] = 'Erlaube automatische Datenbank-Aktualisierungen';
$lng['serversettings']['system_cron_allowautoupdate']['description'] = '
WARNUNG:
Diese Einstellung erlaubt es dem Cronjob die Prüfung der Dateien- und Datenbank-Version zu umgehen und bei einem Versions-Unterschied die Datenbank-Aktualisierungen automatisiert auszuführen.
Das automatische Update setzt für neue Einstellungen und Änderungen immer die default-Werte. Diese müssen nicht zwingend zu dem genutzten System passen. Bitte zwei mal nachdenken, bevor diese Option aktiviert wird.
';
$lng['error']['passwordshouldnotbeusername'] = 'Das Passwort sollte nicht mit dem Benutzernamen übereinstimmen.';
+
+// Added in Froxlor 0.9.33
+$lng['admin']['customer_show_news_feed'] = "Zeige benutzerdefinierten Newsfeed im Kunden-Dashboard";
+$lng['admin']['customer_news_feed_url'] = "RSS-Feed für den benutzerdefinierten Newsfeed";
diff --git a/templates/Sparkle/.DS_Store b/templates/Sparkle/.DS_Store
new file mode 100644
index 00000000..9c5e162c
Binary files /dev/null and b/templates/Sparkle/.DS_Store differ
diff --git a/templates/Sparkle/assets/css/.DS_Store b/templates/Sparkle/assets/css/.DS_Store
new file mode 100644
index 00000000..5008ddfc
Binary files /dev/null and b/templates/Sparkle/assets/css/.DS_Store differ
diff --git a/templates/Sparkle/assets/img/.DS_Store b/templates/Sparkle/assets/img/.DS_Store
new file mode 100644
index 00000000..d8d844af
Binary files /dev/null and b/templates/Sparkle/assets/img/.DS_Store differ
diff --git a/templates/Sparkle/assets/js/main.js b/templates/Sparkle/assets/js/main.js
index b9147e6c..2bab8d7d 100644
--- a/templates/Sparkle/assets/js/main.js
+++ b/templates/Sparkle/assets/js/main.js
@@ -28,13 +28,17 @@ $(document).ready(function() {
// Load Newsfeed
var ajax_load = "