]> git.mxchange.org Git - mailer.git/commitdiff
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 f2ec42f3ade7f8344a9334c210dacc2caba613e7..3f95216a6554f942410a885971b304bbe1f26649 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 c0b335222005bc420a284a526ef34054ee52da0c..29c88bebbef64176da9e61d452af490d91f8044c 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 7bba5114537e0c3b919926874d37aff626d56286..1cab824ee796334e8881222bf2de997f4ced60d7 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.9');
index f46cb2b5ecbf261112d140274ef75edf4890888f..6a1973445d7d63cb19266a1d8b03f7d0e52dfea1 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index 87e7613947631dc21b3962ced180a118be83d792..8247c38a85ecc34447495d3c11164487c5c25f27 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index bb53a4183131c5fa410559e6e8079961fa52b390..698cebf28e398feaa7f9e12b1182e6b03f29d88b 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.4.0');
index b0a53608c4437488284e3c0bd1102633aba65a2b..852120e5da66066754e5302ead93c0a45593a981 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index abd28703d655fea77a3fe3f87ccae1f4adefc60c..8ec17a7a54abf32df50fea70a856677bdc608edc 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.2.6');
index 432b0334a9b62821537e4555cbd5644276bee960..09d75959fdfdbaf2ceb84817fc414792fca2602b 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.9');
index 5e30372ecad7ea09febdccafc3dfe17ed0148ec4..fda15d3e871ce0ced121057e8ece6ccfe442fd1b 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index 088190a19e7c8f270092a3c4cd5b933f04a3b3f2..9d784494aab90fd522ac579b66fcd532ecdf8797 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.6');
index 81aa1376bf1e9598a20bdba119ffab41f3335b56..71e8626cbc35c0455c7cfd6e800c9ffd182d124e 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.2.1');
index b5ff4be33e1f9fa405a4d3420e394eaf35be9d58..5a5ddd02b2ed3a19c849f1f748c02aea5e55b21a 100644 (file)
@@ -41,7 +41,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.1');
index e7aa7ecce81dd6ac20816290c84c35a5724cbcbb..48e44ec7da9894209607ba1507ebe757ba714c48 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index 431f46396fe30019eda352b20f4be446758c7933..f2f501e6b026997bde116ab1f0242d0f99a2d943 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.3');
index 67db83ee3271ef2bc5ddec92d83e9e91d6333bd4..b50e2c3440f76eb7154a6dc88c4407595ade1f4e 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.8');
index 3f25f0096b270b9cff0c4b02c4937e4a651f23dc..5dc3ccf8a9b0d50f9f49ab12807efd3db00369da 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.8');
index a2fc868878d2b557ac68103e0d946ba34014cf27..6475398f35d321f4a5a9ffd179ed3021dd214124 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.9');
index c47ec6dfa68024d5dbe6a80896482464269db817..1f6772bf35e885f56e554456a3fa657dc840c5d3 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.5');
index 248641174f850c03524c134e016feb629d07d485..604dcac05e6c07e6b45a6791a20d8a06cb700bcc 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version of this extension
 setThisExtensionVersion('0.3.8');
index 8198f78a4ffbf8b6e68385e1f36089c8655c2501..ad430964adfcf84568bab5d07908b5649ceb9b90 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.9');
index 572f1d18fb73032a8dec8be625ae18e976c2596c..816f95cc5177777ff0701e90931cd491e31c1965 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.5');
index 0099a686b7733129915ba4cd33ac22eb77b359c5..4930c2a2ac24918754652ef7fed0c1fd491f11cd 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 bb9c1400f551e5b6bad7efc8bf03c43b42710d33..1e44e01e678408a75b2b6a51a15d566de9c4d437 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0.1');
index c367c1f9d333a91c97e0602e9b20b4a334e47a02..42f7f5857e240d9205e47b9d61f2230685e42a5c 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.3');
index 2049f58994cbd7317fe1c084411304f00d9c2520..7a6e5292569b0f2e9fc4d1a67173676f48d5662d 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 51a22f659023230d3cf5d13a1995a654c04f393a..e79c8354992f6bec44959439d7ff4011e20e5e75 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.3.2');
index 6633b3104f2cf8059d9930316fe516da867ea5a0..35181caa2dbd4053657c76d2dd7a34ed963e387c 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.1.2');
index 6ea7326cd24f013a3dcd3694dd6ff45fe0492cb1..8cc661e434cb2a14477d484146f23bcfc1e42d43 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.2.9');
index 9741450a99a5371d43983bdd201fc80194797244..f577145233b96934e51eb1c6b5374771b0718c9d 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Version number
 setThisExtensionVersion('0.0');
index f6b350c0fabd58eef48412ec7f060d6260c9b6e6..f406c3522d48e31283067067148ec6cd5888c28c 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 c8287d39c8f3094d01d424934cbd491dcc0919ec..f6b93063b665bb9265720cb98e726ae52f96a851 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 178986817ce0c2744c7c24823886bffd14ff6125..f551ef47b7591c74e7b59193e56a1fa6505a87ab 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 00c6041b4d0c4091247110879a194b4d31e906ae..013a08f3f0892716ecc682816a7f3f227200c2e7 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>]