minor tweaks
This commit is contained in:
@@ -176,15 +176,16 @@ function booking_room_edit_form($node, &$form_state, $nid) {
|
|||||||
'#value' => $nid,
|
'#value' => $nid,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$form['remove'] = array (
|
||||||
|
'#type' => 'submit',
|
||||||
|
'#value' => t('Remove'),
|
||||||
|
);
|
||||||
|
|
||||||
$form['submit'] = array (
|
$form['submit'] = array (
|
||||||
'#type' => 'submit',
|
'#type' => 'submit',
|
||||||
'#value' => t('Submit'),
|
'#value' => t('Submit'),
|
||||||
);
|
);
|
||||||
$form['remove'] = array (
|
|
||||||
'#type' => 'submit',
|
|
||||||
'#value' => t('Remove'),
|
|
||||||
);
|
|
||||||
|
|
||||||
return array (
|
return array (
|
||||||
'first_para' => array (
|
'first_para' => array (
|
||||||
'#type' => 'markup',
|
'#type' => 'markup',
|
||||||
|
@@ -140,10 +140,6 @@ function booking_roomlocation_define_form_submit($form, &$form_state) {
|
|||||||
$values = $form_state['input'];
|
$values = $form_state['input'];
|
||||||
$redirect_path = array('admin/config/booking/rooms');
|
$redirect_path = array('admin/config/booking/rooms');
|
||||||
$new_count = 0;
|
$new_count = 0;
|
||||||
|
|
||||||
//get the number of study groups before making this update
|
|
||||||
//$count = db_query("SELECT count(*) as num FROM {booking_studygroup_list} WHERE booking_eventid = :eid",
|
|
||||||
// array(':eid' => $event->eid))->fetchObject();
|
|
||||||
|
|
||||||
//watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE)));
|
//watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE)));
|
||||||
if ($form_state['values']['op'] == 'Create')
|
if ($form_state['values']['op'] == 'Create')
|
||||||
|
Reference in New Issue
Block a user