]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_bonus.php
More wrapper functions used, removed bigintval() which caused a lot trouble
[mailer.git] / inc / modules / admin / what-config_bonus.php
index e9ee266a6dc11f61fa6b6509fd16f923d06fde13..ba001891a380e926d6662dae5e085b9943cca960 100644 (file)
@@ -14,8 +14,6 @@
  * $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                    *
@@ -75,7 +73,7 @@ if (isFormSent()) {
        setConfigEntry('bonus_disable_notify', postRequestParameter('bonus_disable_notify'));
 } else {
        // Transfer options to template
-       $content['member_selection'] = addMemberSelectionBox(getBonusUserId(), false, true, true, 'bonus_userid');
+       $content['form_selection'] = addMemberSelectionBox(getBonusUserId(), false, true, true, 'bonus_userid');
 
        // Initialize array for the points list
        $RANKS = explode(';', getConfig('turbo_rates'));
@@ -89,7 +87,7 @@ if (isFormSent()) {
        foreach ($RANKS as $k => $rate) {
                if (!empty($rate)) {
                        // Print only when something is in
-                       $OUT .= '<li><input type="text" name="rate[' . ($k + 2) . ']" class="admin_normal" size="4" maxlength="7" value="' . $rate . '" /> <div class="admin_note">({?POINTS?})</div></li>';
+                       $OUT .= '<li><input type="text" name="rate[' . ($k + 2) . ']" class="form_field" size="4" maxlength="7" value="' . $rate . '" /> <div class="notice">({?POINTS?})</div></li>';
                } // END - if
                $cnt++;
        } // END - foreach
@@ -100,7 +98,7 @@ if (isFormSent()) {
 
        // Add more empty fields
        for ($i = $cnt; $i < $max; $i++) {
-               $OUT .= '  <li><input type="text" name="rate[' . ($i+2) . ']" class="admin_normal" size="4" maxlength="7" /> <div class="admin_note">({?POINTS?})</div></li>';
+               $OUT .= '  <li><input type="text" name="rate[' . ($i+2) . ']" class="form_field" size="4" maxlength="7" /> <div class="notice">({?POINTS?})</div></li>';
        } // END - for
        $OUT .= '</ol>';
        $content['trates_list'] = $OUT;