Skip to content

Commit

Permalink
Added help buttons, removed ambiguous participants entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawhero committed Feb 3, 2006
1 parent 0f995ab commit 31c1f1c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions mod/data/mod.html
Expand Up @@ -163,9 +163,9 @@
$a->teachers = $course->teachers;
$a->students = $course->students;
$options = array(PARTICIPANTS_T => $a->teachers,
PARTICIPANTS_S => $a->students,
PARTICIPANTS_TS => get_string('teachersandstudents', 'data', $a));
choose_from_menu($options, 'participants', $form->participants, '');
helpbutton('participants', get_string('participants', 'data'), 'data');
?>
</td>
</tr>
Expand All @@ -178,21 +178,29 @@
$countoptions = array();
for($count=1;$count<=DATAMAXENTRIES;$count++) $countoptions[$count] = $count;
choose_from_menu($countoptions, 'requiredentries', $form->requiredentries, get_string('none'));
helpbutton('requiredentries', get_string('requiredentries', 'data'), 'data');
?>
</td>
</tr>

<tr valign="top">
<td>&nbsp;</td>
<td><b><?php print_string('requiredentriestoview', 'data') ?>: </b>
<?php choose_from_menu($countoptions, 'requiredentriestoview', $form->requiredentriestoview, get_string('none')) ?>
<?php
choose_from_menu($countoptions, 'requiredentriestoview', $form->requiredentriestoview, get_string('none'));
helpbutton('requiredentriestoview', get_string('requiredentriestoview', 'data'), 'data');
?>
</td>
</tr>


<tr valign="top">
<td align="right"><b><?php print_string('maxentries', 'data') ?>:</b></td>
<td><?php choose_from_menu($countoptions, 'maxentries', $form->maxentries, get_string('nomaximum', 'data')) ?>
<td>
<?php
choose_from_menu($countoptions, 'maxentries', $form->maxentries, get_string('nomaximum', 'data'));
helpbutton('maxentries', get_string('maxentries', 'data'), 'data');
?>
</td>
</tr>

Expand All @@ -203,6 +211,7 @@
<?php
$ynoptions = array( 0 => get_string('no'), 1 => get_string('yes'));
choose_from_menu($ynoptions, 'comments', $form->comments, '');
helpbutton('comments', get_string('comments', 'data'), 'data');
?>
</td>
</tr>
Expand Down

0 comments on commit 31c1f1c

Please sign in to comment.