]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_bonus.php
Re-added height, but smaller to make most menus appear shorter
[mailer.git] / inc / modules / admin / what-config_bonus.php
index 048e7b61966d78af33d14a22d259ca8d5b5cffd0..e3a26ab807d3ef28ac6e7fe2cf46915cbe960372 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -63,7 +63,7 @@ if (isFormSent('save_config')) {
 
        // Automatically calculate bonus points for ranks 2 and 3 when not set
        if (!isPostRequestElementSet('turbo_rates')) {
-               setPostRequestElement('turbo_rates', ''.round(getConfig('turbo_bonus') / 2).';'.round(getConfig('turbo_bonus') / 4).'');
+               setPostRequestElement('turbo_rates', ''.round(getTurboBonus() / 2).';'.round(getTurboBonus() / 4).'');
        } // END - if
 
        // Save data
@@ -81,7 +81,7 @@ if (isFormSent('save_config')) {
        $RANKS = explode(';', getTurboRates());
 
        // Automatically calculate bonus points for ranks 2 and 3 when not set
-       if (getTurboRates() == '') $RANKS = array(round(getConfig('turbo_bonus') / 2), round(getConfig('turbo_bonus') / 4));
+       if (getTurboRates() == '') $RANKS = array(round(getTurboBonus() / 2), round(getTurboBonus() / 4));
 
        // Generate list
        $OUT = '<ol start="2">';