More surfbar mail templates added, a lot renamed to naming convention.
authorRoland Häder <roland@mxchange.org>
Fri, 28 Nov 2008 02:02:29 +0000 (02:02 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 28 Nov 2008 02:02:29 +0000 (02:02 +0000)
- Added for stopped URLs which shall start again
- Added for stopped URLs which shall be deleted
- A lot renamed!

24 files changed:
.gitattributes
inc/databases.php
inc/language/_de.php [new file with mode: 0644]
inc/language/surfbar_de.php
inc/libs/surfbar_functions.php
inc/modules/admin/what-list_surfbar_urls.php
templates/de/emails/admin/admin_surfbar_url_active_deleted.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_surfbar_url_active_pending.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_surfbar_url_active_stopped.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_surfbar_url_deleted.tpl [deleted file]
templates/de/emails/admin/admin_surfbar_url_edited.tpl [deleted file]
templates/de/emails/admin/admin_surfbar_url_pending_deleted.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_surfbar_url_stopped_continued.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_surfbar_url_stopped_deleted.tpl [new file with mode: 0644]
templates/de/emails/admin/admin_surfbar_url_stopped_pending.tpl [new file with mode: 0644]
templates/de/emails/member/member_surfbar_url_active_deleted.tpl [new file with mode: 0644]
templates/de/emails/member/member_surfbar_url_active_pending.tpl [new file with mode: 0644]
templates/de/emails/member/member_surfbar_url_active_stopped.tpl [new file with mode: 0644]
templates/de/emails/member/member_surfbar_url_deleted.tpl [deleted file]
templates/de/emails/member/member_surfbar_url_edited.tpl [deleted file]
templates/de/emails/member/member_surfbar_url_pending_deleted.tpl [new file with mode: 0644]
templates/de/emails/member/member_surfbar_url_stopped_continued.tpl [new file with mode: 0644]
templates/de/emails/member/member_surfbar_url_stopped_deleted.tpl [new file with mode: 0644]
templates/de/emails/member/member_surfbar_url_stopped_pending.tpl [new file with mode: 0644]

index 0721643..8835d5b 100644 (file)
@@ -157,6 +157,7 @@ inc/install-inc.php -text
 inc/js/.htaccess -text
 inc/language.php -text
 inc/language/.htaccess -text
+inc/language/_de.php -text
 inc/language/active_de.php -text
 inc/language/admins_de.php -text
 inc/language/autopurge_de.php -text
@@ -653,14 +654,19 @@ templates/de/emails/admin/admin_support-order.tpl -text
 templates/de/emails/admin/admin_support-ordr.tpl -text
 templates/de/emails/admin/admin_support-reflink.tpl -text
 templates/de/emails/admin/admin_support-unconfirmed.tpl -text
+templates/de/emails/admin/admin_surfbar_url_active_deleted.tpl -text
+templates/de/emails/admin/admin_surfbar_url_active_pending.tpl -text
+templates/de/emails/admin/admin_surfbar_url_active_stopped.tpl -text
 templates/de/emails/admin/admin_surfbar_url_confirmed.tpl -text
-templates/de/emails/admin/admin_surfbar_url_deleted.tpl -text
 templates/de/emails/admin/admin_surfbar_url_depleted.tpl -text
-templates/de/emails/admin/admin_surfbar_url_edited.tpl -text
 templates/de/emails/admin/admin_surfbar_url_migrate.tpl -text
 templates/de/emails/admin/admin_surfbar_url_pending.tpl -text
+templates/de/emails/admin/admin_surfbar_url_pending_deleted.tpl -text
 templates/de/emails/admin/admin_surfbar_url_reg.tpl -text
 templates/de/emails/admin/admin_surfbar_url_rejected.tpl -text
+templates/de/emails/admin/admin_surfbar_url_stopped_continued.tpl -text
+templates/de/emails/admin/admin_surfbar_url_stopped_deleted.tpl -text
+templates/de/emails/admin/admin_surfbar_url_stopped_pending.tpl -text
 templates/de/emails/admin/admin_surfbar_url_unlock.tpl -text
 templates/de/emails/admin/admin_transfer_ap.tpl -text
 templates/de/emails/admin/admin_transfer_points.tpl -text
@@ -730,14 +736,19 @@ templates/de/emails/member/member_support-ordr.tpl -text
 templates/de/emails/member/member_support-reflink.tpl -text
 templates/de/emails/member/member_support-unconfirmed.tpl -text
 templates/de/emails/member/member_surfbar_low_points.tpl -text
+templates/de/emails/member/member_surfbar_url_active_deleted.tpl -text
+templates/de/emails/member/member_surfbar_url_active_pending.tpl -text
+templates/de/emails/member/member_surfbar_url_active_stopped.tpl -text
 templates/de/emails/member/member_surfbar_url_confirmed.tpl -text
-templates/de/emails/member/member_surfbar_url_deleted.tpl -text
 templates/de/emails/member/member_surfbar_url_depleted.tpl -text
-templates/de/emails/member/member_surfbar_url_edited.tpl -text
 templates/de/emails/member/member_surfbar_url_migrate.tpl -text
 templates/de/emails/member/member_surfbar_url_pending.tpl -text
+templates/de/emails/member/member_surfbar_url_pending_deleted.tpl -text
 templates/de/emails/member/member_surfbar_url_reg.tpl -text
 templates/de/emails/member/member_surfbar_url_rejected.tpl -text
+templates/de/emails/member/member_surfbar_url_stopped_continued.tpl -text
+templates/de/emails/member/member_surfbar_url_stopped_deleted.tpl -text
+templates/de/emails/member/member_surfbar_url_stopped_pending.tpl -text
 templates/de/emails/member/member_surfbar_url_unlock.tpl -text
 templates/de/emails/member/member_transfer_recipient.tpl -text
 templates/de/emails/member/member_transfer_sender.tpl -text
index 2038c01..d059295 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "572");
+define('CURR_SVN_REVISION', "573");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
diff --git a/inc/language/_de.php b/inc/language/_de.php
new file mode 100644 (file)
index 0000000..f7a0f27
--- /dev/null
@@ -0,0 +1,41 @@
+<?php
+/************************************************************************
+ * MXChange v0.2.1                                    Start: 11/26/2008 *
+ * ===============                              Last change: 11/26/2008 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : _de.php                                          *
+ * -------------------------------------------------------------------- *
+ * Short description : German langugage support                         *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Deutsche Sprachunterstuetzung                    *
+ * -------------------------------------------------------------------- *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * For more information visit: http://www.mxchange.org                  *
+ *                                                                      *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or    *
+ * (at your option) any later version.                                  *
+ *                                                                      *
+ * This program is distributed in the hope that it will be useful,      *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
+ * GNU General Public License for more details.                         *
+ *                                                                      *
+ * You should have received a copy of the GNU General Public License    *
+ * along with this program; if not, write to the Free Software          *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
+ * MA  02110-1301  USA                                                  *
+ ************************************************************************/
+
+// Some security stuff...
+if (!defined('__SECURITY')) {
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       require($INC);
+}
+
+//
+?>
index a4ec015..ab358c5 100644 (file)
@@ -146,11 +146,16 @@ define('ADMIN_SURFBAR_NOTIFY_URL_UNLOCK_SUBJECT', "[Surfbar:] URL hinzugef&uuml;
 define('ADMIN_SURFBAR_NOTIFY_URL_REG_SUBJECT', "[Surfbar:] Mitgliedsbuchung einer URL");
 define('ADMIN_SURFBAR_NOTIFY_URL_MIGRATE_SUBJECT', "[Surfbar:] Migrierung einer Mailbuchung");
 define('ADMIN_SURFBAR_NOTIFY_URL_ACTIVE_SUBJECT', "[Surfbar:] Freigabe einer URL");
-define('ADMIN_SURFBAR_NOTIFY_URL_DELETED_SUBJECT', "[Surfbar:] URL gel&ouml;scht");
+define('ADMIN_SURFBAR_NOTIFY_URL_ACTIVE_DELETED_SUBJECT', "[Surfbar:] Mitglied hat freigegebene URL gel&ouml;scht");
+define('ADMIN_SURFBAR_NOTIFY_URL_PENDING_DELETED_SUBJECT', "[Surfbar:] Mitglied hat wartende URL zur&uuml;ckgenommen");
+define('ADMIN_SURFBAR_NOTIFY_URL_STOPPED_DELETED_SUBJECT', "[Surfbar:] Mitglied hat angehaltene URL gel&ouml;scht");
 define('ADMIN_SURFBAR_NOTIFY_URL_REJECTED_SUBJECT', "[Surfbar:] URL abgelehnt");
 define('ADMIN_SURFBAR_NOTIFY_URL_PENDING_SUBJECT', "[Surfbar:] URL-Buchung zugestimmt");
 define('ADMIN_SURFBAR_NOTIFY_URL_DEPLETED_SUBJECT', "[Surfbar:] URL automatisch angehalten");
-define('ADMIN_SURFBAR_NOTIFY_URL_EDITED_SUBJECT', "[Surfbar:'] Mitglied hat URL ge&auml;ndert");
+define('ADMIN_SURFBAR_NOTIFY_URL_ACTIVE_PENDING_SUBJECT', "[Surfbar:] Mitglied hat freigegebene URL ge&auml;ndert");
+define('ADMIN_SURFBAR_NOTIFY_URL_STOPPED_CONTINUED_SUBJECT', "[Surfbar:] Mitglied hat gestoppte URL gestartet");
+define('ADMIN_SURFBAR_NOTIFY_URL_STOPPED_PENDING_SUBJECT', "[Surfbar:] Mitglied hat gestoppte URL ge&auml;ndert");
+define('ADMIN_SURFBAR_NOTIFY_URL_ACTIVE_STOPPED_SUBJECT', "[Surfbar:] Mitglied hat freigegebene URL gestoppt");
 define('ADMIN_SURFBAR_NOTIFY_DEFAULT_SUBJECT', "Problem in Surfbar-Betreff");
 
 // Auto-generated admin subject lines
@@ -164,11 +169,16 @@ define('MEMBER_SURFBAR_NOTIFY_URL_UNLOCK_SUBJECT', "[Surfbar:] Ihre URL wurde au
 define('MEMBER_SURFBAR_NOTIFY_URL_REG_SUBJECT', "[Surfbar:] Ihre URL wartet auf Freischaltung");
 define('MEMBER_SURFBAR_NOTIFY_URL_MIGRATE_SUBJECT', "[Surfbar:] Ihre URL aus der Mailbuchung wurde migriert");
 define('MEMBER_SURFBAR_NOTIFY_URL_ACTIVE_SUBJECT', "[Surfbar:] Ihre URL wurde freigegeben");
-define('MEMBER_SURFBAR_NOTIFY_URL_DELETED_SUBJECT', "[Surfbar:] L&ouml;schung Ihrer URL");
+define('MEMBER_SURFBAR_NOTIFY_URL_ACTIVE_DELETED_SUBJECT', "[Surfbar:] Sie haben Ihre freigegebene URL gel&ouml;scht");
+define('MEMBER_SURFBAR_NOTIFY_URL_PENDING_DELETED_SUBJECT', "[Surfbar:] Sie haben Ihre wartende URL zur&uuml;ckgenommen");
+define('MEMBER_SURFBAR_NOTIFY_URL_STOPPED_DELETED_SUBJECT', "[Surfbar:] Sie haben Ihre gestoppte URL gel&ouml;scht");
 define('MEMBER_SURFBAR_NOTIFY_URL_REJECTED_SUBJECT', "[Surfbar:] Ihre URL wurde abgelehnt!");
 define('MEMBER_SURFBAR_NOTIFY_URL_PENDING_SUBJECT', "[Surfbar:] Zustimmung zur URL-Buchung erhalten");
 define('MEMBER_SURFBAR_NOTIFY_URL_DEPLETED_SUBJECT', "[Surfbar:] Ihre URL wurde automatisch angehalten");
-define('MEMBER_SURFBAR_NOTIFY_URL_EDITED_SUBJECT', "[Surfbar:] Sie haben Ihre URL ge&auml;ndert");
+define('MEMBER_SURFBAR_NOTIFY_URL_STOPPED_CONTINUED_SUBJECT', "[Surfbar:] Sie haben Ihre gestoppte URL gestartet");
+define('MEMBER_SURFBAR_NOTIFY_URL_STOPPED_PENDING_SUBJECT', "[Surfbar:] Sie haben Ihre gestoppte URL ge&auml;ndert");
+define('MEMBER_SURFBAR_NOTIFY_URL_ACTIVE_PENDING_SUBJECT', "[Surfbar:] Sie haben Ihre freigegebene URL ge&auml;ndert");
+define('MEMBER_SURFBAR_NOTIFY_URL_ACTIVE_STOPPED_SUBJECT', "[Surfbar:] Sie haben Ihre freigegebene URL gestoppt");
 define('MEMBER_SURFBAR_NOTIFY_DEFAULT_SUBJECT', "[Fehler:] Bitte leiten Sie diese Mail an uns weiter!");
 define('MEMBER_SURFBAR_NOTIFY_LOW_POINTS_SUBJECT', "[Surfbar:] Ihr {!POINTS!}-Stand ist sehr niedrig!");
 
index 99c1b30..e64aac3 100644 (file)
@@ -326,6 +326,20 @@ function SURFBAR_MEMBER_DELETE_ACTION ($urlData) {
        // Display form
        return SURFBAR_MEMBER_DISPLAY_ACTION_FORM("delete", $urlData);
 }
+// Pause active banner
+function SURFBAR_MEMBER_PAUSE_ACTION ($urlData) {
+       return SURFBAR_CHANGE_STATUS($urlData['id'], $urlData['status'], $urlData['new_status'], array($urlData['id'] => $urlData));
+}
+// Unpause stopped banner
+function SURFBAR_MEMBER_UNPAUSE_ACTION ($urlData) {
+       // Fix missing entry for template
+       $urlData['edit'] = $urlData['unpause'];
+       $urlData['edit']['url'] = $urlData['url'];
+       $urlData['edit']['limit'] = $urlData['views_max'];
+
+       // Return status change
+       return SURFBAR_CHANGE_STATUS($urlData['id'], $urlData['status'], $urlData['new_status'], array($urlData['id'] => $urlData));
+}
 // Display selected "action form"
 function SURFBAR_MEMBER_DISPLAY_ACTION_FORM ($action, $urlData) {
        // Translate some data
@@ -400,33 +414,26 @@ function SURFBAR_MEMBER_EXECUTE_ACTION ($action, $urlData) {
 }
 // "Execute edit" function: Update changed data
 function SURFBAR_MEMBER_EXECUTE_EDIT_ACTION ($urlData) {
+       // Default is nothing done
+       $status = false;
+
        // Translate URLs for testing
        $url1 = COMPILE_CODE($urlData['url']);
        $url2 = COMPILE_CODE($urlData['edit']['url']);
 
        // Has the URL or limit changed?
-       if (($urlData['views_allowed'] != $urlData['edit']['limit']) || ($url1 != $url2)) {
+       if (true) {
+       //if (($urlData['views_allowed'] != $urlData['edit']['limit']) || ($url1 != $url2)) {
                // Run the query
                SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_surfbar_urls SET url='%s', views_allowed=%s, views_max=%s WHERE id=%s AND status='%s' LIMIT 1",
                        array($urlData['url'], $urlData['edit']['limit'], $urlData['edit']['limit'], $urlData['id'], $urlData['status']), __FILE__, __LINE__);
 
-               // Prepare new data
-               $urlData['new_url']   = $urlData['edit']['url'];
-               $urlData['new_limit'] = $urlData['edit']['limit'];
-               unset($urlData['edit']);
-
-               // Send admin notification
-               SURFBAR_NOTIFY_ADMIN("url_edited", $urlData);
-
-               // Send user notification
-               SURFBAR_NOTIFY_USER("url_edited", $urlData);
-
                // All fine
-               return true;
+               $status = true;
        }
 
-       // Not updated
-       return false;
+       // Return status
+       return $status;
 }
 // "Execute delete" function: Does nothing...
 function SURFBAR_MEMBER_EXECUTE_DELETE_ACTION ($urlData) {
@@ -1198,8 +1205,8 @@ function SURFBAR_CHANGE_STATUS ($urlId, $prevStatus, $newStatus, $data=array())
 
        // Update the status now
        // ---------- Comment out for debugging/developing member actions! ---------
-       //SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_surfbar_urls SET status='%s' WHERE id=%s LIMIT 1",
-       //      array($newStatus, bigintval($urlId)), __FILE__, __LINE__);
+       SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_surfbar_urls SET status='%s' WHERE id=%s LIMIT 1",
+               array($newStatus, bigintval($urlId)), __FILE__, __LINE__);
        // ---------- Comment out for debugging/developing member actions! ---------
 
        // Was that fine?
@@ -1214,11 +1221,17 @@ function SURFBAR_CHANGE_STATUS ($urlId, $prevStatus, $newStatus, $data=array())
        $data[$urlId]['reward']      = TRANSLATE_COMMA($_CONFIG['surfbar_static_reward']);
        $data[$urlId]['costs']       = TRANSLATE_COMMA($_CONFIG['surfbar_static_costs']);
 
+       // Do some dirt fixing here:
+       if (($data[$urlId]['status'] == "STOPPED") && ($newStatus == "pending")) {
+               // Fix for template change
+               $newStatus = "continued";
+       } // END - if
+
        // Send admin notification
-       SURFBAR_NOTIFY_ADMIN("url_{$newStatus}", $data[$urlId]);
+       SURFBAR_NOTIFY_ADMIN("url_{$data[$urlId]['status']}_{$newStatus}", $data[$urlId]);
 
        // Send user notification
-       SURFBAR_NOTIFY_USER("url_{$newStatus}", $data[$urlId]);
+       SURFBAR_NOTIFY_USER("url_{$data[$urlId]['status']}_{$newStatus}", $data[$urlId]);
 
        // All done!
        return true;
index 4221cf2..3a25ee7 100644 (file)
@@ -70,8 +70,8 @@ if (isset($_POST['edit'])) {
                $_POST['id'],
                "surfbar_urls",
                array("id", "userid", "url", "registered"),
-               array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", "MAKE_DATETIME"),
-               array("", "", "", "2")
+               array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", ""),
+               array("", "", "", "")
        );
        $show = false;
 } elseif (isset($_POST['do_delete'])) {
@@ -83,8 +83,8 @@ if (isset($_POST['edit'])) {
                $_POST['id'],
                "surfbar_urls",
                array("id", "userid", "url", "registered", "status"),
-               array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", "MAKE_DATETIME", "SURFBAR_TRANSLATE_STATUS"),
-               array("", "", "", "2", "")
+               array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", "", "SURFBAR_TRANSLATE_STATUS"),
+               array("", "", "", "", "")
        );
        $show = false;
 } elseif (isset($_POST['do_lock'])) {
@@ -104,8 +104,8 @@ if (isset($_POST['edit'])) {
                $_POST['id'],
                "surfbar_urls",
                array("id", "userid", "url", "registered", "status"),
-               array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", "MAKE_DATETIME", "SURFBAR_TRANSLATE_STATUS"),
-               array("", "", "", "2", "")
+               array("bigintval", "ADMIN_USER_PROFILE_LINK", "FRAMETESTER", "", "SURFBAR_TRANSLATE_STATUS"),
+               array("", "", "", "", "")
        );
        $show = false;
 } elseif (isset($_POST['do_undelete'])) {
diff --git a/templates/de/emails/admin/admin_surfbar_url_active_deleted.tpl b/templates/de/emails/admin/admin_surfbar_url_active_deleted.tpl
new file mode 100644 (file)
index 0000000..d8d608e
--- /dev/null
@@ -0,0 +1,38 @@
+{--HELLO_ADMIN--},
+
+eines unserer Mitglieder hat soeben seine freigegebene URL gel&ouml;scht.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Email: $content[email]
+------------------------------------------
+Name: $content[surname] $content[family]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Framekiller-Test:
+$content[frametester]
+------------------------------------------
+Gesamteinblendungen: $content[views_total]
+------------------------------------------
+Maximale Einblendungen: $content[views_allowed]
+------------------------------------------
+Davon &uuml;brig: $content[views_max]
+------------------------------------------
+Verg&uuml;tung/Aufruf: $content[reward] {!POINTS!}
+------------------------------------------
+Kosten/Aufruf: $content[costs] {!POINTS!}
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_active_pending.tpl b/templates/de/emails/admin/admin_surfbar_url_active_pending.tpl
new file mode 100644 (file)
index 0000000..53557cf
--- /dev/null
@@ -0,0 +1,33 @@
+{--HELLO_ADMIN--},
+
+Ein Mitglied hat soeben seine freigegebene URL ge&auml;ndert. Dabei wurde sie auf "Wartend" gestellt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Email: $content[email]
+------------------------------------------
+Name: $content[surname] $content[family]
+------------------------------------------
+Gebuchte URL: $content[url] (Neu: $content[edit][url])
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+Gesamteinblendungen: $content[views_total]
+------------------------------------------
+Maximale Einblendungen: $content[views_allowed] (Neu: $content[edit][limit])
+------------------------------------------
+Davon &uuml;brig: $content[views_max] (Neu: $content[edit][limit])
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_active_stopped.tpl b/templates/de/emails/admin/admin_surfbar_url_active_stopped.tpl
new file mode 100644 (file)
index 0000000..947c696
--- /dev/null
@@ -0,0 +1,33 @@
+{--HELLO_ADMIN--},
+
+Ein Mitglied hat soeben seine URL gestoppt:
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Email: $content[email]
+------------------------------------------
+Name: $content[surname] $content[family]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+Gesamteinblendungen: $content[views_total]
+------------------------------------------
+Maximale Einblendungen: $content[views_allowed]
+------------------------------------------
+Davon &uuml;brig: $content[views_max]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_deleted.tpl b/templates/de/emails/admin/admin_surfbar_url_deleted.tpl
deleted file mode 100644 (file)
index db85400..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-{--HELLO_ADMIN--},
-
-eines unserer Mitglieder hat soeben seine URL-Buchung zur&uuml;ckgezogen bzw. gel&oum;scht.
-
-Hier sind alle Daten dazu:
-------------------------------------------
-User-ID: $content[userid]
-------------------------------------------
-Email: $content[email]
-------------------------------------------
-Name: $content[surname] $content[family]
-------------------------------------------
-Gebuchte URL: $content[url]
-------------------------------------------
-ID in der Surfbar: $content[id]
-------------------------------------------
-URL angemeldet: $content[registered]
-------------------------------------------
-Framekiller-Test:
-$content[frametester]
-------------------------------------------
-Gesamteinblendungen: $content[views_total]
-------------------------------------------
-Maximale Einblendungen: $content[views_allowed]
-------------------------------------------
-Davon &uuml;brig: $content[views_max]
-------------------------------------------
-Verg&uuml;tung/Aufruf: $content[reward] {!POINTS!}
-------------------------------------------
-Kosten/Aufruf: $content[costs] {!POINTS!}
-------------------------------------------
-ID in der Surfbar: $content[id]
-------------------------------------------
-
-{--ADMIN_THANX--}
-  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
-
-{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_edited.tpl b/templates/de/emails/admin/admin_surfbar_url_edited.tpl
deleted file mode 100644 (file)
index 2864f2d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-{--HELLO_ADMIN--},
-
-Ein Mitglied hat soeben seine URL ge&auml;ndert:
-
-Hier sind alle Daten dazu:
-------------------------------------------
-User-ID: $content[userid]
-------------------------------------------
-Email: $content[email]
-------------------------------------------
-Name: $content[surname] $content[family]
-------------------------------------------
-Gebuchte URL: $content[url] (Neu: $content[new_url])
-------------------------------------------
-ID in der Surfbar: $content[id]
-------------------------------------------
-URL angemeldet: $content[registered]
-------------------------------------------
-Zuletzt gesperrt: $content[last_locked]
-------------------------------------------
-Sperrgrund: $content[lock_reason]
-------------------------------------------
-Gesamteinblendungen: $content[views_total]
-------------------------------------------
-Maximale Einblendungen: $content[views_allowed] (Neu: $content[new_limit])
-------------------------------------------
-Davon &uuml;brig: $content[views_max] (Neu: $content[new_limit])
-------------------------------------------
-
-{--ADMIN_THANX--}
-  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
-
-{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_pending_deleted.tpl b/templates/de/emails/admin/admin_surfbar_url_pending_deleted.tpl
new file mode 100644 (file)
index 0000000..fa78ec5
--- /dev/null
@@ -0,0 +1,38 @@
+{--HELLO_ADMIN--},
+
+eines unserer Mitglieder hat soeben seine URL-Buchung zur&uuml;ckgezogen.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Email: $content[email]
+------------------------------------------
+Name: $content[surname] $content[family]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Framekiller-Test:
+$content[frametester]
+------------------------------------------
+Gesamteinblendungen: $content[views_total]
+------------------------------------------
+Maximale Einblendungen: $content[views_allowed]
+------------------------------------------
+Davon &uuml;brig: $content[views_max]
+------------------------------------------
+Verg&uuml;tung/Aufruf: $content[reward] {!POINTS!}
+------------------------------------------
+Kosten/Aufruf: $content[costs] {!POINTS!}
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_stopped_continued.tpl b/templates/de/emails/admin/admin_surfbar_url_stopped_continued.tpl
new file mode 100644 (file)
index 0000000..6f79d05
--- /dev/null
@@ -0,0 +1,33 @@
+{--HELLO_ADMIN--},
+
+Ein Mitglied hat soeben seine gestoppte URL gestartet. Dabei wurde sie auf "Wartend" gestellt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Email: $content[email]
+------------------------------------------
+Name: $content[surname] $content[family]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+Gesamteinblendungen: $content[views_total]
+------------------------------------------
+Maximale Einblendungen: $content[views_allowed]
+------------------------------------------
+Davon &uuml;brig: $content[views_max]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_stopped_deleted.tpl b/templates/de/emails/admin/admin_surfbar_url_stopped_deleted.tpl
new file mode 100644 (file)
index 0000000..09a1b25
--- /dev/null
@@ -0,0 +1,38 @@
+{--HELLO_ADMIN--},
+
+eines unserer Mitglieder hat soeben seine gestoppte URL gel&ouml;scht.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Email: $content[email]
+------------------------------------------
+Name: $content[surname] $content[family]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Framekiller-Test:
+$content[frametester]
+------------------------------------------
+Gesamteinblendungen: $content[views_total]
+------------------------------------------
+Maximale Einblendungen: $content[views_allowed]
+------------------------------------------
+Davon &uuml;brig: $content[views_max]
+------------------------------------------
+Verg&uuml;tung/Aufruf: $content[reward] {!POINTS!}
+------------------------------------------
+Kosten/Aufruf: $content[costs] {!POINTS!}
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/admin/admin_surfbar_url_stopped_pending.tpl b/templates/de/emails/admin/admin_surfbar_url_stopped_pending.tpl
new file mode 100644 (file)
index 0000000..8a21bf9
--- /dev/null
@@ -0,0 +1,33 @@
+{--HELLO_ADMIN--},
+
+Ein Mitglied hat soeben seine gestoppte URL ge&auml;ndert. Dabei wurde sie auf "Wartend" gestellt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Email: $content[email]
+------------------------------------------
+Name: $content[surname] $content[family]
+------------------------------------------
+Gebuchte URL: $content[url] (Neu: $content[edit][url])
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+Gesamteinblendungen: $content[views_total]
+------------------------------------------
+Maximale Einblendungen: $content[views_allowed] (Neu: $content[edit][limit])
+------------------------------------------
+Davon &uuml;brig: $content[views_max] (Neu: $content[edit][limit])
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/member/member_surfbar_url_active_deleted.tpl b/templates/de/emails/member/member_surfbar_url_active_deleted.tpl
new file mode 100644 (file)
index 0000000..f4f330e
--- /dev/null
@@ -0,0 +1,19 @@
+Hallo $content[surname] $content[family],,
+
+Sie haben soeben Ihre freigegebene URL gel&ouml;scht.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/member/member_surfbar_url_active_pending.tpl b/templates/de/emails/member/member_surfbar_url_active_pending.tpl
new file mode 100644 (file)
index 0000000..15b6ab7
--- /dev/null
@@ -0,0 +1,25 @@
+Hallo $content[gender] $content[surname] $content[family],
+
+Sie hatten soeben Ihre freigegebene URL ge&auml;ndert. Dabei wurde sie auf "Wartend" gestellt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Gebuchte URL: $content[url] (Neu: $content[edit][url])
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+Neue maximale Einblendungen: $content[edit][limit]
+------------------------------------------
+
+Mit freundlichem Gruss,
+  Ihr {!MAIN_TITLE!} Team
+
+{!URL!}/login.php ({!WEBMASTER!})
diff --git a/templates/de/emails/member/member_surfbar_url_active_stopped.tpl b/templates/de/emails/member/member_surfbar_url_active_stopped.tpl
new file mode 100644 (file)
index 0000000..2e17de8
--- /dev/null
@@ -0,0 +1,23 @@
+Hallo $content[gender] $content[surname] $content[family],
+
+Sie hatten soeben Ihre gebuchte URL gestoppt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+
+Mit freundlichem Gruss,
+  Ihr {!MAIN_TITLE!} Team
+
+{!URL!}/login.php ({!WEBMASTER!})
diff --git a/templates/de/emails/member/member_surfbar_url_deleted.tpl b/templates/de/emails/member/member_surfbar_url_deleted.tpl
deleted file mode 100644 (file)
index c535bca..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Hallo $content[surname] $content[family],,
-
-Sie haben soeben eine in unserer Surfbar gebuchte URL zur&uuml;ckgenommen bzw. gel&ouml;scht.
-
-Hier sind alle Daten dazu:
-------------------------------------------
-User-ID: $content[userid]
-------------------------------------------
-Gebuchte URL: $content[url]
-------------------------------------------
-ID in der Surfbar: $content[id]
-------------------------------------------
-URL angemeldet: $content[registered]
-------------------------------------------
-
-{--ADMIN_THANX--}
-  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
-
-{!URL!}/admin.php
diff --git a/templates/de/emails/member/member_surfbar_url_edited.tpl b/templates/de/emails/member/member_surfbar_url_edited.tpl
deleted file mode 100644 (file)
index 5113c0b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Hallo $content[gender] $content[surname] $content[family],
-
-Sie hatten soeben Ihre gebuchte URL ge&auml;ndert. Dabei wurde sie eventuell auf "Wartend" gestellt.
-
-Hier sind alle Daten dazu:
-------------------------------------------
-User-ID: $content[userid]
-------------------------------------------
-Gebuchte URL: $content[url] (Neu: $content[new_url])
-------------------------------------------
-ID in der Surfbar: $content[id]
-------------------------------------------
-URL angemeldet: $content[registered]
-------------------------------------------
-Zuletzt gesperrt: $content[last_locked]
-------------------------------------------
-Sperrgrund: $content[lock_reason]
-------------------------------------------
-Neue maximale Einblendungen: $content[new_limit]
-------------------------------------------
-
-Mit freundlichem Gruss,
-  Ihr {!MAIN_TITLE!} Team
-
-{!URL!}/login.php ({!WEBMASTER!})
diff --git a/templates/de/emails/member/member_surfbar_url_pending_deleted.tpl b/templates/de/emails/member/member_surfbar_url_pending_deleted.tpl
new file mode 100644 (file)
index 0000000..cba33e5
--- /dev/null
@@ -0,0 +1,19 @@
+Hallo $content[surname] $content[family],,
+
+Sie haben soeben eine in unserer Surfbar gebuchte URL zur&uuml;ckgenommen.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/member/member_surfbar_url_stopped_continued.tpl b/templates/de/emails/member/member_surfbar_url_stopped_continued.tpl
new file mode 100644 (file)
index 0000000..96b2ba0
--- /dev/null
@@ -0,0 +1,25 @@
+Hallo $content[gender] $content[surname] $content[family],
+
+Sie hatten soeben Ihre gestoppte URL gestartet. Dabei wurde sie auf "Wartend" gestellt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Gebuchte URL: $content[url] (Neu: $content[edit][url])
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+Neue maximale Einblendungen: $content[edit][limit]
+------------------------------------------
+
+Mit freundlichem Gruss,
+  Ihr {!MAIN_TITLE!} Team
+
+{!URL!}/login.php ({!WEBMASTER!})
diff --git a/templates/de/emails/member/member_surfbar_url_stopped_deleted.tpl b/templates/de/emails/member/member_surfbar_url_stopped_deleted.tpl
new file mode 100644 (file)
index 0000000..904c88f
--- /dev/null
@@ -0,0 +1,19 @@
+Hallo $content[surname] $content[family],,
+
+Sie haben soeben Ihre gestoppte URL gel&ouml;scht.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Gebuchte URL: $content[url]
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+
+{--ADMIN_THANX--}
+  {--YOUR--} {!MAIN_TITLE!} {--SCRIPT--}
+
+{!URL!}/admin.php
diff --git a/templates/de/emails/member/member_surfbar_url_stopped_pending.tpl b/templates/de/emails/member/member_surfbar_url_stopped_pending.tpl
new file mode 100644 (file)
index 0000000..5fb1c1b
--- /dev/null
@@ -0,0 +1,25 @@
+Hallo $content[gender] $content[surname] $content[family],
+
+Sie hatten soeben Ihre gestoppte URL ge&auml;ndert. Dabei wurde sie auf "Wartend" gestellt.
+
+Hier sind alle Daten dazu:
+------------------------------------------
+User-ID: $content[userid]
+------------------------------------------
+Gebuchte URL: $content[url] (Neu: $content[edit][url])
+------------------------------------------
+ID in der Surfbar: $content[id]
+------------------------------------------
+URL angemeldet: $content[registered]
+------------------------------------------
+Zuletzt gesperrt: $content[last_locked]
+------------------------------------------
+Sperrgrund: $content[lock_reason]
+------------------------------------------
+Neue maximale Einblendungen: $content[edit][limit]
+------------------------------------------
+
+Mit freundlichem Gruss,
+  Ihr {!MAIN_TITLE!} Team
+
+{!URL!}/login.php ({!WEBMASTER!})