]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_primera.php
Even more rewritten
[mailer.git] / inc / modules / admin / what-config_primera.php
index b1d8d571300a1a8b1eeddf65b7a79b0f5f081c8b..1c02776ae8bd264af39898081070221357663e9d 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Auszahlungensarten editieren                     *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $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 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
 
 if (IS_FORM_SENT()) {
        // First merge temporarily the new API data into the current config
@@ -57,15 +62,15 @@ if (IS_FORM_SENT()) {
                ADMIN_SAVE_SETTINGS_POST();
        } else {
                // Failed to test the API!
-               LOAD_TEMPLATE("admin_settings_saved", false, GET_PRIMERA_ERROR_MESSAGE());
+               LOAD_TEMPLATE('admin_settings_saved', false, GET_PRIMERA_ERROR_MESSAGE());
        }
 }  else {
        // Prepare data for template output
        $content = array(
-               'min_payout'    => getConfig(('primera_min_payout')),
-               'min_withdraw'  => getConfig(('primera_min_withdraw')),
+               'min_payout'            => getConfig(('primera_min_payout')),
+               'min_withdraw'          => getConfig(('primera_min_withdraw')),
                'api_name'              => getConfig('primera_api_name'),
-               'api_md5'               => getConfig('primera_api_md5'),
+               'api_md5'                       => getConfig('primera_api_md5'),
                'refid'                 => getConfig('primera_refid')
        );