]> git.mxchange.org Git - mailer.git/commitdiff
Extension ext-funcoins is being replaced by ext-currency (not yet commited)
authorRoland Häder <roland@mxchange.org>
Sat, 16 Jun 2012 23:34:09 +0000 (23:34 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 16 Jun 2012 23:34:09 +0000 (23:34 +0000)
inc/extensions/ext-funcoins.php
inc/language/funcoins_de.php
inc/libs/funcoins_functions.php
inc/modules/admin/action-funcoins.php
inc/modules/admin/what-config_funcoins.php
templates/de/html/admin/admin_config_funcoins.tpl

index bf544b460244e5a18b0b81dacb419bbd9099cf27..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,153 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 08/19/2010 *
- * ===================                          Last change: 08/19/2010 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : ext-funcoins.php                                 *
- * -------------------------------------------------------------------- *
- * Short description : Extension for the FunCoins API integration       *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Erweiterung fuer die Integration der             *
- *                     FunCoins-API (FoCo-Ex&#178;)                          *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://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();
-} // END - if
-
-// Version number
-setThisExtensionVersion('0.0.0');
-
-// Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0'));
-
-// This extension is in development (non-productive)
-enableExtensionProductive(false);
-
-switch (getExtensionMode()) {
-       case 'register': // Do stuff when installation is running
-               // This depends on ext-sql_patches
-               addExtensionDependency('sql_patches');
-
-               // SQL commands to run
-               addDropTableSql('user_funcoins');
-               addCreateTableSql('user_funcoins', "
-`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Record identification',
-`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Local userid',
-`funcoins_account` VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'FunCoins account',
-`funcoins_amount` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000 COMMENT 'Transfered amount',
-`funcoins_timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Booking timestamp',
-`funcoins_type` ENUM('WITHDRAW','PAYOUT','FAILED') NOT NULL DEFAULT 'FAILED' COMMENT 'Transaction type',
-`funcoins_tan` VARCHAR(255) NULL DEFAULT NULL COMMENT 'TAN from API',
-`funcoins_api_response` TINYTEXT COMMENT 'Clear text API response (only for debugging)',
-`funcoins_api_status` INT(4) NULL DEFAULT NULL COMMENT 'Status code from API',
-PRIMARY KEY (`id`),
-UNIQUE (`funcoins_tan`),
-INDEX (`userid`)",
-                       'Transfered FunCoins per user');
-
-               // Confiuration
-               addConfigAddSql('funcoins_min_payout', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 40000');
-               addConfigAddSql('funcoins_min_withdraw', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 5000');
-               addConfigAddSql('funcoins_api_id', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('funcoins_api_password', "VARCHAR(255) NOT NULL DEFAULT ''");
-               addConfigAddSql('funcoins_refid', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('funcoins_payout_active', "ENUM ('Y','N') NOT NULL DEFAULT 'Y'");
-               addConfigAddSql('funcoins_withdraw_active', "ENUM ('Y','N') NOT NULL DEFAULT 'Y'");
-               addConfigAddSql('funcoins_payout_factor', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 1.00000');
-               addConfigAddSql('funcoins_withdraw_factor', 'FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 1.00000');
-               addConfigAddSql('funcoins_payout_fee_percent', 'FLOAT(8,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-               addConfigAddSql('funcoins_withdraw_fee_percent', 'FLOAT(8,5) UNSIGNED NOT NULL DEFAULT 0.00000');
-               addConfigAddSql('funcoins_payout_fee_fix', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-               addConfigAddSql('funcoins_withdraw_fee_fix', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 0');
-
-               // Points data
-               addExtensionSql("INSERT INTO `{?_MYSQL_PREFIX?}_points_data` (`subject`,`column_name`,`locked_mode`,`payment_method`) VALUES ('funcoins_withdraw','order_points','LOCKED','DIRECT')");
-
-               // User data
-               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_user_data` ADD `funcoins_userid` BIGINT(20) NULL DEFAULT NULL");
-
-               // Admin menu
-               addAdminMenuSql('funcoins', NULL, 'FunCoins-Management', 'Konfiguration zur FuCo-Ex&#178; einstellen, Auszahlungen auflisten usw..', 15);
-               addAdminMenuSql('funcoins', 'config_funcoins', 'FuCo-Ex&#178;-Einstellungen', 'Konfiguration zur FuCo-Ex&#178; einstellen.', 1);
-               addAdminMenuSql('funcoins', 'list_funcoins', 'Anfragen auflisten', 'Listet alle FunCoins-Ein- und -Auszahlungsanfragen Ihrer Mitglieder und Sponsoren auf.', 2);
-
-               // Member menu
-               addMemberMenuSql('main', 'funcoins', 'FunCoins-Ein-/Auszahlungen', 11);
-               break;
-
-       case 'remove': // Do stuff when removing extension
-               // SQL commands to run
-               addDropTableSql('user_funcoins');
-               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `action`='funcoins'");
-               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE `what`='funcoins' LIMIT 1");
-               addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `what`='funcoins_portal' LIMIT 1");
-               break;
-
-       case 'activate': // Do stuff when admin activates this extension
-               // SQL commands to run
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `visible`='Y',`locked`='N' WHERE `what`='funcoins_portal' LIMIT 1");
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='Y',`locked`='N' WHERE `what`='funcoins' LIMIT 1");
-               break;
-
-       case 'deactivate': // Do stuff when admin deactivates this extension
-               // SQL commands to run
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `visible`='N',`locked`='Y' WHERE `what`='funcoins_portal' LIMIT 1");
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='N',`locked`='Y' WHERE `what`='funcoins' LIMIT 1");
-               break;
-
-       case 'update': // Update an extension
-               switch (getCurrentExtensionVersion()) {
-                       case '0.0.1': // SQL queries for v0.0.1
-                               addExtensionSql('');
-
-                               // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes('');
-                               break;
-               } // END - switch
-               break;
-
-       case 'modify': // When the extension got modified
-               break;
-
-       case 'test': // For testing purposes
-               break;
-
-       case 'init': // Do stuff when extension is initialized
-               // Init array
-               $GLOBALS['funcoins_data'] = array();
-               break;
-
-       default: // Unknown extension mode
-               logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
-               break;
-} // END - switch
-
-// [EOF]
+// @DEPRECATED
 ?>
index f98fe8572f2e21ebacef72220de5658ce81b2ae6..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,63 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 07/19/2011 *
- * ===================                          Last change: 07/19/2011 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : funcoins_de.php                                  *
- * -------------------------------------------------------------------- *
- * Short description : German langugage support                         *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Deutsche Sprachunterstuetzung                    *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://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();
-} // END - if
-
-// Language definitions
-addMessages(array(
-       'ADMIN_CONFIG_FUNCOINS_TITLE' => "Konfiguration der FuCo-Ex&#178; API",
-       'ADMIN_CONFIG_FUNCOINS_API_ID' => "Betreiberkonto (Nummer)",
-       'ADMIN_CONFIG_FUNCOINS_API_PASSWORD' => "Kennwort Ihres Betreiberkontos",
-       'ADMIN_CONFIG_FUNCOINS_REFID' => "Referral-Id (gleich die Nummer Ihres FC-Kontos)",
-       'ADMIN_CONFIG_FUNCOINS_MIN_PAYOUT' => "Minimale Auszahlungssumme auf ein FunCoins-Konto",
-       'ADMIN_CONFIG_FUNCOINS_MIN_WITHDRAW' => "Minimale Einzahlungssumme von einem FunCoins-Konto",
-       'ADMIN_CONFIG_FUNCOINS_PAYOUT_FACTOR' => "Umrechnusfaktor von {?POINTS?} in FunCoins f&uuml;r Auszahlungen",
-       'ADMIN_CONFIG_FUNCOINS_WITHDRAW_FACTOR' => "Umrechnusfaktor von FunCoins in {?POINTS?} f&uuml;r Einzahlungen",
-       'ADMIN_CONFIG_FUNCOINS_PAYOUT_FEE_PERCENT' => "Prozentuale Betreibergeb&uuml;hr f&uuml;r Auszahlungen",
-       'ADMIN_CONFIG_FUNCOINS_WITHDRAW_FEE_PERCENT' => "Prozentuale Betreibergeb&uuml;hr f&uuml;r Einzahlungen",
-       'ADMIN_CONFIG_FUNCOINS_PAYOUT_FEE_FIX' => "Fixe Betreibergeb&uuml;hr f&uuml;r Auszahlungen",
-       'ADMIN_CONFIG_FUNCOINS_WITHDRAW_FEE_FIX' => "Fixe Betreibergeb&uuml;hr f&uuml;r Einzahlungen",
-       'ADMIN_CONFIG_FUNCOINS_PAYOUT_ACTIVE' => "Auszahlungen zum FunCoins-Portal aktiviert?",
-       'ADMIN_CONFIG_FUNCOINS_WITHDRAW_ACTIVE' => "Auszahlungen vom FunCoins-Portal aktiviert?",
-       'ADMIN_CONFIG_FUNCOINS_NOTICE' => "Falls Sie noch kein FunCoins-Account haben, oder sich &uuml;ber die Internet-W&auml;hrung nur informieren wollen, verwenden Sie bitte <a href=\"http://www.funcoins.de/join.php?refid=9265\" target=\"_blank\">meinen Referral-Link</a>. Ihre Mitglieder sehen im Mitgliedsbereich dann nat&uuml;rlich Ihren Werbelink. Sollten Sie sowohl einen feste als auch eine prozentuale Betreibergeb&uuml;hr eingestellt haben, gilt die prozentuale.",
-));
-
-// [EOF]
+// @DEPRECATED
 ?>
index 33745f560d654707b1459a84c2fca491b7651d0b..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,204 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 07/19/2011 *
- * ===================                          Last change: 07/19/2011 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : funcoins_functions.php                           *
- * -------------------------------------------------------------------- *
- * Short description : Functions for ext-funcoins                       *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Funktionen fuer ext-funcoins                     *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://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();
-} // END - if
-
-//-----------------------------------------------------------------------------
-//                Wrapper functions for configuration entries
-//-----------------------------------------------------------------------------
-
-// Getter for 'funcoins_api_id' config entry
-function getFuncoinsApiId () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_api_id');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_api_password' config entry
-function getFuncoinsApiPassword () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_api_password');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_min_payout' config entry
-function getFuncoinsMinPayout () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_min_payout');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_min_withdraw' config entry
-function getFuncoinsMinWithdraw () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_min_withdraw');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_payout_active' config entry
-function getFuncoinsPayoutActive () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_payout_active');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_payout_factor' config entry
-function getFuncoinsPayoutFactor () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_payout_factor');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_payout_fee_fix' config entry
-function getFuncoinsPayoutFeeFix () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_payout_fee_fix');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_payout_fee_percent' config entry
-function getFuncoinsPayoutFeePercent () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_payout_fee_percent');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_refid' config entry
-function getFuncoinsRefid () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_refid');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_withdraw_active' config entry
-function getFuncoinsWithdrawActive () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_withdraw_active');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_withdraw_fee_factor' config entry
-function getFuncoinsWithdrawFeeFactor () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_withdraw_fee_factor');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_withdraw_fee_fix' config entry
-function getFuncoinsWithdrawFeeFix () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_withdraw_fee_fix');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// Getter for 'funcoins_withdraw_fee_percent' config entry
-function getFuncoinsWithdrawFeePercent () {
-       // Do we have cache?
-       if (!isset($GLOBALS[__FUNCTION__])) {
-               // Determine it
-               $GLOBALS[__FUNCTION__] = getConfig('funcoins_withdraw_fee_percent');
-       } // END - if
-
-       // Return cache
-       return $GLOBALS[__FUNCTION__];
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
index 8fe81f565256de3ad6b9c0192ebf6c2172b42ad0..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,56 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 07/15/2011 *
- * ===================                          Last change: 07/15/2011 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : action-funcoins.php                              *
- * -------------------------------------------------------------------- *
- * Short description : Menu for ext-funcoins management                 *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Menue fuer Management von ext-funcoins           *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://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')) || (!isAdmin())) {
-       die();
-} // END - if
-
-// Add description as navigation point
-addYouAreHereLink('admin', __FILE__);
-
-// Load the include file
-$inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
-if (isIncludeReadable($inc)) { 
-       // Ok, we finally load the admin action module
-       loadIncludeOnce($inc);
-} else {
-       addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}');
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
index c3d16ace87fab41a89aece0a80b06c4d4f0d759a..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,55 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 12/26/2007 *
- * ===================                          Last change: 12/26/2007 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : what-config_funcoins.php                         *
- * -------------------------------------------------------------------- *
- * Short description : Configure funcoins sub-system                    *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Auszahlungensarten editieren                     *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://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')) || (!isAdmin())) {
-       die();
-} // END - if
-
-// Add description as navigation point
-addYouAreHereLink('admin', __FILE__);
-
-if (isFormSent()) {
-       // Save settings
-       adminSaveSettingsFromPostData();
-}  else {
-       // Load template
-       loadTemplate('admin_config_funcoins');
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
index 17f80795bf320d8c5ef8729a8f33a6480f6cf4ec..11f5d85d80b1ca4d16cf4c19e14af24e5ec2a60f 100644 (file)
@@ -1,129 +1 @@
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=config_funcoins%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-       <tr>
-               <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_FUNCOINS_TITLE--}</strong>
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_API_ID--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_api_id" value="{?funcoins_api_id?}" size="2" maxlength="20" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_API_PASSWORD--}:
-               </td>
-               <td>
-                       <input type="password" class="form_field" name="funcoins_api_password" value="{?funcoins_api_password?}" size="15" maxlength="255" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_REFID--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_refid" value="{?funcoins_refid?}" size="5" maxlength="20" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_MIN_PAYOUT--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_min_payout" value="{?funcoins_min_payout?}" size="5" maxlength="20" />
-                       <span class="tiny">(FunCoins)</span>
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_MIN_WITHDRAW--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_min_withdraw" value="{?funcoins_min_withdraw?}" size="5" maxlength="20" />
-                       <span class="tiny">(FunCoins)</span>
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_PAYOUT_FACTOR--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_payout_factor" value="{?funcoins_payout_factor?}" size="5" maxlength="20" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_WITHDRAW_FACTOR--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_withdraw_factor" value="{?funcoins_withdraw_factor?}" size="5" maxlength="20" />
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_PAYOUT_FEE_PERCENT--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_payout_fee_percent" value="{?funcoins_payout_fee_percent?}" size="5" maxlength="20" />&#37;
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_WITHDRAW_FEE_PERCENT--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_withdraw_fee_percent" value="{?funcoins_withdraw_fee_percent?}" size="5" maxlength="20" />&#37;
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_PAYOUT_FEE_FIX--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_payout_fee_fix" value="{?funcoins_payout_fee_fix?}" size="5" maxlength="20" />
-                       <span class="tiny">({?POINTS?})</span>
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_WITHDRAW_FEE_FIX--}:
-               </td>
-               <td>
-                       <input type="text" class="form_field" name="funcoins_withdraw_fee_fix" value="{?funcoins_withdraw_fee_fix?}" size="5" maxlength="20" />
-                       <span class="tiny">({?POINTS?})</span>
-               </td>
-       </tr>
-       <tr>
-               <td align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_PAYOUT_ACTIVE--}:
-               </td>
-               <td>
-                       {%template,ConfigurationYesNoSelectionBox=funcoins_payout_active%}
-               </td>
-       </tr>
-       <tr>
-               <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_FUNCOINS_WITHDRAW_ACTIVE--}:
-               </td>
-               <td class="bottom">
-                       {%template,ConfigurationYesNoSelectionBox=funcoins_withdraw_active%}
-               </td>
-       </tr>
-       <tr>
-               <td colspan="2" class="table_footer">
-                       <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
-               </td>
-       </tr>
-</table>
-</form>
-</div>
-
-<div class="notice">
-       {--ADMIN_CONFIG_FUNCOINS_NOTICE--}
-</div>
+<!-- @DEPRECATED //-->