Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
description attached to forms
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaifieraru committed Feb 26, 2014
1 parent 078be10 commit e2ba97a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions sites/all/modules/course_creation/course_creation.module
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ function course_creation_form($form,&$form_submit, $variable){

$form['members_to_add'] = array(
'#title' => t("Add students to ".$course_name),
'#description' => "These students have requested membership to your course. To accept them, check the respective boxes and press Add.",
'#type' => 'checkboxes',
'#options' => $memb_options,
);
Expand Down Expand Up @@ -1344,6 +1345,7 @@ function course_creation_form2($form,&$form_submit, $variable){

$form['tas_to_remove'] = array(
'#title' => t("Remove TAs from ".$course_name),
'#description' => "These students are TAs for your course. You can remove them by checking the respective boxes and then pressing Remove TA.",
'#type' => 'checkboxes',
'#options' => $tas_to_remove,
'#weight' => 1,
Expand All @@ -1363,6 +1365,7 @@ function course_creation_form2($form,&$form_submit, $variable){

$form['ta_to_add'] = array(
'#title' => t("<br><br>Add TA to ".$course_name),
'#description' => "Please type in the username of the TA.",
'#type' => 'textfield',
'#size' => 30,
'#maxlength' => 60,
Expand Down
4 changes: 3 additions & 1 deletion sites/all/modules/ldap_course_sync/ldap_course_sync.module
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ function ldap_course_sync_form($form,&$form_submit, $variable){

$form['members_to_add'] = array(
'#title' => t("Add students to ".$course_name),
'#description' => "These students are registered to your course according to the Jacobs LDAP database and are not part of your group yet. You can add them by checking the respective boxes and pressing the Add button",
'#type' => 'checkboxes',
'#options' => $memb_options,
'#weight' => 9,
Expand Down Expand Up @@ -218,7 +219,8 @@ function ldap_course_sync_form($form,&$form_submit, $variable){


$form['members_to_remove'] = array(
'#title' => t("Remove students from ".$course_name),
'#title' => "<br><br>".t("Remove students from ".$course_name),
'#description' => "These students are NOT registered to your course anymore. You can remove them by checking the respective boxes and pressing the Remove button",
'#type' => 'checkboxes',
'#options' => $memb_options,
'#weight' => 13,
Expand Down

0 comments on commit e2ba97a

Please sign in to comment.