Guest User

Untitled

a guest
Dec 11th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.11 KB | None | 0 0
  1. <?php
  2. /**
  3. * @file
  4. * siam_team_profile.field_group.inc
  5. */
  6.  
  7. /**
  8. * Implements hook_field_group_info().
  9. */
  10. function siam_team_profile_field_group_info() {
  11. $field_groups = array();
  12.  
  13. $field_group = new stdClass();
  14. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  15. $field_group->api_version = 1;
  16. $field_group->identifier = 'group_parcon|node|team_member|form';
  17. $field_group->group_name = 'group_parcon';
  18. $field_group->entity_type = 'node';
  19. $field_group->bundle = 'team_member';
  20. $field_group->mode = 'form';
  21. $field_group->parent_name = '';
  22. $field_group->data = array(
  23. 'label' => 'Parental Consent',
  24. 'weight' => '7',
  25. 'children' => array(
  26. 0 => 'field_consent',
  27. 1 => 'field_name_of_parent',
  28. 2 => 'field_ethnicity',
  29. ),
  30. 'format_type' => 'fieldset',
  31. 'format_settings' => array(
  32. 'label' => 'Parental Consent',
  33. 'instance_settings' => array(
  34. 'required_fields' => 1,
  35. 'classes' => 'group-pconsent field-group-fieldset',
  36. 'description' => '<p><strong>The section below is to be filled out by the student’s parent or guardian.</strong></p>
  37.  
  38. <div>
  39. By agreeing to this Parent/Guardian Consent statement, I give my permission for my son/daughter to participate in <i>MATLAB Math Modeling Challenge</i>, which is funded by The MathWorks and organized and administered by the Society for Industrial and Applied Mathematics (SIAM). I give my permission to disclose his/her name and likeness in text, still pictures, and in videos, for publication in press releases, on the M3Challenge and MathWorks* websites, and in SIAM News. I also give my permission to release his/her name and likeness to any and all online or print local, regional, or national newspapers, radio and television outlets, and via any other media, including social media platforms, that seek to publicize the Challenge and its participants in any way. <br /><br />
  40.  
  41. On behalf of myself and my child, I hereby (a) waive any right or cause of action arising as a result of his/her participation in the Challenge and (b) release and discharge MathWorks and SIAM from any and all claims or causes of action (known or unknown) arising out of his/her participation in the Challenge (including, but not limited to, its or their negligence). <br /><br />
  42.  
  43. I understand that for teams proceeding to the final competition process, the students' live presentations at the final Challenge event will be photographed and/or videotaped, and these photos and videos may be used for webcast, broadcast, posting to the M3 Challenge website, in news releases, and in the media, as well as in internal or external SIAM or MathWorks publications, online or in print, and on any SIAM or MathWorks Internet websites and digital social media presence, and I consent to any and all such use. <br /><br />
  44.  
  45. *MathWorks includes The MathWorks, Incany and all of its product lines, affiliates, subsidiaries, and their successors and assigns, and any and all of their past and present directors, officers, representatives, agents and employees, whether as individuals or in their official capacity.
  46. </div>',
  47. ),
  48. 'formatter' => 'collapsible',
  49. ),
  50. );
  51. $field_groups['group_parcon|node|team_member|form'] = $field_group;
  52.  
  53. $field_group = new stdClass();
  54. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  55. $field_group->api_version = 1;
  56. $field_group->identifier = 'group_personal|node|team_member|form';
  57. $field_group->group_name = 'group_personal';
  58. $field_group->entity_type = 'node';
  59. $field_group->bundle = 'team_member';
  60. $field_group->mode = 'form';
  61. $field_group->parent_name = '';
  62. $field_group->data = array(
  63. 'label' => 'Personal Information',
  64. 'weight' => '0',
  65. 'children' => array(
  66. 0 => 'field_first_name',
  67. 1 => 'field_gender',
  68. 2 => 'field_grade',
  69. 3 => 'field_teamail',
  70. 4 => 'title',
  71. ),
  72. 'format_type' => 'fieldset',
  73. 'format_settings' => array(
  74. 'formatter' => 'collapsible',
  75. 'instance_settings' => array(
  76. 'description' => '',
  77. 'classes' => 'group-personal field-group-fieldset',
  78. 'required_fields' => 1,
  79. ),
  80. ),
  81. );
  82. $field_groups['group_personal|node|team_member|form'] = $field_group;
  83.  
  84. // Translatables
  85. // Included for use with string extractors like potx.
  86. t('Parental Consent');
  87. t('Personal Information');
  88.  
  89. return $field_groups;
  90. }
  91.  
  92. <?php
  93. /**
  94. * @file
  95. * siam_team_profile.field_group.inc
  96. */
  97.  
  98. /**
  99. * Implements hook_field_group_info().
  100. */
  101. function siam_team_profile_field_group_info() {
  102. $field_groups = array();
  103.  
  104. $field_group = new stdClass();
  105. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  106. $field_group->api_version = 1;
  107. $field_group->identifier = 'group_parcon|node|team_member|form';
  108. $field_group->group_name = 'group_parcon';
  109. $field_group->entity_type = 'node';
  110. $field_group->bundle = 'team_member';
  111. $field_group->mode = 'form';
  112. $field_group->parent_name = '';
  113. $field_group->data = array(
  114. 'label' => 'Parental Consent',
  115. 'weight' => '7',
  116. 'children' => array(
  117. 0 => 'field_consent',
  118. 1 => 'field_name_of_parent',
  119. 2 => 'field_ethnicity',
  120. ),
  121. 'format_type' => 'fieldset',
  122. 'format_settings' => array(
  123. 'label' => 'Parental Consent',
  124. 'instance_settings' => array(
  125. 'required_fields' => 1,
  126. 'classes' => 'group-pconsent field-group-fieldset',
  127. 'description' => '<p><strong>The section below is to be filled out by the student’s parent or guardian.</strong></p>
  128.  
  129. <div>
  130. By agreeing to this Parent/Guardian Consent statement, I give my permission for my son/daughter to participate in Moody's Mega Math (M<sup>3</sup>) Challenge, which is funded by The Moody's Foundation and organized and administered by the Society for Industrial and Applied Mathematics (SIAM). I give my permission to disclose his/her name and likeness in text, still pictures, and in videos, for publication in press releases, on the M<sup>3</sup> Challenge and Moody's* websites, and in SIAM News. I also give my permission to release his/her name and likeness to any and all online or print local, regional, or national newspapers, radio and television outlets, and via any other media, including social media platforms, that seek to publicize the Challenge and its participants in any way.<br /><br />
  131.  
  132. On behalf of myself and my child, I hereby (a) waive any right or cause of action arising as a result of his/her participation in the Challenge and (b) release and discharge Moody's and SIAM from any and all claims or causes of action (known or unknown) arising out of his/her participation in the Challenge (including, but not limited to, its or their negligence).<br /><br />
  133.  
  134. I understand that for teams proceeding to the final competition process, the students' presentations at Moody's headquarters in Manhattan will be photographed and/or videotaped, and these photos and videos may be used for webcast, broadcast, posting to the M<sup>3</sup> Challenge website, in news releases, and in the media, as well as in internal or external SIAM or Moody's publications, online or in print, and on any SIAM or Moody's Internet websites, and I consent to any and all such use.<br /><br />
  135.  
  136. *Moody's includes Moody's Corporation, and any and all of its affiliates, subsidiaries, and their successors and assigns, and any and all of their past and present directors, officers, representatives, agents and employees, whether as individuals or in their official capacity.
  137. </div>',
  138. ),
  139. 'formatter' => 'collapsible',
  140. ),
  141. );
  142. $field_groups['group_parcon|node|team_member|form'] = $field_group;
  143.  
  144. $field_group = new stdClass();
  145. $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
  146. $field_group->api_version = 1;
  147. $field_group->identifier = 'group_personal|node|team_member|form';
  148. $field_group->group_name = 'group_personal';
  149. $field_group->entity_type = 'node';
  150. $field_group->bundle = 'team_member';
  151. $field_group->mode = 'form';
  152. $field_group->parent_name = '';
  153. $field_group->data = array(
  154. 'label' => 'Personal Information',
  155. 'weight' => '0',
  156. 'children' => array(
  157. 0 => 'field_first_name',
  158. 1 => 'field_gender',
  159. 2 => 'field_grade',
  160. 3 => 'field_teamail',
  161. 4 => 'title',
  162. ),
  163. 'format_type' => 'fieldset',
  164. 'format_settings' => array(
  165. 'formatter' => 'collapsible',
  166. 'instance_settings' => array(
  167. 'description' => '',
  168. 'classes' => 'group-personal field-group-fieldset',
  169. 'required_fields' => 1,
  170. ),
  171. ),
  172. );
  173. $field_groups['group_personal|node|team_member|form'] = $field_group;
  174.  
  175. // Translatables
  176. // Included for use with string extractors like potx.
  177. t('Parental Consent');
  178. t('Personal Information');
  179.  
  180. return $field_groups;
  181. }
Add Comment
Please, Sign In to add comment