diff --git a/cod_session/cod_session.features.content.inc b/cod_session/cod_session.features.content.inc index 79057b8..ca60277 100644 --- a/cod_session/cod_session.features.content.inc +++ b/cod_session/cod_session.features.content.inc @@ -442,67 +442,6 @@ advanced|Advanced', ), ); - // Exported field: field_speakers - $fields['session-field_speakers'] = array( - 'field_name' => 'field_speakers', - 'type_name' => 'session', - 'display_settings' => array( - 'weight' => '-3', - 'parent' => '', - 'label' => array( - 'format' => 'above', - ), - 'teaser' => array( - 'format' => 'user_full_name', - 'exclude' => 0, - ), - 'full' => array( - 'format' => 'user_full_name', - 'exclude' => 0, - ), - '4' => array( - 'format' => 'default', - 'exclude' => 0, - ), - 'token' => array( - 'format' => 'default', - 'exclude' => 0, - ), - ), - 'widget_active' => '1', - 'type' => 'userreference', - 'required' => '0', - 'multiple' => '1', - 'module' => 'userreference', - 'active' => '1', - 'referenceable_roles' => array( - '2' => 0, - '4' => 0, - '3' => 0, - '5' => 0, - ), - 'referenceable_status' => '1', - 'advanced_view' => '', - 'advanced_view_args' => '', - 'widget' => array( - 'autocomplete_match' => 'contains', - 'size' => '40', - 'reverse_link' => 1, - 'default_value' => array( - '0' => array( - 'uid' => NULL, - '_error_element' => 'default_value_widget][field_speakers][0][uid][uid', - ), - ), - 'default_value_php' => NULL, - 'label' => 'Speaker(s)', - 'weight' => '-3', - 'description' => 'Add your username and optionally 1-5 additional speaker usernames.', - 'type' => 'userreference_autocomplete', - 'module' => 'userreference', - ), - ); - // Exported field: field_session_room $fields['session-field_session_room'] = array( 'field_name' => 'field_session_room', @@ -701,6 +640,67 @@ advanced|Advanced', ), ); + // Exported field: field_speakers + $fields['session-field_speakers'] = array( + 'field_name' => 'field_speakers', + 'type_name' => 'session', + 'display_settings' => array( + 'weight' => '-3', + 'parent' => '', + 'label' => array( + 'format' => 'above', + ), + 'teaser' => array( + 'format' => 'user_full_name', + 'exclude' => 0, + ), + 'full' => array( + 'format' => 'user_full_name', + 'exclude' => 0, + ), + '4' => array( + 'format' => 'default', + 'exclude' => 0, + ), + 'token' => array( + 'format' => 'default', + 'exclude' => 0, + ), + ), + 'widget_active' => '1', + 'type' => 'userreference', + 'required' => '0', + 'multiple' => '1', + 'module' => 'userreference', + 'active' => '1', + 'referenceable_roles' => array( + '2' => 0, + '4' => 0, + '3' => 0, + '5' => 0, + ), + 'referenceable_status' => '1', + 'advanced_view' => '', + 'advanced_view_args' => '', + 'widget' => array( + 'autocomplete_match' => 'contains', + 'size' => '40', + 'reverse_link' => 1, + 'default_value' => array( + '0' => array( + 'uid' => NULL, + '_error_element' => 'default_value_widget][field_speakers][0][uid][uid', + ), + ), + 'default_value_php' => NULL, + 'label' => 'Speaker(s)', + 'weight' => '-3', + 'description' => 'Add your username and optionally 1-5 additional speaker usernames.', + 'type' => 'userreference_autocomplete', + 'module' => 'userreference', + ), + ); + // Exported field: field_track $fields['session-field_track'] = array( 'field_name' => 'field_track', @@ -833,9 +833,9 @@ Track 3', t('Date and time'); t('Experience level'); t('Photo'); - t('Speaker(s)'); t('Room'); t('Slides'); + t('Speaker(s)'); t('Status'); t('Time slot'); t('Track'); diff --git a/cod_session/cod_session.features.inc b/cod_session/cod_session.features.inc index a8c7435..d94aba5 100644 --- a/cod_session/cod_session.features.inc +++ b/cod_session/cod_session.features.inc @@ -8,6 +8,9 @@ function cod_session_ctools_plugin_api() { if ($module == "context" && $api == "context") { return array("version" => 3); } + elseif ($module == "page_manager" && $api == "pages_default") { + return array("version" => 1); + } elseif ($module == "strongarm" && $api == "strongarm") { return array("version" => 1); } @@ -17,89 +20,108 @@ function cod_session_ctools_plugin_api() { * Implementation of hook_flag_default_flags(). */ function cod_session_flag_default_flags() { -$flags = array(); -// Exported flag: "Session Attending". -$flags[] = array ( - 'content_type' => 'node', - 'name' => 'session_schedule', - 'title' => 'Session Attending', - 'global' => '0', - 'types' => - array ( - 0 => 'session', - 1 => 'schedule_item', - ), - 'flag_short' => 'Add to your schedule', - 'flag_long' => 'Add this session to your personal session attendance.', - 'flag_message' => 'Session added', - 'unflag_short' => 'Remove from your schedule', - 'unflag_long' => 'Remove this session from your schedule', - 'unflag_message' => 'Session removed', - 'unflag_denied_text' => '', - 'link_type' => 'toggle', - 'roles' => - array ( - 'flag' => - array ( + $flags = array(); + // Exported flag: "Speaker confirmation flag". + $flags['session_confirm'] = array( + 'content_type' => 'node', + 'title' => 'Speaker confirmation flag', + 'global' => '0', + 'types' => array( + '0' => 'session', + ), + 'flag_short' => 'I confirm that I can present this sesssion at the listed date and time.', + 'flag_long' => 'Once confirmed, you cannot unconfirm without contacting the session organizers.', + 'flag_message' => 'Thanks for confirming that you can present [title] at this date and time!', + 'unflag_short' => 'Cancel confirmation', + 'unflag_long' => '', + 'unflag_message' => '', + 'unflag_denied_text' => 'You have confirmed that you will be presenting for this session.', + 'link_type' => 'toggle', + 'roles' => array( + 'flag' => array( + '0' => 2, + ), + 'unflag' => array(), + ), + 'show_on_page' => 1, + 'show_on_teaser' => 1, + 'show_on_form' => 0, + 'access_author' => '', + 'i18n' => 0, + 'module' => 'cod_session', + 'locked' => array( + '0' => 'name', + ), + 'api_version' => 2, + ); + // Exported flag: "Session Attending". + $flags['session_schedule'] = array( + 'content_type' => 'node', + 'title' => 'Session Attending', + 'global' => '0', + 'types' => array( + '0' => 'session', + '1' => 'schedule_item', + ), + 'flag_short' => 'Add to your schedule', + 'flag_long' => 'Add this session to your personal session attendance.', + 'flag_message' => 'Session added', + 'unflag_short' => 'Remove from your schedule', + 'unflag_long' => 'Remove this session from your schedule', + 'unflag_message' => 'Session removed', + 'unflag_denied_text' => '', + 'link_type' => 'toggle', + 'roles' => array( + 'flag' => array(), + 'unflag' => array(), ), - 'unflag' => - array ( + 'show_on_page' => 0, + 'show_on_teaser' => 1, + 'show_on_form' => 0, + 'access_author' => '', + 'i18n' => 0, + 'module' => 'cod_session', + 'locked' => array( + '0' => 'name', ), - ), - 'show_on_page' => 0, - 'show_on_teaser' => 1, - 'show_on_form' => 0, - 'access_author' => '', - 'i18n' => 0, - 'module' => 'cod_session', - 'locked' => - array ( - 0 => 'name', - ), - 'api_version' => 2, -); -// Exported flag: "Session Vote". -$flags[] = array ( - 'content_type' => 'node', - 'name' => 'session_vote', - 'title' => 'Session Vote', - 'global' => '0', - 'types' => - array ( - 0 => 'session', - ), - 'flag_short' => 'Vote for this session', - 'flag_long' => 'Vote for this session', - 'flag_message' => 'Your vote has been recorded!', - 'unflag_short' => 'Retract vote', - 'unflag_long' => 'Retract your vote for this session.', - 'unflag_message' => 'Your vote has been retracted.', - 'unflag_denied_text' => '', - 'link_type' => 'toggle', - 'roles' => - array ( - 'flag' => - array ( - 0 => 3, + 'api_version' => 2, + ); + // Exported flag: "Session Vote". + $flags['session_vote'] = array( + 'content_type' => 'node', + 'title' => 'Session Vote', + 'global' => '0', + 'types' => array( + '0' => 'session', ), - 'unflag' => - array ( - 0 => 3, + 'flag_short' => 'Vote for this session', + 'flag_long' => 'Vote for this session', + 'flag_message' => 'Your vote has been recorded!', + 'unflag_short' => 'Retract vote', + 'unflag_long' => 'Retract your vote for this session.', + 'unflag_message' => 'Your vote has been retracted.', + 'unflag_denied_text' => '', + 'link_type' => 'toggle', + 'roles' => array( + 'flag' => array( + '0' => 3, + ), + 'unflag' => array( + '0' => 3, + ), ), - ), - 'show_on_page' => 1, - 'show_on_teaser' => 0, - 'show_on_form' => 0, - 'access_author' => '', - 'i18n' => 0, - 'module' => 'cod_session', - 'locked' => - array ( - 0 => 'name', - ), - 'api_version' => 2, -); -return $flags; + 'show_on_page' => 1, + 'show_on_teaser' => 0, + 'show_on_form' => 0, + 'access_author' => '', + 'i18n' => 0, + 'module' => 'cod_session', + 'locked' => array( + '0' => 'name', + ), + 'api_version' => 2, + ); + return $flags; } /** diff --git a/cod_session/cod_session.features.user_permission.inc b/cod_session/cod_session.features.user_permission.inc index 2d24bbd..d0f489a 100644 --- a/cod_session/cod_session.features.user_permission.inc +++ b/cod_session/cod_session.features.user_permission.inc @@ -158,16 +158,6 @@ function cod_session_user_default_permissions() { ), ); - // Exported permission: edit field_speakers - $permissions['edit field_speakers'] = array( - 'name' => 'edit field_speakers', - 'roles' => array( - '0' => 'authenticated user', - '1' => 'session organizer', - '2' => 'site administrator', - ), - ); - // Exported permission: edit field_session_room $permissions['edit field_session_room'] = array( 'name' => 'edit field_session_room', @@ -204,6 +194,16 @@ function cod_session_user_default_permissions() { ), ); + // Exported permission: edit field_speakers + $permissions['edit field_speakers'] = array( + 'name' => 'edit field_speakers', + 'roles' => array( + '0' => 'authenticated user', + '1' => 'session organizer', + '2' => 'site administrator', + ), + ); + // Exported permission: edit field_track $permissions['edit field_track'] = array( 'name' => 'edit field_track', @@ -267,16 +267,6 @@ function cod_session_user_default_permissions() { ), ); - // Exported permission: view field_speakers - $permissions['view field_speakers'] = array( - 'name' => 'view field_speakers', - 'roles' => array( - '0' => 'anonymous user', - '1' => 'authenticated user', - '2' => 'site administrator', - ), - ); - // Exported permission: view field_session_room $permissions['view field_session_room'] = array( 'name' => 'view field_session_room', @@ -320,6 +310,16 @@ function cod_session_user_default_permissions() { ), ); + // Exported permission: view field_speakers + $permissions['view field_speakers'] = array( + 'name' => 'view field_speakers', + 'roles' => array( + '0' => 'anonymous user', + '1' => 'authenticated user', + '2' => 'site administrator', + ), + ); + // Exported permission: view field_track $permissions['view field_track'] = array( 'name' => 'view field_track', diff --git a/cod_session/cod_session.features.uuid_node.inc b/cod_session/cod_session.features.uuid_node.inc index c53176e..273bd5e 100644 --- a/cod_session/cod_session.features.uuid_node.inc +++ b/cod_session/cod_session.features.uuid_node.inc @@ -7,78 +7,40 @@ function cod_session_uuid_features_default_content() { $nodes = array(); $nodes[] = array( + 'uuid' => '82568654-06d2-11e0-a3ab-29212d7dea21', 'type' => 'page', 'language' => '', - 'uid' => '0', 'status' => '1', - 'created' => '1295453407', - 'changed' => '1295905543', 'comment' => '0', 'promote' => '0', 'moderate' => '0', 'sticky' => '0', - 'tnid' => '0', - 'translate' => '0', - 'revision_uid' => '1', 'title' => 'Program', 'body' => '[Tip: You can use this page to describe the overall schedule for your event. For example, "Day 1-2: Sessions. Day 3: Training workshops. Link to content as needed.] - - Day One - Oct 19, 2011 - Breakfast and registration - Pre-conference training - Speakers reception - - Day Two - Oct 20, 2011 - Breakfast and registration - Sessions - Opening night party - - Day Three - Oct 21, 2011 - Breakfast and registration - Sessions - Exhibits and posters - - Day Four - Oct 22, 2011 - Breakfast and registration - Sessions - Wrap party', - 'teaser' => '[Tip: You can use this page to describe the overall schedule for your event. For example, "Day 1-2: Sessions. Day 3: Training workshops. Link to content as needed.] - - Day One - Oct 19, 2011 - Breakfast and registration - Pre-conference training - Speakers reception - - Day Two - Oct 20, 2011 - Breakfast and registration - Sessions - Opening night party - - Day Three - Oct 21, 2011 - Breakfast and registration - Sessions - Exhibits and posters - - Day Four - Oct 22, 2011 - Breakfast and registration - Sessions - Wrap party', - 'log' => '', - 'revision_timestamp' => '1295453407', + + Day One - Oct 19, 2011 + Breakfast and registration + Pre-conference training + Speakers reception + + Day Two - Oct 20, 2011 + Breakfast and registration + Sessions + Opening night party + + Day Three - Oct 21, 2011 + Breakfast and registration + Sessions + Exhibits and posters + + Day Four - Oct 22, 2011 + Breakfast and registration + Sessions + Wrap party', 'format' => '1', 'name' => '', - 'picture' => '', - 'data' => NULL, 'path' => 'program', - 'signup' => 0, - 'last_comment_timestamp' => '1295453407', - 'last_comment_name' => NULL, - 'comment_count' => '0', - 'taxonomy' => array(), - 'uuid' => '82568654-06d2-11e0-a3ab-29212d7dea21', - 'revision_uuid' => '8b783c86-0e1c-11e0-98a9-d1fb755a60d4', - 'pathauto_perform_alias' => FALSE, - 'date' => '2011-01-19 11:10:07 -0500', + 'date' => '2011-01-19 16:10:07 +0000', ); return $nodes; } diff --git a/cod_session/cod_session.info b/cod_session/cod_session.info index 19b83f4..5e980b4 100644 --- a/cod_session/cod_session.info +++ b/cod_session/cod_session.info @@ -5,6 +5,7 @@ dependencies[] = "cod_base" dependencies[] = "content" dependencies[] = "content_permissions" dependencies[] = "context" +dependencies[] = "ctools" dependencies[] = "date" dependencies[] = "date_api" dependencies[] = "features" @@ -16,14 +17,20 @@ dependencies[] = "menu" dependencies[] = "nodereference" dependencies[] = "number" dependencies[] = "optionwidgets" +dependencies[] = "page_manager" +dependencies[] = "panels" dependencies[] = "profile" dependencies[] = "search" +dependencies[] = "signup" dependencies[] = "strongarm" dependencies[] = "text" dependencies[] = "token" dependencies[] = "userreference" dependencies[] = "uuid_features" dependencies[] = "views" +dependencies[] = "views_bulk_operations" +dependencies[] = "views_content" +dependencies[] = "views_send" dependencies[] = "views_ui" description = "COD Session Scheduling & Voting" features[content][] = "room-field_room_capacity" @@ -33,17 +40,19 @@ features[content][] = "schedule_item-field_session_room" features[content][] = "schedule_item-field_session_slot" features[content][] = "session-field_accepted" features[content][] = "session-field_experience" -features[content][] = "session-field_speakers" features[content][] = "session-field_session_room" features[content][] = "session-field_session_slot" features[content][] = "session-field_slides" +features[content][] = "session-field_speakers" features[content][] = "session-field_track" features[content][] = "time_slot-field_slot_datetime" features[ctools][] = "context:context:3" +features[ctools][] = "page_manager:pages_default:1" features[ctools][] = "strongarm:strongarm:1" features[fieldgroup][] = "schedule_item-group_schedule" features[fieldgroup][] = "session-group_audience" features[fieldgroup][] = "session-group_schedule" +features[flag][] = "session_confirm" features[flag][] = "session_schedule" features[flag][] = "session_vote" features[menu_links][] = "menu-quick-links:program/session-schedule/your-schedule" @@ -55,6 +64,7 @@ features[node][] = "room" features[node][] = "schedule_item" features[node][] = "session" features[node][] = "time_slot" +features[page_manager_handlers][] = "user_view_panel_context" features[user_permission][] = "create room content" features[user_permission][] = "create schedule_item content" features[user_permission][] = "create session content" @@ -73,11 +83,11 @@ features[user_permission][] = "edit any session content" features[user_permission][] = "edit any time_slot content" features[user_permission][] = "edit field_accepted" features[user_permission][] = "edit field_experience" -features[user_permission][] = "edit field_speakers" features[user_permission][] = "edit field_session_room" features[user_permission][] = "edit field_session_slot" features[user_permission][] = "edit field_slides" features[user_permission][] = "edit field_slot_datetime" +features[user_permission][] = "edit field_speakers" features[user_permission][] = "edit field_track" features[user_permission][] = "edit own room content" features[user_permission][] = "edit own schedule_item content" @@ -85,11 +95,11 @@ features[user_permission][] = "edit own session content" features[user_permission][] = "edit own time_slot content" features[user_permission][] = "view field_accepted" features[user_permission][] = "view field_experience" -features[user_permission][] = "view field_speakers" features[user_permission][] = "view field_session_room" features[user_permission][] = "view field_session_slot" features[user_permission][] = "view field_slides" features[user_permission][] = "view field_slot_datetime" +features[user_permission][] = "view field_speakers" features[user_permission][] = "view field_track" features[user_role][] = "session organizer" features[uuid_node][] = "82568654-06d2-11e0-a3ab-29212d7dea21" @@ -149,9 +159,46 @@ features[variable][] = "node_options_session" features[variable][] = "node_options_time_slot" features[variable][] = "pathauto_node_room_pattern" features[variable][] = "pathauto_node_session_pattern" +features[variable][] = "views_send_from_mail_sessions_admin_contact:page_2" +features[variable][] = "views_send_from_mail_sessions_admin_contact:page_4" +features[variable][] = "views_send_from_mail_sessions_admin_contact:page_5" +features[variable][] = "views_send_from_name_sessions_admin_contact:page_2" +features[variable][] = "views_send_from_name_sessions_admin_contact:page_4" +features[variable][] = "views_send_from_name_sessions_admin_contact:page_5" +features[variable][] = "views_send_message_sessions_admin_contact:page_1" +features[variable][] = "views_send_message_sessions_admin_contact:page_2" +features[variable][] = "views_send_message_sessions_admin_contact:page_3" +features[variable][] = "views_send_message_sessions_admin_contact:page_4" +features[variable][] = "views_send_message_sessions_admin_contact:page_5" +features[variable][] = "views_send_remember_sessions_admin_contact:page_1" +features[variable][] = "views_send_remember_sessions_admin_contact:page_2" +features[variable][] = "views_send_remember_sessions_admin_contact:page_3" +features[variable][] = "views_send_remember_sessions_admin_contact:page_4" +features[variable][] = "views_send_remember_sessions_admin_contact:page_5" +features[variable][] = "views_send_remember_sessions_admin_contact:page_6" +features[variable][] = "views_send_subject_sessions_admin_contact:page_1" +features[variable][] = "views_send_subject_sessions_admin_contact:page_2" +features[variable][] = "views_send_subject_sessions_admin_contact:page_3" +features[variable][] = "views_send_subject_sessions_admin_contact:page_4" +features[variable][] = "views_send_subject_sessions_admin_contact:page_5" +features[variable][] = "views_send_subject_sessions_admin_contact:page_6" +features[variable][] = "views_send_to_mail_sessions_admin_contact:page_1" +features[variable][] = "views_send_to_mail_sessions_admin_contact:page_2" +features[variable][] = "views_send_to_mail_sessions_admin_contact:page_3" +features[variable][] = "views_send_to_mail_sessions_admin_contact:page_4" +features[variable][] = "views_send_to_mail_sessions_admin_contact:page_5" +features[variable][] = "views_send_to_mail_sessions_admin_contact:page_6" +features[variable][] = "views_send_to_name_sessions_admin_contact:page_1" +features[variable][] = "views_send_to_name_sessions_admin_contact:page_2" +features[variable][] = "views_send_to_name_sessions_admin_contact:page_3" +features[variable][] = "views_send_to_name_sessions_admin_contact:page_4" +features[variable][] = "views_send_to_name_sessions_admin_contact:page_5" +features[variable][] = "views_send_to_name_sessions_admin_contact:page_6" features[views][] = "cod_schedule" features[views][] = "sessions" features[views][] = "sessions_admin" +features[views][] = "sessions_admin_contact" +features[views][] = "sessions_speaker_confirmation" features[views_api][] = "api:2" name = "COD Session" package = "COD" diff --git a/cod_session/cod_session.module b/cod_session/cod_session.module index 38e733f..0db80af 100644 --- a/cod_session/cod_session.module +++ b/cod_session/cod_session.module @@ -14,6 +14,30 @@ function cod_session_theme() { ); } + +/** + * Implementation of hook_link_alter(). + */ +function cod_session_link_alter($links, $node, $comment = NULL) { + global $user; + if (!empty($links['flag-session_confirm'])) { + $presenter = FALSE; + // Only display the session confirmation flag for sessions that are + // accepted and scheduled, and the current user is one of + // the session's speakers. + if ($node->field_accepted[0]['value'] == 1 && !empty($node->field_session_room[0]['nid']) && !empty($node->field_session_slot[0]['nid'])) { + foreach ($node->field_speakers as $key => $value) { + if ($value['uid'] == $user->uid) { + $presenter = TRUE; + } + } + } + if (!$presenter) { + unset($links['flag-session_confirm']); + } + } +} + /** * Implementation of hook_nodeapi(). */ diff --git a/cod_session/cod_session.pages_default.inc b/cod_session/cod_session.pages_default.inc new file mode 100644 index 0000000..ce05547 --- /dev/null +++ b/cod_session/cod_session.pages_default.inc @@ -0,0 +1,108 @@ +disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ + $handler->api_version = 1; + $handler->name = 'user_view_panel_context'; + $handler->task = 'user_view'; + $handler->subtask = ''; + $handler->handler = 'panel_context'; + $handler->weight = 0; + $handler->conf = array( + 'title' => 'User profile', + 'no_blocks' => 0, + 'pipeline' => 'standard', + 'css_id' => '', + 'css' => '', + 'contexts' => array(), + 'relationships' => array(), + ); + $display = new panels_display; + $display->layout = 'onecol'; + $display->layout_settings = array(); + $display->panel_settings = array( + 'style_settings' => array( + 'default' => NULL, + 'top_left' => NULL, + 'top_right' => NULL, + 'mid_left' => NULL, + 'mid_right' => NULL, + 'bottom' => NULL, + 'left' => NULL, + 'right' => NULL, + 'middle' => NULL, + ), + ); + $display->cache = array(); + $display->title = ''; + $display->content = array(); + $display->panels = array(); + $pane = new stdClass; + $pane->pid = 'new-1'; + $pane->panel = 'middle'; + $pane->type = 'views_panes'; + $pane->subtype = 'sessions_speaker_confirmation-panel_pane_1'; + $pane->shown = TRUE; + $pane->access = array( + 'plugins' => array( + 0 => array( + 'name' => 'compare_users', + 'settings' => array( + 'equality' => '1', + ), + 'context' => array( + 0 => 'argument_uid_1', + 1 => 'logged-in-user', + ), + 'not' => FALSE, + ), + ), + ); + $pane->configuration = array( + 'context' => array( + 0 => 'argument_uid_1', + ), + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-1'] = $pane; + $display->panels['middle'][0] = 'new-1'; + $pane = new stdClass; + $pane->pid = 'new-2'; + $pane->panel = 'middle'; + $pane->type = 'user_profile'; + $pane->subtype = 'user_profile'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'context' => 'argument_uid_1', + 'override_title' => 0, + 'override_title_text' => '', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 1; + $display->content['new-2'] = $pane; + $display->panels['middle'][1] = 'new-2'; + $display->hide_title = PANELS_TITLE_FIXED; + $display->title_pane = '0'; + $handler->conf['display'] = $display; + $export['user_view_panel_context'] = $handler; + + return $export; +} diff --git a/cod_session/cod_session.strongarm.inc b/cod_session/cod_session.strongarm.inc index 463316b..fa9d103 100644 --- a/cod_session/cod_session.strongarm.inc +++ b/cod_session/cod_session.strongarm.inc @@ -432,5 +432,292 @@ function cod_session_strongarm() { $strongarm->value = 'sessions/[title-raw]'; $export['pathauto_node_session_pattern'] = $strongarm; + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_from_mail_sessions_admin_contact:page_2'; + $strongarm->value = 'ezra@growingventuresolutions.com'; + $export['views_send_from_mail_sessions_admin_contact:page_2'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_from_mail_sessions_admin_contact:page_4'; + $strongarm->value = 'ezra@growingventuresolutions.com'; + $export['views_send_from_mail_sessions_admin_contact:page_4'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_from_mail_sessions_admin_contact:page_5'; + $strongarm->value = 'ezra@growingventuresolutions.com'; + $export['views_send_from_mail_sessions_admin_contact:page_5'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_from_name_sessions_admin_contact:page_2'; + $strongarm->value = 'COD 5'; + $export['views_send_from_name_sessions_admin_contact:page_2'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_from_name_sessions_admin_contact:page_4'; + $strongarm->value = 'COD 5'; + $export['views_send_from_name_sessions_admin_contact:page_4'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_from_name_sessions_admin_contact:page_5'; + $strongarm->value = 'COD 5'; + $export['views_send_from_name_sessions_admin_contact:page_5'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_message_sessions_admin_contact:page_1'; + $strongarm->value = 'Hello [views-send-users_node_data_field_speakers_profile_values_profile_first_value], + +Thank you for proposing the session session, "[views-send-node_title]". + +We are happy to inform you that your session has been accepted for the conference. + +Please confirm that you are able to present this session at the scheduled date and time by visiting [site-url]/user . + +Thanks! + +Conference organizing team'; + $export['views_send_message_sessions_admin_contact:page_1'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_message_sessions_admin_contact:page_2'; + $strongarm->value = 'Thank you for proposing the session session, "[views-send-node_title]". + +We are happy to inform you that your session has been accepted for the conference. + +Please confirm that you are able to present this session at the scheduled date and time by visiting [site-url]user . + +Thanks! + +Conference organizing team'; + $export['views_send_message_sessions_admin_contact:page_2'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_message_sessions_admin_contact:page_3'; + $strongarm->value = 'Hello [views-send-users_node_data_field_speakers_profile_values_profile_first_value], + +Thank you for proposing the session session, "[views-send-node_title]". + +Unfortunately, we are unable to offer you a spot to present at the conference. We thank you for your submission and hope that you\'ll submit a proposal in the future. + +Thanks, + +Conference organizing team'; + $export['views_send_message_sessions_admin_contact:page_3'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_message_sessions_admin_contact:page_4'; + $strongarm->value = 'Hello [views-send-users_node_data_field_speakers_profile_values_profile_first_value], + +Thank you for submitting the session proposal titled, "[views-send-node_title]". + +We are reviewing session proposals and will let you know whether your session has been accepted by (date). + +Thanks, + +Conference organizing team'; + $export['views_send_message_sessions_admin_contact:page_4'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_message_sessions_admin_contact:page_5'; + $strongarm->value = 'Thank you for proposing the session session, "[views-send-node_title]". + +We are happy to inform you that your session has been accepted for the conference. + +Please confirm that you are able to present this session at the scheduled date and time by visiting [site-url]user . + +Thanks! + +Conference organizing team'; + $export['views_send_message_sessions_admin_contact:page_5'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_remember_sessions_admin_contact:page_1'; + $strongarm->value = 1; + $export['views_send_remember_sessions_admin_contact:page_1'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_remember_sessions_admin_contact:page_2'; + $strongarm->value = 1; + $export['views_send_remember_sessions_admin_contact:page_2'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_remember_sessions_admin_contact:page_3'; + $strongarm->value = 1; + $export['views_send_remember_sessions_admin_contact:page_3'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_remember_sessions_admin_contact:page_4'; + $strongarm->value = 1; + $export['views_send_remember_sessions_admin_contact:page_4'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_remember_sessions_admin_contact:page_5'; + $strongarm->value = 1; + $export['views_send_remember_sessions_admin_contact:page_5'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_remember_sessions_admin_contact:page_6'; + $strongarm->value = 1; + $export['views_send_remember_sessions_admin_contact:page_6'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_subject_sessions_admin_contact:page_1'; + $strongarm->value = 'Your Session Submission'; + $export['views_send_subject_sessions_admin_contact:page_1'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_subject_sessions_admin_contact:page_2'; + $strongarm->value = 'Presenter confirmation'; + $export['views_send_subject_sessions_admin_contact:page_2'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_subject_sessions_admin_contact:page_3'; + $strongarm->value = 'Your session submission'; + $export['views_send_subject_sessions_admin_contact:page_3'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_subject_sessions_admin_contact:page_4'; + $strongarm->value = 'Your session submission'; + $export['views_send_subject_sessions_admin_contact:page_4'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_subject_sessions_admin_contact:page_5'; + $strongarm->value = 'Please confirm your session'; + $export['views_send_subject_sessions_admin_contact:page_5'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_subject_sessions_admin_contact:page_6'; + $strongarm->value = 'Thanks for confirming your session'; + $export['views_send_subject_sessions_admin_contact:page_6'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_mail_sessions_admin_contact:page_1'; + $strongarm->value = 'users_node_data_field_speakers_mail'; + $export['views_send_to_mail_sessions_admin_contact:page_1'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_mail_sessions_admin_contact:page_2'; + $strongarm->value = 'users_node_data_field_speakers_mail'; + $export['views_send_to_mail_sessions_admin_contact:page_2'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_mail_sessions_admin_contact:page_3'; + $strongarm->value = 'users_node_data_field_speakers_mail'; + $export['views_send_to_mail_sessions_admin_contact:page_3'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_mail_sessions_admin_contact:page_4'; + $strongarm->value = 'users_node_data_field_speakers_mail'; + $export['views_send_to_mail_sessions_admin_contact:page_4'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_mail_sessions_admin_contact:page_5'; + $strongarm->value = 'users_node_data_field_speakers_mail'; + $export['views_send_to_mail_sessions_admin_contact:page_5'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_mail_sessions_admin_contact:page_6'; + $strongarm->value = 'users_node_data_field_speakers_mail'; + $export['views_send_to_mail_sessions_admin_contact:page_6'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_name_sessions_admin_contact:page_1'; + $strongarm->value = 'users_node_data_field_speakers_profile_values_profile_last_value'; + $export['views_send_to_name_sessions_admin_contact:page_1'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_name_sessions_admin_contact:page_2'; + $strongarm->value = 'users_node_data_field_speakers_profile_values_profile_last_value'; + $export['views_send_to_name_sessions_admin_contact:page_2'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_name_sessions_admin_contact:page_3'; + $strongarm->value = 'users_node_data_field_speakers_profile_values_profile_last_value'; + $export['views_send_to_name_sessions_admin_contact:page_3'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_name_sessions_admin_contact:page_4'; + $strongarm->value = 'users_node_data_field_speakers_profile_values_profile_last_value'; + $export['views_send_to_name_sessions_admin_contact:page_4'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_name_sessions_admin_contact:page_5'; + $strongarm->value = 'users_node_data_field_speakers_profile_values_profile_last_value'; + $export['views_send_to_name_sessions_admin_contact:page_5'] = $strongarm; + + $strongarm = new stdClass; + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'views_send_to_name_sessions_admin_contact:page_6'; + $strongarm->value = 'users_node_data_field_speakers_profile_values_profile_last_value'; + $export['views_send_to_name_sessions_admin_contact:page_6'] = $strongarm; + return $export; } diff --git a/cod_session/cod_session.views_default.inc b/cod_session/cod_session.views_default.inc index d0f0211..76854d4 100644 --- a/cod_session/cod_session.views_default.inc +++ b/cod_session/cod_session.views_default.inc @@ -2948,5 +2948,1321 @@ function cod_session_views_default_views() { $views[$view->name] = $view; + // Exported view: sessions_admin_contact + $view = new view; + $view->name = 'sessions_admin_contact'; + $view->description = 'Session organizing View'; + $view->tag = 'cod session'; + $view->view_php = ''; + $view->base_table = 'node'; + $view->is_cacheable = FALSE; + $view->api_version = 2; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + $handler = $view->new_display('default', 'Defaults', 'default'); + $handler->override_option('relationships', array( + 'field_speakers_uid' => array( + 'label' => 'speaker(s)', + 'required' => 1, + 'delta' => '-1', + 'id' => 'field_speakers_uid', + 'table' => 'node_data_field_speakers', + 'field' => 'field_speakers_uid', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + ), + )); + $handler->override_option('fields', array( + 'counter' => array( + 'label' => 'Row #', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'counter_start' => '1', + 'exclude' => 0, + 'id' => 'counter', + 'table' => 'views', + 'field' => 'counter', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + ), + 'nid' => array( + 'label' => 'ID', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_node' => 0, + 'exclude' => 0, + 'id' => 'nid', + 'table' => 'node', + 'field' => 'nid', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + ), + 'title' => array( + 'label' => 'Title', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_node' => 1, + 'exclude' => 0, + 'id' => 'title', + 'table' => 'node', + 'field' => 'title', + 'relationship' => 'none', + 'override' => array( + 'button' => 'Override', + ), + ), + 'value' => array( + 'label' => 'First name', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_user' => 0, + 'exclude' => 0, + 'id' => 'value', + 'table' => 'profile_values_profile_first', + 'field' => 'value', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'field_speakers_uid', + ), + 'value_1' => array( + 'label' => 'Full name', + 'alter' => array( + 'alter_text' => 1, + 'text' => '[value] [value_1]', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_user' => 0, + 'exclude' => 0, + 'id' => 'value_1', + 'table' => 'profile_values_profile_last', + 'field' => 'value', + 'relationship' => 'field_speakers_uid', + 'override' => array( + 'button' => 'Override', + ), + ), + 'name' => array( + 'label' => 'Username', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_user' => 1, + 'overwrite_anonymous' => 0, + 'anonymous_text' => '', + 'exclude' => 0, + 'id' => 'name', + 'table' => 'users', + 'field' => 'name', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'field_speakers_uid', + ), + 'mail' => array( + 'label' => 'E-mail', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_user' => '0', + 'exclude' => 0, + 'id' => 'mail', + 'table' => 'users', + 'field' => 'mail', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'field_speakers_uid', + ), + 'field_speakers_uid' => array( + 'label' => 'speakers', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_node' => 0, + 'label_type' => 'custom', + 'format' => 'default', + 'multiple' => array( + 'group' => 1, + 'multiple_number' => '5', + 'multiple_from' => '0', + 'multiple_reversed' => 0, + ), + 'exclude' => 0, + 'id' => 'field_speakers_uid', + 'table' => 'node_data_field_speakers', + 'field' => 'field_speakers_uid', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + ), + )); + $handler->override_option('sorts', array( + 'nid' => array( + 'order' => 'ASC', + 'id' => 'nid', + 'table' => 'node', + 'field' => 'nid', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + ), + )); + $handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'session' => 'session', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), + 'field_accepted_value_many_to_one' => array( + 'operator' => 'or', + 'value' => array( + '1' => '1', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => 'field_accepted_value_many_to_one_op', + 'label' => 'by status:', + 'use_operator' => 0, + 'identifier' => 'status', + 'optional' => 1, + 'single' => 1, + 'remember' => 0, + 'reduce' => 1, + ), + 'id' => 'field_accepted_value_many_to_one', + 'table' => 'node_data_field_accepted', + 'field' => 'field_accepted_value_many_to_one', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + 'field_session_room_nid' => array( + 'id' => 'field_session_room_nid', + 'table' => 'node_data_field_session_room', + 'field' => 'field_session_room_nid', + ), + )); + $handler->override_option('access', array( + 'type' => 'perm', + 'perm' => 'edit field_accepted', + )); + $handler->override_option('cache', array( + 'type' => 'none', + )); + $handler->override_option('title', 'General speaker mail'); + $handler->override_option('css_class', 'view-grouped-list sessions-list'); + $handler->override_option('header_format', '1'); + $handler->override_option('header_empty', 0); + $handler->override_option('empty', 'No speakers exist for the filters you\'ve set. Select another filter or "Reset" to return to the default list.'); + $handler->override_option('empty_format', '1'); + $handler->override_option('items_per_page', 130); + $handler->override_option('use_pager', '1'); + $handler->override_option('link_display', 'page_1'); + $handler->override_option('distinct', 0); + $handler->override_option('style_plugin', 'bulk'); + $handler->override_option('style_options', array( + 'grouping' => '', + 'override' => 1, + 'sticky' => 0, + 'order' => 'asc', + 'columns' => array( + 'counter' => 'counter', + 'nid' => 'nid', + 'title' => 'title', + 'name' => 'name', + 'mail' => 'mail', + 'timestamp' => 'timestamp', + 'field_slides_fid' => 'field_slides_fid', + 'signup_time' => 'signup_time', + ), + 'info' => array( + 'counter' => array( + 'separator' => '', + ), + 'nid' => array( + 'sortable' => 1, + 'separator' => '', + ), + 'title' => array( + 'sortable' => 1, + 'separator' => '', + ), + 'name' => array( + 'sortable' => 1, + 'separator' => '', + ), + 'mail' => array( + 'sortable' => 1, + 'separator' => '', + ), + 'timestamp' => array( + 'sortable' => 1, + 'separator' => '', + ), + 'field_slides_fid' => array( + 'separator' => '', + ), + 'signup_time' => array( + 'sortable' => 1, + 'separator' => '', + ), + ), + 'default' => '-1', + 'execution_type' => '1', + 'display_type' => '1', + 'hide_select_all' => 0, + 'skip_confirmation' => 0, + 'display_result' => 1, + 'merge_single_action' => 1, + 'selected_operations' => array( + 'views_send_mail_action' => 'views_send_mail_action', + 'flag_nodes:23ecc3b6faf0f1e191b7b802fb7e3198' => 0, + 'nodequeue_add_action' => 0, + 'flag_nodes:1980f2a3af0b5c3577850d4ba2600405' => 0, + 'flag_nodes:65d3c82531aa7bd219cfda707fc86182' => 0, + 'node_assign_owner_action' => 0, + 'views_bulk_operations_delete_node_action' => 0, + 'node_mass_update:a27b9efabcd054685a549378b174ad11' => 0, + 'system_message_action' => 0, + 'views_bulk_operations_action' => 0, + 'views_bulk_operations_script_action' => 0, + 'flag_nodes:aa4891376f34d2c56266ae31f7642e78' => 0, + 'node_make_sticky_action' => 0, + 'node_make_unsticky_action' => 0, + 'node_mass_update:c4d3b28efb86fd703619a50b74d43794' => 0, + 'views_bulk_operations_fields_action' => 0, + 'views_bulk_operations_taxonomy_action' => 0, + 'views_bulk_operations_argument_selector_action' => 0, + 'node_promote_action' => 0, + 'node_mass_update:14de7d028b4bffdf2b4a266562ca18ac' => 0, + 'node_mass_update:9c585624b9b3af0b4687d5f97f35e047' => 0, + 'node_publish_action' => 0, + 'system_goto_action' => 0, + 'flag_nodes:aef03798d09d56ae0af7837a63516fb5' => 0, + 'nodequeue_remove_action' => 0, + 'node_unpromote_action' => 0, + 'node_mass_update:8ce21b08bb8e773d10018b484fe4815e' => 0, + 'node_save_action' => 0, + 'system_send_email_action' => 0, + 'flag_nodes:76e4c513dfadc798e2eb84ad0a677401' => 0, + 'node_mass_update:0ccad85c1ebe4c9ceada1aa64293b080' => 0, + 'node_unpublish_action' => 0, + 'node_unpublish_by_keyword_action' => 0, + 'auto_nodetitle_operations_update' => 0, + 'pathauto_node_update_alias_multiple:620e193b20ba9caa374fea9ca0ad38f0' => 0, + ), + 'views_bulk_operations_fields_action' => array( + 'php_code' => 0, + 'display_fields' => array( + '_all_' => '_all_', + ), + ), + )); + $handler->override_option('row_options', array( + 'inline' => array( + 'field_speakers_uid' => 'field_speakers_uid', + ), + 'separator' => ', ', + 'hide_empty' => 0, + )); + $handler = $view->new_display('page', 'Accepted sessions', 'page_1'); + $handler->override_option('sorts', array( + 'nid' => array( + 'order' => 'ASC', + 'id' => 'nid', + 'table' => 'node', + 'field' => 'nid', + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + ), + )); + $handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'session' => 'session', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), + 'field_accepted_value_many_to_one' => array( + 'operator' => 'or', + 'value' => array( + '1' => '1', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => 'field_accepted_value_many_to_one_op', + 'label' => 'by status:', + 'use_operator' => 0, + 'identifier' => 'status', + 'optional' => 1, + 'single' => 1, + 'remember' => 0, + 'reduce' => 1, + ), + 'id' => 'field_accepted_value_many_to_one', + 'table' => 'node_data_field_accepted', + 'field' => 'field_accepted_value_many_to_one', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + 'field_session_room_nid' => array( + 'operator' => 'empty', + 'value' => array(), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'field_session_room_nid', + 'table' => 'node_data_field_session_room', + 'field' => 'field_session_room_nid', + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + )); + $handler->override_option('title', 'Email speakers of accepted sessions'); + $handler->override_option('header', 'Each speaker will receive one email per accepted session submission. Note: Only sessions that have not yet been scheduled are displayed here.'); + $handler->override_option('header_empty', 1); + $handler->override_option('path', 'conference-admin/contact-speakers/accepted'); + $handler->override_option('menu', array( + 'type' => 'tab', + 'title' => 'Accepted', + 'description' => '', + 'weight' => '1', + 'name' => 'menu-conference-admin', + )); + $handler->override_option('tab_options', array( + 'type' => 'normal', + 'title' => 'Sessions', + 'description' => '', + 'weight' => '0', + 'name' => 'menu-conference-admin', + )); + $handler = $view->new_display('page', 'Declined sessions', 'page_3'); + $handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'session' => 'session', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), + 'field_accepted_value_many_to_one' => array( + 'operator' => 'or', + 'value' => array( + '2' => '2', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => 'field_accepted_value_many_to_one_op', + 'label' => 'by status:', + 'use_operator' => 0, + 'identifier' => 'status', + 'optional' => 1, + 'single' => 1, + 'remember' => 0, + 'reduce' => 1, + ), + 'id' => 'field_accepted_value_many_to_one', + 'table' => 'node_data_field_accepted', + 'field' => 'field_accepted_value_many_to_one', + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + )); + $handler->override_option('title', 'Email speakers of declined sessions'); + $handler->override_option('header', 'Each speaker will receive one email per declined session submission.'); + $handler->override_option('header_empty', 1); + $handler->override_option('path', 'conference-admin/contact-speakers/declined'); + $handler->override_option('menu', array( + 'type' => 'tab', + 'title' => 'Declined', + 'description' => '', + 'weight' => '-8', + 'name' => 'menu-conference-admin', + )); + $handler->override_option('tab_options', array( + 'type' => 'none', + 'title' => '', + 'description' => '', + 'weight' => 0, + 'name' => 'navigation', + )); + $handler = $view->new_display('page', 'Unprocessed sessions', 'page_4'); + $handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'session' => 'session', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), + 'field_accepted_value_many_to_one' => array( + 'operator' => 'not', + 'value' => array( + '1' => '1', + '2' => '2', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => 'field_accepted_value_many_to_one_op', + 'label' => 'by status:', + 'use_operator' => 0, + 'identifier' => 'status', + 'optional' => 1, + 'single' => 1, + 'remember' => 0, + 'reduce' => 1, + ), + 'id' => 'field_accepted_value_many_to_one', + 'table' => 'node_data_field_accepted', + 'field' => 'field_accepted_value_many_to_one', + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + 'field_session_room_nid' => array( + 'id' => 'field_session_room_nid', + 'table' => 'node_data_field_session_room', + 'field' => 'field_session_room_nid', + ), + )); + $handler->override_option('title', 'Email speakers of unprocessed sessions.'); + $handler->override_option('header', 'Each speaker will receive one email per unprocessed session submission.'); + $handler->override_option('header_empty', 1); + $handler->override_option('path', 'conference-admin/contact-speakers/unprocessed'); + $handler->override_option('menu', array( + 'type' => 'default tab', + 'title' => 'Unprocessed', + 'description' => '', + 'weight' => '-9', + 'name' => 'menu-conference-admin', + )); + $handler->override_option('tab_options', array( + 'type' => 'normal', + 'title' => 'Contact speakers', + 'description' => '', + 'weight' => '0', + 'name' => 'menu-conference-admin', + )); + $handler = $view->new_display('page', 'All scheduled', 'page_2'); + $handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'session' => 'session', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), + 'field_accepted_value_many_to_one' => array( + 'operator' => 'or', + 'value' => array( + '1' => '1', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => 'field_accepted_value_many_to_one_op', + 'label' => 'by status:', + 'use_operator' => 0, + 'identifier' => 'status', + 'optional' => 1, + 'single' => 1, + 'remember' => 0, + 'reduce' => 1, + ), + 'id' => 'field_accepted_value_many_to_one', + 'table' => 'node_data_field_accepted', + 'field' => 'field_accepted_value_many_to_one', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + 'field_session_room_nid' => array( + 'operator' => 'not empty', + 'value' => array(), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'field_session_room_nid', + 'table' => 'node_data_field_session_room', + 'field' => 'field_session_room_nid', + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + )); + $handler->override_option('title', 'Email all speakers of scheduled sessions'); + $handler->override_option('header', 'Each speaker will receive one email per scheduled session.'); + $handler->override_option('header_empty', 1); + $handler->override_option('path', 'conference-admin/contact-speakers/all-scheduled'); + $handler->override_option('menu', array( + 'type' => 'tab', + 'title' => 'Scheduled', + 'description' => '', + 'weight' => '3', + 'name' => 'navigation', + )); + $handler->override_option('tab_options', array( + 'type' => 'none', + 'title' => '', + 'description' => '', + 'weight' => 0, + 'name' => 'navigation', + )); + $handler = $view->new_display('page', 'Unconfirmed speakers', 'page_5'); + $handler->override_option('relationships', array( + 'field_speakers_uid' => array( + 'label' => 'speaker(s)', + 'required' => 1, + 'delta' => '-1', + 'id' => 'field_speakers_uid', + 'table' => 'node_data_field_speakers', + 'field' => 'field_speakers_uid', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + ), + 'flag_content_rel' => array( + 'label' => 'flag', + 'required' => 0, + 'flag' => 'session_confirm', + 'user_scope' => 'any', + 'id' => 'flag_content_rel', + 'table' => 'node', + 'field' => 'flag_content_rel', + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + ), + )); + $handler->override_option('filters', array( + 'type' => array( + 'operator' => 'in', + 'value' => array( + 'session' => 'session', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'type', + 'table' => 'node', + 'field' => 'type', + 'relationship' => 'none', + ), + 'status' => array( + 'operator' => '=', + 'value' => '1', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'status', + 'table' => 'node', + 'field' => 'status', + 'relationship' => 'none', + ), + 'field_accepted_value_many_to_one' => array( + 'operator' => 'or', + 'value' => array( + '1' => '1', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => 'field_accepted_value_many_to_one_op', + 'label' => 'by status:', + 'use_operator' => 0, + 'identifier' => 'status', + 'optional' => 1, + 'single' => 1, + 'remember' => 0, + 'reduce' => 1, + ), + 'id' => 'field_accepted_value_many_to_one', + 'table' => 'node_data_field_accepted', + 'field' => 'field_accepted_value_many_to_one', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + 'field_session_room_nid' => array( + 'id' => 'field_session_room_nid', + 'table' => 'node_data_field_session_room', + 'field' => 'field_session_room_nid', + ), + 'flagged' => array( + 'operator' => '=', + 'value' => '0', + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'flagged', + 'table' => 'flag_content', + 'field' => 'flagged', + 'relationship' => 'flag_content_rel', + 'override' => array( + 'button' => 'Use default', + ), + ), + )); + $handler->override_option('title', 'Unconfirmed speakers'); + $handler->override_option('path', 'conference-admin/contact-speakers/scheduled-unconfirmed'); + $handler->override_option('menu', array( + 'type' => 'tab', + 'title' => 'Unconfirmed', + 'description' => '', + 'weight' => '4', + 'name' => 'navigation', + )); + $handler->override_option('tab_options', array( + 'type' => 'none', + 'title' => '', + 'description' => '', + 'weight' => 0, + 'name' => 'navigation', + )); + $handler = $view->new_display('page', 'Confirmed speakers', 'page_6'); + $handler->override_option('relationships', array( + 'field_speakers_uid' => array( + 'label' => 'speaker(s)', + 'required' => 1, + 'delta' => '-1', + 'id' => 'field_speakers_uid', + 'table' => 'node_data_field_speakers', + 'field' => 'field_speakers_uid', + 'override' => array( + 'button' => 'Override', + ), + 'relationship' => 'none', + ), + 'flag_content_rel' => array( + 'label' => 'flag', + 'required' => 1, + 'flag' => 'session_confirm', + 'user_scope' => 'any', + 'id' => 'flag_content_rel', + 'table' => 'node', + 'field' => 'flag_content_rel', + 'override' => array( + 'button' => 'Use default', + ), + 'relationship' => 'none', + ), + )); + $handler->override_option('title', 'Confirmed speakers'); + $handler->override_option('header', 'Speakers listed here have confirmed that they are able to present at the scheduled date and time.'); + $handler->override_option('header_empty', 1); + $handler->override_option('empty', 'There are no confirmed session speakers.'); + $handler->override_option('path', 'conference-admin/contact-speakers/scheduled-confirmed'); + $handler->override_option('menu', array( + 'type' => 'tab', + 'title' => 'Confirmed', + 'description' => '', + 'weight' => '5', + 'name' => 'navigation', + )); + $handler->override_option('tab_options', array( + 'type' => 'none', + 'title' => '', + 'description' => '', + 'weight' => 0, + 'name' => 'navigation', + )); + + $views[$view->name] = $view; + + // Exported view: sessions_speaker_confirmation + $view = new view; + $view->name = 'sessions_speaker_confirmation'; + $view->description = 'Your sessions'; + $view->tag = ''; + $view->view_php = ''; + $view->base_table = 'node'; + $view->is_cacheable = FALSE; + $view->api_version = 2; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + $handler = $view->new_display('default', 'Defaults', 'default'); + $handler->override_option('relationships', array( + 'flag_content_rel' => array( + 'label' => 'flag', + 'required' => 0, + 'flag' => 'session_confirm', + 'user_scope' => 'current', + 'id' => 'flag_content_rel', + 'table' => 'node', + 'field' => 'flag_content_rel', + 'relationship' => 'none', + ), + )); + $handler->override_option('fields', array( + 'title' => array( + 'label' => 'Title', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_node' => 0, + 'exclude' => 0, + 'id' => 'title', + 'table' => 'node', + 'field' => 'title', + 'relationship' => 'none', + ), + 'field_session_slot_nid' => array( + 'label' => 'Session date & time', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => '', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_to_node' => 0, + 'label_type' => 'custom', + 'format' => 'plain', + 'multiple' => array( + 'group' => TRUE, + 'multiple_number' => '', + 'multiple_from' => '', + 'multiple_reversed' => FALSE, + ), + 'exclude' => 0, + 'id' => 'field_session_slot_nid', + 'table' => 'node_data_field_session_slot', + 'field' => 'field_session_slot_nid', + 'relationship' => 'none', + 'override' => array( + 'button' => 'Override', + ), + ), + 'ops' => array( + 'label' => 'Confirmation', + 'alter' => array( + 'alter_text' => 0, + 'text' => '', + 'make_link' => 0, + 'path' => '', + 'link_class' => '', + 'alt' => '', + 'prefix' => '', + 'suffix' => '', + 'target' => '', + 'help' => '', + 'trim' => 0, + 'max_length' => '', + 'word_boundary' => 1, + 'ellipsis' => 1, + 'html' => 0, + 'strip_tags' => 0, + ), + 'empty' => 'Confirmed', + 'hide_empty' => 0, + 'empty_zero' => 0, + 'link_type' => '', + 'exclude' => 0, + 'id' => 'ops', + 'table' => 'flag_content', + 'field' => 'ops', + 'relationship' => 'flag_content_rel', + ), + )); + $handler->override_option('arguments', array( + 'field_speakers_uid' => array( + 'default_action' => 'default', + 'style_plugin' => 'default_summary', + 'style_options' => array(), + 'wildcard' => 'all', + 'wildcard_substitution' => 'All', + 'title' => '', + 'breadcrumb' => '', + 'default_argument_type' => 'current_user', + 'default_argument' => '', + 'validate_type' => 'user', + 'validate_fail' => 'not found', + 'break_phrase' => 0, + 'not' => 0, + 'id' => 'field_speakers_uid', + 'table' => 'node_data_field_speakers', + 'field' => 'field_speakers_uid', + 'validate_user_argument_type' => 'either', + 'validate_user_roles' => array( + '2' => 0, + '7' => 0, + '4' => 0, + '3' => 0, + '5' => 0, + ), + 'relationship' => 'none', + 'default_options_div_prefix' => '', + 'default_argument_fixed' => '', + 'default_argument_user' => 0, + 'default_argument_php' => '', + 'validate_argument_node_type' => array( + 'news' => 0, + 'room' => 0, + 'schedule_item' => 0, + 'session' => 0, + 'time_slot' => 0, + 'sponsor' => 0, + 'product' => 0, + 'event' => 0, + 'sf2011_home_highlight' => 0, + 'page' => 0, + 'tshirt_design' => 0, + ), + 'validate_argument_node_access' => 0, + 'validate_argument_nid_type' => 'nid', + 'validate_argument_vocabulary' => array(), + 'validate_argument_type' => 'tid', + 'validate_argument_transform' => 0, + 'validate_user_restrict_roles' => 0, + 'validate_argument_node_flag_name' => '*relationship*', + 'validate_argument_node_flag_test' => 'flaggable', + 'validate_argument_node_flag_id_type' => 'id', + 'validate_argument_user_flag_name' => '*relationship*', + 'validate_argument_user_flag_test' => 'flaggable', + 'validate_argument_user_flag_id_type' => 'id', + 'validate_argument_signup_status' => 'any', + 'validate_argument_signup_node_access' => 0, + 'validate_argument_php' => '', + ), + )); + $handler->override_option('filters', array( + 'field_accepted_value_many_to_one' => array( + 'operator' => 'or', + 'value' => array( + '1' => '1', + ), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'field_accepted_value_many_to_one', + 'table' => 'node_data_field_accepted', + 'field' => 'field_accepted_value_many_to_one', + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + 'field_session_room_nid' => array( + 'operator' => 'not empty', + 'value' => array(), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'field_session_room_nid', + 'table' => 'node_data_field_session_room', + 'field' => 'field_session_room_nid', + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + 'field_session_slot_nid' => array( + 'operator' => 'not empty', + 'value' => array(), + 'group' => '0', + 'exposed' => FALSE, + 'expose' => array( + 'operator' => FALSE, + 'label' => '', + ), + 'id' => 'field_session_slot_nid', + 'table' => 'node_data_field_session_slot', + 'field' => 'field_session_slot_nid', + 'relationship' => 'none', + 'reduce_duplicates' => 0, + ), + )); + $handler->override_option('access', array( + 'type' => 'none', + )); + $handler->override_option('cache', array( + 'type' => 'none', + )); + $handler->override_option('title', 'Speaker confirmation'); + $handler->override_option('header', 'Please confirm that you are able to present at the scheduled dates and times, or contact the session organizers to reschedule or cancel.'); + $handler->override_option('header_format', '1'); + $handler->override_option('header_empty', 0); + $handler->override_option('empty_format', '1'); + $handler->override_option('style_plugin', 'table'); + $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1'); + $handler->override_option('pane_title', ''); + $handler->override_option('pane_description', ''); + $handler->override_option('pane_category', array( + 'name' => 'View panes', + 'weight' => 0, + )); + $handler->override_option('allow', array( + 'use_pager' => FALSE, + 'items_per_page' => FALSE, + 'offset' => FALSE, + 'link_to_view' => FALSE, + 'more_link' => FALSE, + 'path_override' => FALSE, + 'title_override' => FALSE, + 'exposed_form' => FALSE, + 'fields_override' => FALSE, + )); + $handler->override_option('argument_input', array( + 'field_speakers_uid' => array( + 'type' => 'context', + 'context' => 'user.uid', + 'context_optional' => 0, + 'panel' => '0', + 'fixed' => '', + 'label' => 'Content: speaker(s) (field_speakers)', + ), + )); + $handler->override_option('link_to_view', 0); + $handler->override_option('inherit_panels_path', 0); + + $views[$view->name] = $view; + return $views; }