change manual email page to a form

This commit is contained in:
2016-05-26 22:55:43 +10:00
parent 369157fc9a
commit a1b6ebc381
2 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<?php
function booking_manual_email($input_option = "")
function booking_manual_email_form($form, &$form_state, $input_option = "")
{
global $event;
//see http://www.jaypan.com/blog/themeing-drupal-7-forms-tables-checkboxes-or-radios
@@ -398,7 +398,7 @@ function _booking_manual_email_selecttype_ajax_callback($form, &$form_state) {
return array('#type' => 'ajax', '#commands' => $commands);
}
function booking_manual_email_submit($form, &$form_state) {
function booking_manual_email_form_submit($form, &$form_state) {
$counter = 0;
$update_messages = array();
$checkboxes = $form_state['values']['table']; //$values['booking_price_active'];