New function for viewing list all each study group
This commit is contained in:
@@ -305,9 +305,8 @@ function booking_menu() {
|
|||||||
$items['admin/config/booking/studygroups/view'] = array(
|
$items['admin/config/booking/studygroups/view'] = array(
|
||||||
'title' => 'View All Study Groups',
|
'title' => 'View All Study Groups',
|
||||||
'description' => 'View Study Group memberships',
|
'description' => 'View Study Group memberships',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'booking_studygroups_view_summary',
|
||||||
'page arguments' => array('booking_studygroups_view_form', false),
|
'access arguments' => array("access administration pages"),
|
||||||
'access arguments' => array('access administration pages'),
|
|
||||||
//'type' => MENU_NORMAL_ITEM,
|
//'type' => MENU_NORMAL_ITEM,
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -315,7 +314,7 @@ function booking_menu() {
|
|||||||
'title' => 'View Study Group',
|
'title' => 'View Study Group',
|
||||||
'description' => 'View Study Group memberships',
|
'description' => 'View Study Group memberships',
|
||||||
'page callback' => 'drupal_get_form',
|
'page callback' => 'drupal_get_form',
|
||||||
'page arguments' => array('booking_studygroups_view_form', true, 4),
|
'page arguments' => array('booking_studygroups_view_form', 4),
|
||||||
'access arguments' => array('access administration pages'),
|
'access arguments' => array('access administration pages'),
|
||||||
//'type' => MENU_NORMAL_ITEM,
|
//'type' => MENU_NORMAL_ITEM,
|
||||||
);
|
);
|
||||||
|
@@ -463,10 +463,17 @@ function booking_studygroups_calculate() {
|
|||||||
//watchdog('booking', "Attendee list final version: @info", array('@info' => var_export($attendees, TRUE)));
|
//watchdog('booking', "Attendee list final version: @info", array('@info' => var_export($attendees, TRUE)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function for listing the study groups and links to view each one
|
||||||
|
*/
|
||||||
|
function booking_studygroups_view_summary() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function for viewing who belongs to which study group
|
* Function for viewing who belongs to which study group
|
||||||
*/
|
*/
|
||||||
function booking_studygroups_view_form($node, &$form_state, $single_view, $group_id = -1) {
|
function booking_studygroups_view_form($node, &$form_state, $group_id) {
|
||||||
global $event;
|
global $event;
|
||||||
|
|
||||||
$form = array();
|
$form = array();
|
||||||
|
Reference in New Issue
Block a user