More XHTML-fied and extended header added to templates
[mailer.git] / inc / modules / member / what-payout.php
index cee143d869f7b0f9cc751e6434e7996a733f7cbe..46931beb35ba71507e33890047c80c65a837eb5a 100644 (file)
@@ -11,7 +11,7 @@
  * Kurzbeschreibung  : Auszahlungsanfragen                              *
  * -------------------------------------------------------------------- *
  * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author:: stelzi                                                   $ *
  * Needs to be in all Files and every File needs "svn propset           *
@@ -253,11 +253,21 @@ VALUES (0, 'NEW','PAYOUT_REQUEST','[payout:] {--PAYOUT_REQUEST_ADMIN--}','%s', U
                                // Load template and output it
                                LOAD_TEMPLATE("admin_settings_saved", false, getMessage('PAYOUT_REQUEST_SENT'));
                        } elseif ($content['allow'] == "Y") {
+                               // Prepare content
+                               $content = array(
+                                       'payout' => bigintval(REQUEST_GET('payout'))
+                               );
+
                                // Generate banner order form
-                               LOAD_TEMPLATE("member_payout_form_banner");
+                               LOAD_TEMPLATE("member_payout_form_banner", false, $content);
                        } else {
+                               // Prepare content
+                               $content = array(
+                                       'payout' => bigintval(REQUEST_GET('payout'))
+                               );
+
                                // Generate normal form
-                               LOAD_TEMPLATE("member_payout_form");
+                               LOAD_TEMPLATE("member_payout_form", false, $content);
                        }
                } else {
                        // Not enougth points