Misc fixes / improves
authorRoland Häder <roland@mxchange.org>
Sun, 7 Mar 2010 01:53:18 +0000 (01:53 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 7 Mar 2010 01:53:18 +0000 (01:53 +0000)
35 files changed:
.gitattributes
DOCS/TODOs.txt
inc/extensions/ext-active.php
inc/extensions/ext-admintheme1.php
inc/extensions/ext-admintheme_default.php
inc/extensions/ext-autopurge.php
inc/extensions/ext-bank.php
inc/extensions/ext-beg.php
inc/extensions/ext-birthday.php
inc/extensions/ext-debug.php
inc/extensions/ext-doubler.php
inc/extensions/ext-holiday.php
inc/extensions/ext-iso3166.php
inc/extensions/ext-logs.php
inc/extensions/ext-mailid.php
inc/extensions/ext-mods.php
inc/extensions/ext-mydata.php
inc/extensions/ext-nickname.php
inc/extensions/ext-online.php
inc/extensions/ext-payout.php
inc/extensions/ext-profile.php
inc/extensions/ext-rallye.php
inc/extensions/ext-refback.php
inc/extensions/ext-removeip.php
inc/extensions/ext-rewrite.php
inc/extensions/ext-sponsor.php
inc/extensions/ext-task.php
inc/extensions/ext-top10.php
inc/extensions/ext-transfer.php
inc/extensions/ext-usage.php
inc/extensions/ext-yoomedia.php
inc/language/network_de.php
inc/modules/member/what-sponsor.php
inc/modules/member/what-sponsor_list.php [new file with mode: 0644]
templates/de/html/admin/admin_list_networks_row.tpl

index f2ec42f..3f95216 100644 (file)
@@ -564,6 +564,7 @@ inc/modules/member/what-refback.php -text
 inc/modules/member/what-reflinks.php -text
 inc/modules/member/what-reflist.php -text
 inc/modules/member/what-sponsor.php -text
+inc/modules/member/what-sponsor_list.php -text
 inc/modules/member/what-stats.php -text
 inc/modules/member/what-support.php -text
 inc/modules/member/what-surfbar_book.php -text
index c0b3352..29c88be 100644 (file)
 ./inc/extensions/ext-network.php:21: * @TODO Ad-Magnet: Layer(klick?). Layerviews.Skybannerklick/-view,     *
 ./inc/extensions/ext-network.php:22: * @TODO Ad-Magnet: Banner-View, Textlink-Klick/-View. Page-Peel        *
 ./inc/extensions/ext-network.php:23: * @TODO ADCocktail: All request parameters, BIDausKAS, WIDausKAS???    *
-./inc/extensions/ext-network.php:24: * @TODO AdPaid: Which charset?                                         *
-./inc/extensions/ext-network.php:25: * @TODO Affiliblatt: All except banner, do they really have UTF-8?     *
-./inc/extensions/ext-network.php:26: * @TODO AllAds4You: Traffic from abroad                                *
-./inc/extensions/ext-network.php:27: * @TODO doubleads: Which charset?                                      *
-./inc/extensions/ext-network.php:28: * @TODO Fusion-Ads: Has click/banner URL in API response, really UTF-8 *
-./inc/extensions/ext-network.php:29: * @TODO GolloX: Which charset?                                         *
-./inc/extensions/ext-network.php:30: * @TODO homeADS: Which charset?                                        *
-./inc/extensions/ext-network.php:31: * @TODO paid4ad: Which URLs for click and banner?                      *
-./inc/extensions/ext-network.php:32: * @TODO VIPads: Which charset?                                         *
-./inc/extensions/ext-network.php:33: * @TODO Der Werbepartner.cc: Banner click/view is JavaScript!          *
-./inc/extensions/ext-network.php:34: * @TODO Der Werbepartner.cc: Forced textlink not correct               *
-./inc/extensions/ext-network.php:35: * @TODO Der Werbepartner.cc: Layer not correct                         *
-./inc/extensions/ext-network.php:36: * @TODO Der Werbepartner.cc: Sky banner is JavaScript!                 *
-./inc/extensions/ext-network.php:37: * @TODO Der Werbepartner.cc: Surfbar click not correct                 *
-./inc/extensions/ext-network.php:38: * @TODO Der Werbepartner.cc: Textlink not not correct                  *
-./inc/extensions/ext-network.php:39: * @TODO Yoo!Media: What is LayerAd compared to Layer click?            *
-./inc/extensions/ext-network.php:93:           // @TODO network_type_handle is an internal name and needs documentation
+./inc/extensions/ext-network.php:24: * @TODO Affiliblatt: All except banner, do they really have UTF-8?     *
+./inc/extensions/ext-network.php:25: * @TODO AllAds4You: Traffic from abroad                                *
+./inc/extensions/ext-network.php:26: * @TODO doubleads: Which charset?                                      *
+./inc/extensions/ext-network.php:27: * @TODO Fusion-Ads: Has click/banner URL in API response, really UTF-8 *
+./inc/extensions/ext-network.php:28: * @TODO GolloX: Which charset?                                         *
+./inc/extensions/ext-network.php:29: * @TODO homeADS: Which charset?                                        *
+./inc/extensions/ext-network.php:30: * @TODO paid4ad: Which URLs for click and banner?                      *
+./inc/extensions/ext-network.php:31: * @TODO VIPads: Which charset?                                         *
+./inc/extensions/ext-network.php:32: * @TODO Der Werbepartner.cc: Banner click/view is JavaScript!          *
+./inc/extensions/ext-network.php:33: * @TODO Der Werbepartner.cc: Forced textlink not correct               *
+./inc/extensions/ext-network.php:34: * @TODO Der Werbepartner.cc: Layer not correct                         *
+./inc/extensions/ext-network.php:35: * @TODO Der Werbepartner.cc: Sky banner is JavaScript!                 *
+./inc/extensions/ext-network.php:36: * @TODO Der Werbepartner.cc: Surfbar click not correct                 *
+./inc/extensions/ext-network.php:37: * @TODO Der Werbepartner.cc: Textlink not not correct                  *
+./inc/extensions/ext-network.php:38: * @TODO Yoo!Media: What is LayerAd compared to Layer click?            *
+./inc/extensions/ext-network.php:92:           // @TODO network_type_handle is an internal name and needs documentation
 ./inc/extensions/ext-newsletter.php:216:               // @TODO Move these into configuration
 ./inc/extensions/ext-rallye.php:331:           // @TODO Move this code into rallye_functions.php
 ./inc/extensions/ext-rallye.php:94:            // @TODO Fix config_rallye_prices to list_rallye_prices
 ./templates/de/html/surfbar/surfbar_frame_top.tpl:23:// @TODO Try to rewrite this JavaScript to js.php?js=surfbar_frame_top (wouldn't be easy)
 ### ### DEPRECATION FOLLOWS: ### ###
 ./inc/modules/admin/admin-inc.php:432:// @DEPRECATED
+./inc/modules/member/what-sponsor.php:2:// @DEPRECATED
 ### ### template-warnings.log follows: ### ###
 Warning: Not parsing JavaScript templates/de/html/js/js_order_send.tpl.
 Warning: Not parsing JavaScript templates/de/html/js/js_cookies_disabled.tpl.
index 7bba511..1cab824 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.9');
index f46cb2b..6a19734 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index 87e7613..8247c38 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index bb53a41..698cebf 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.4.0');
index b0a5360..852120e 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index abd2870..8ec17a7 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.2.6');
index 432b033..09d7595 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.9');
index 5e30372..fda15d3 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index 088190a..9d78449 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.6');
index 81aa137..71e8626 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.2.1');
index b5ff4be..5a5ddd0 100644 (file)
@@ -41,7 +41,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.1');
index e7aa7ec..48e44ec 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index 431f463..f2f501e 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.3');
index 67db83e..b50e2c3 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.8');
index 3f25f00..5dc3ccf 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.8');
index a2fc868..6475398 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.9');
index c47ec6d..1f6772b 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.5');
index 2486411..604dcac 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version of this extension
 setThisExtensionVersion('0.3.8');
index 8198f78..ad43096 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.9');
index 572f1d1..816f95c 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.5');
index 0099a68..4930c2a 100644 (file)
@@ -48,8 +48,7 @@ setThisExtensionVersion('0.0.1');
 // Version history array (add more with , '0.1.0' and so on)
 setExtensionVersionHistory(array('0.0','0.0.1'));
 
-switch (getExtensionMode())
-{
+switch (getExtensionMode()) {
        case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
                // SQL commands to run
                addExtensionSql("DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_user_refs`");
index bb9c140..1e44e01 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.1');
index c367c1f..42f7f58 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.3');
index 2049f58..7a6e529 100644 (file)
@@ -345,7 +345,8 @@ PRIMARY KEY (`id`)
                //
                // Member menu
                //
-               addMemberMenuSql('main','sponsor','Unsere Sponsoren','N','Y',8);
+               addMemberMenuSql('main','sponsor_list','Unsere Sponsoren','N','Y',8);
+               addMemberMenuSql('main','sponsor_reg','Sponsor werden','N','Y',9);
                //
                // Add default menus to sponsor menu
                //
index 51a22f6..e79c835 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.2');
index 6633b31..35181ca 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.2');
index 6ea7326..8cc661e 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.2.9');
index 9741450..f577145 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index f6b350c..f406c35 100644 (file)
@@ -41,7 +41,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
@@ -53,7 +53,7 @@ setExtensionVersionHistory(array('0.0'));
 setExtensionAlwaysActive('Y');
 
 // This extension is deprecated!
-// @TODO Only deprecated when 'network' is ready! setExtensionDeprecated('Y');
+// @TODO Only deprecated when 'ext-network' is ready! setExtensionDeprecated('Y');
 
 switch (getExtensionMode()) {
        case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
index c8287d3..f6b9306 100644 (file)
@@ -80,8 +80,8 @@ addMessages(array(
        // - Link titles
        'ADMIN_NETWORK_LIST_TYPES_LINK_TITLE' => "Weiter zu den Werbearten",
        'ADMIN_NETWORK_LIST_PARAMS_LINK_TITLE' => "Weiter zu den API-Parametern",
-       'ADMIN_NETWORK_LIST_CODE_TYPES_LINK_TITLE' => "Weiter zu den R&uuml;ckgabewerten",
-       'ADMIN_NETWORK_LIST_CODES_LINK_TITLE' => "Weiter zu den Fehlercodes",
+       'ADMIN_NETWORK_LIST_RETURN_CODES_LINK_TITLE' => "Weiter zu den R&uuml;ckgabewerten",
+       'ADMIN_NETWORK_LIST_ERROR_CODES_LINK_TITLE' => "Weiter zu den Fehlercodes",
        // - Buttons
        'ADMIN_NETWORK_ADD' => "Allgemeine Daten anlegen",
        'ADMIN_NETWORK_EDIT' => "Editieren",
index 1789868..f551ef4 100644 (file)
@@ -1,59 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 09/10/2005 *
- * ===================                          Last change: 05/18/2008 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : what-sponsor.php                                 *
- * -------------------------------------------------------------------- *
- * Short description : Introduce our sponsors                           *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Unsere Sponsoren vorstellen                      *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * 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 *
- * 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')) {
-       die();
-} elseif (!isMember()) {
-       redirectToIndexMemberOnlyModule();
-}
-
-// Add description as navigation point
-addMenuDescription('member', __FILE__);
-
-if ((!isExtensionActive('sponsor')) && (!isAdmin())) {
-       loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('sponsor'));
-       return;
-} // END - if
-
-// Loads the name-matching template
-loadTemplate(substr(basename(__FILE__), 5, -4));
-
-// [EOF]
+// @DEPRECATED
 ?>
diff --git a/inc/modules/member/what-sponsor_list.php b/inc/modules/member/what-sponsor_list.php
new file mode 100644 (file)
index 0000000..e8f2d2c
--- /dev/null
@@ -0,0 +1,59 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 09/10/2005 *
+ * ===================                          Last change: 05/18/2008 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : what-sponsor_list.php                            *
+ * -------------------------------------------------------------------- *
+ * Short description : Introduce our sponsors                           *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Unsere Sponsoren vorstellen                      *
+ * -------------------------------------------------------------------- *
+ * $Revision:: 1690                                                   $ *
+ * $Date:: 2010-01-01 17:04:52 +0100 (Fri, 01 Jan 2010)               $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: quix0r                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * 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 *
+ * 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')) {
+       die();
+} elseif (!isMember()) {
+       redirectToIndexMemberOnlyModule();
+}
+
+// Add description as navigation point
+addMenuDescription('member', __FILE__);
+
+if ((!isExtensionActive('sponsor')) && (!isAdmin())) {
+       loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('sponsor'));
+       return;
+} // END - if
+
+// Loads the name-matching template
+loadTemplate(substr(basename(__FILE__), 5, -4));
+
+// [EOF]
+?>
index 00c6041..013a08f 100644 (file)
@@ -7,8 +7,8 @@
                [<a
                 href="{%url=modules.php?module=admin&amp;what=list_network_types&amp;network=$content[network_id]%}" title="{--ADMIN_NETWORK_LIST_TYPES_LINK_TITLE--}">T</a>|<a
                 href="{%url=modules.php?module=admin&amp;what=list_network_params&amp;network=$content[network_id]%}" title="{--ADMIN_NETWORK_LIST_PARAMS_LINK_TITLE--}">P</a>|<a
-                href="{%url=modules.php?module=admin&amp;what=list_network_code_types&amp;network=$content[network_id]%}" title="{--ADMIN_NETWORK_LIST_CODE_TYPES_LINK_TITLE--}">CT</a>|<a
-                href="{%url=modules.php?module=admin&amp;what=list_network_codes&amp;network=$content[network_id]%}" title="{--ADMIN_NETWORK_LIST_CODES_LINK_TITLE--}">C</a>]
+                href="{%url=modules.php?module=admin&amp;what=list_network_return_codes&amp;network=$content[network_id]%}" title="{--ADMIN_NETWORK_LIST_RETURN_CODES_LINK_TITLE--}">RC</a>|<a
+                href="{%url=modules.php?module=admin&amp;what=list_network_error_codes&amp;network=$content[network_id]%}" title="{--ADMIN_NETWORK_LIST_ERROR_CODES_LINK_TITLE--}">EC</a>]
        </td>
        <td class="switch_sw$content[sw] bottom right" align="center">
                [<a href="$content[network_reflink]" target="_blank" title="$content[network_title]">$content[network_title]</a>]