tweaks to studygroup pages
This commit is contained in:
@@ -108,7 +108,7 @@ function _booking_studygroups_retrieve_eligible_people() {
|
|||||||
FROM (
|
FROM (
|
||||||
SELECT p.nid, p.booking_firstname, p.booking_lastname, p.booking_state, p.booking_country, p.booking_readinggroup, pay.booking_payment_date, p.booking_status, p.booking_gender, p.booking_dob
|
SELECT p.nid, p.booking_firstname, p.booking_lastname, p.booking_state, p.booking_country, p.booking_readinggroup, pay.booking_payment_date, p.booking_status, p.booking_gender, p.booking_dob
|
||||||
FROM {booking_person} p, {booking_payment} pay
|
FROM {booking_person} p, {booking_payment} pay
|
||||||
WHERE booking_eventid = :eid and p.nid = pay.booking_person_nid and ( booking_status = 2 or booking_status = 4)
|
WHERE p.booking_eventid = :eid and p.nid = pay.booking_person_nid and ( p.booking_status = 2 or p.booking_status = 4)
|
||||||
LIMIT 100
|
LIMIT 100
|
||||||
) AS booking
|
) AS booking
|
||||||
WHERE booking_gender = \'M\'
|
WHERE booking_gender = \'M\'
|
||||||
|
@@ -164,7 +164,8 @@ function booking_studygroups_leadhelp_view_summary() {
|
|||||||
} //end iterate person list
|
} //end iterate person list
|
||||||
|
|
||||||
//output everything
|
//output everything
|
||||||
$output .= t("<h3>!event Study Group Leaders and Helpers</h3>", array('!event' => $event->booking_eventname));
|
$output .= t("<h3>!event Study Group Leaders and Helpers</h3>", array('!event' => $event->booking_eventname));
|
||||||
|
$output .= t("<p>This page lists all males that are either booked in or on the waiting list.</p>");
|
||||||
$output .= theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => $attributes));
|
$output .= theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => $attributes));
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
|
Reference in New Issue
Block a user