Commit eaf4a723 authored by floh1111's avatar floh1111

Added ability to send the emails, some bugfixing an butifying

parent 574f89fd
......@@ -9420,30 +9420,30 @@ $lang=Array(
"Tiki RSS feed for the wiki pages" => "Tiki RSS Wiki Feed",
"Last modifications to the Wiki." => "Zuletzt geänderte Wikiseiten.",
//Report-Translations (Email)
"changes" => "Änderungen",
"change" => "Änderung",
"No changes" => "Keine Änderungen",
"Daily report from" => "Tägliche Zusammenfassung vom",
"changes" => "Aenderungen",
"change" => "Aenderung",
"No changes" => "Keine Aenderungen",
"Daily report from" => "Taegliche Zusammenfassung vom",
"Monthly report from" => "Monatliche Zusammenfassung vom",
"Weekly report from" => "Wöchentliche Zusammenfassung vom",
"Report for" => "Zusammenfassung für",
"Weekly report from" => "Woechentliche Zusammenfassung vom",
"Report for" => "Zusammenfassung fuer",
"Last Report sent on" => "Letzter Report am",
"Changes in detail:" => "Änderungen im Detail:",
"changed the picture gallery" => "Änderte die Bildergalerie",
"Changes in detail:" => "Aenderungen im Detail:",
"changed the picture gallery" => "aenderte die Bildergalerie",
"uploaded the picture" => "lud das Bild",
"onto" => "nach",
"removed the picture" => "entfernte das Bild",
"edited the wikipage" => "Änderte die Seite",
"this history" => "diese Änderung",
"all history" => "alle Änderungen",
"edited the file gallery" => "änderte das Dateiarchiv",
"edited the wikipage" => "aenderte die Seite",
"this history" => "diese Aenderung",
"all history" => "alle Aenderungen",
"edited the file gallery" => "aenderte das Dateiarchiv",
"Last Report sent on" => "Letzter Report am",
"Last Report sent on" => "Letzter Report am",
"uploaded the file" => "lud die Datei",
"added the file" => "fügte die Datei",
"added the image" => "fügte das Bild",
"added the article" => "fügte den Artikel",
"added the wiki page" => "fügte die Wikiseite",
"added the file" => "fuegte die Datei",
"added the image" => "fuegte das Bild",
"added the article" => "fuegte den Artikel",
"added the wiki page" => "fuegte die Wikiseite",
"to the category" => "zur folgenden Kategorie hinzu:",
"removed the file" => "entfernte die Datei",
"removed the image" => "entfernte das Bild",
......@@ -9452,17 +9452,17 @@ $lang=Array(
"from the category" => "von der Kategorie",
"created the subcategory" => "erstellte die Unterkategorie",
"removed the subcategory" => "entfernte die Unterkategorie",
"edited the category" => "änderte die Kategorie",
"removed the article" => "löschte den Artikel",
"edited the category" => "aenderte die Kategorie",
"removed the article" => "loeschte den Artikel",
"created the article" => "erstellte den Artikel",
"edited the article" => "Änderte den Artikel",
"edited the article" => "aenderte den Artikel",
"replied to the blog" => "antwortete auf den Blog",
"created the topic" => "erstellte das Thema",
"at forum" => "im Forum",
"replied" => "antwortete",
"to the topic" => "auf das Thema",
"Nothing has happened." => "Es wurde nichts gndert",
"more changes of the same type..." => "weitere Änderungen der selben Art...",
"Nothing has happened." => "Es wurde nichts gaendert",
"more changes of the same type..." => "weitere Aenderungen der selben Art...",
"Use reports to summarise notifications about objects you are watching." => "Nutze Reports um Notifikations in einer Email zusammenzufassen.",
"Interval in witch you want to get the reports" => "Intervall in dem dir Reports gesendet werden sollen",
"Use reports" => "Reports benutzen",
......@@ -9471,7 +9471,7 @@ $lang=Array(
"HTML-Email" => "HTML-Email",
"Plain text" => "Nur Text",
"Send me an email also if nothing happened" => "Schicke mir eine Email, auch wenn nichts passiert ist",
"Reports are disabled, only standard reporting is available" => "Reports sind ausgeschaltet, nur Standart-Reporting ist verfgbar",
"Reports are disabled, only standard reporting is available" => "Reports sind ausgeschaltet, nur Standart-Reporting ist verfuegbar",
......
This diff is collapsed.
......@@ -5,7 +5,7 @@
{else}<br><br>{/if}
{if $report_preferences.type eq 'html'}<u>{/if}{tr}Changes in detail:{/tr}{if $report_preferences.type eq 'html'}<u><br>{else}
{if $report_preferences.type eq 'html'}<u>{/if}{tr}Changes in detail:{/tr}{if $report_preferences.type eq 'html'}</u><br>{else}
-----------------------
......
......@@ -9,11 +9,11 @@ if ($_SERVER['REMOTE_ADDR'] != "127.0.0.1" AND !empty($_SERVER['REMOTE_ADDR']))
if ($prefs['feature_daily_report_watches'] != 'y') {
die("This feature is disabled");
}
include_once ('lib/tikilib.php');
include_once ('lib/reportslib.php');
foreach($reportslib->getUsersForSendingReport() as $key => $user) {
$report_preferences = $reportslib->get_report_preferences_by_user($user);
$user_data = $userlib->get_user_info($user);
//If Emailadress isn´t set, do nothing but clear the cache
if (!empty($user_data['email'])) {
//Fetch cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment