code cleanup

This commit is contained in:
Nathan Coad
2019-09-10 19:08:26 +10:00
parent e8df551c94
commit a3472d6fb4
7 changed files with 20 additions and 23 deletions

View File

@@ -8,8 +8,8 @@
function booking_event_admin()
{
//see http://www.jaypan.com/blog/themeing-drupal-7-forms-tables-checkboxes-or-radios
$form = array ();
$options = array ();
$form = array();
$options = array();
$prefix = t("<p>!link</p>",
array ('!link' => l('Add New Event', 'admin/config/booking/events/create')));
@@ -106,7 +106,7 @@ function booking_event_admin_submit($form, &$form_state) {
function booking_event_form($node, &$form_state, $create, $editid = 0)
{
$form = array ();
$form = array();
$prefix = "<p>Add a new event to the bookings module.</p>";
if ($create == true)