Marked some unfinished extensions as 'work-in-progress'
[mailer.git] / inc / extensions / ext-yoomedia.php
index 5eeb7c7659e7b8aa59653d7fa4cec1dc8be334d8..8d1803bec1c61f19f5c4d83855b841b56280be2b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 08/27/2008 *
- * ================                             Last change: 08/27/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 08/27/2008 *
+ * ===================                          Last change: 08/27/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : ext-yoomedia.php                                 *
@@ -19,6 +19,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -69,7 +70,7 @@ switch (getExtensionMode()) {
                addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `yoomedia_requests_remain` SMALLINT(6) UNSIGNED NOT NULL DEFAULT 200");
 
                // Admin menu
-               addAdminMenuSql('setup','config_yoomedia','Yoo!Media Interface 2.0','Einstellungen zum Yoo!Media Interface 2.0, wie User-ID, Interface-Passwort und vieles mehr.',17);
+               addAdminMenuSql('setup','config_yoomedia','Yoo!Media Interface 2.0','Einstellungen zum Yoo!Media Interface 2.0, wie Affiliate-Id, Interface-Passwort und vieles mehr.',17);
                addAdminMenuSql('email','list_yoomedia_tm','Yoo!Media Textmails','Listet Textmail-Buchungen &uuml;ber das Interface 2.0 von Yoo!Media nach Ihren eingestellten Kriterien auf. <strong>Vorsicht:</strong> Jede Aktualisierung dieser Liste kostet Ihnen eine Abfrage!',10);
 
                // Reload lock table
@@ -129,6 +130,7 @@ UNIQUE `y_type` (`type`,`y_id`)
                                4  => 'api_data_error',
                                5  => 'requests_depleted',
                                6  => 'zero_result',
+                               7  => 'no_campaigns_with_interface',
                                10 => 'incomplete_request'
                        ),
                        // For text mails
@@ -145,7 +147,7 @@ UNIQUE `y_type` (`type`,`y_id`)
                break;
 
        default: // Unknown extension mode
-               DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+               logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
                break;
 }