return true;\r
}\r
\r
-/*function paymentemail($first_name,$last_name,$organization,$amount,$invoice_num) {\r
-// paymentemail($first_name,$last_name,$organisation,$donation_type,$amount,$invoice_num,$comment);\r
- $to = "anthony@localhost";\r
- $subject = 'GLM Payment Form';\r
-// $message = 'This is a test of the wp_mail function: wp_mail is working';\r
- $message = 'A payment has been made on the Gaslight Media website. Please review the billing information below' . \r
- '<br>Name: ' . $last_name . ', ' . $first_name . '<br>Organisation: ' . $organization . '<br>Amount: ' . $amount . '<br>Invoice Number: ' . $invoice_num;\r
- $headers = array();\r
- $headers[] = 'From: Gaslight Media <anthony@gaslightmedia.com>';\r
- $headers[] = 'Reply-To: noreply@gaslightmedia.com';\r
- $headers[] = 'Content-Type: text/html';\r
- $headers[] = 'charset=utf-8';\r
-\r
- mail( $to, $subject, $message, $headers );\r
-} */\r
?>\r
<ul id="glm-payments-tabs-nav">\r
<li><a href="#glm-payments-tab-donorlist">Payment List</a></li>\r
<li><a href="#glm-payments-tab-settings">Settings</a></li>\r
- <li><a href="#glm-payments-tab-mail">Mail</a></li>\r
</ul>\r
<div style="clear:both"></div>\r
- <div id="glm-payments-tab-mail">\r
- \r
-\r
- <?php\r
- \r
-// paymentemail($first_name,$last_name,$organisation,$donation_type,$amount,$invoice_num,$comment);\r
-// $message = 'This is a test of the wp_mail function: wp_mail is working';\r
-// $first_name = 'fname';\r
-// $last_name = 'lname';\r
-// $organisation = 'org';\r
-// $donation_type = 'dontype';\r
-// $amount = 'amt';\r
-// $invoice_num = 'invnum';\r
-// $comment = 'comment';\r
-// $to = "anthony@localhost";\r
-// $subject = 'wp_mail function test';\r
-// $message = 'A payment has been made on the Gaslight Media website. Please review the billing information below' . \r
-// '<br>Name: ' . $last_name . ', ' . $first_name . '<br>Organisation: ' . $organisation . '<br>Donation Type: ' . \r
-// $donation_type . '<br>Amount: ' . $amount . '<br>Invoice Number: ' . $invoice_num . '<br>Comments: ' . $comment;\r
-// $headers = array();\r
-// $headers[] = 'From: Gaslight Media <anthony@gaslightmedia.com>';\r
-// $headers[] = 'Reply-To: noreply@gaslightmedia.com';\r
-// $headers[] = 'Content-Type: text/html';\r
-// $headers[] = 'charset=utf-8';\r
-// \r
-// $sent_message = wp_mail( $to, $subject, $message, $headers );\r
-// if ( $sent_message ) {\r
-// echo 'The test message was sent. Check your email inbox.';\r
-// } else {\r
-// echo 'The message was not sent!';\r
-// }\r
- ?>\r
- \r
- </div>\r
+ \r
<div id="glm-payments-tab-donorlist">\r
<table class="glm-payments-donorlist" width="100%">\r
<?php \r