Skip to content

Commit

Permalink
Don't prefix add filed with label
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Mar 25, 2006
1 parent effbd10 commit a7ee8d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mod/data/field/menu/field.class.php
Expand Up @@ -39,8 +39,7 @@ function display_add_field($recordid=0) {
$content = '';
}

$str = '<div title="'.$this->field->description.'"><table><tr><td>';
$str .= get_string('menu','data').': </td><td>';
$str = '<div title="'.$this->field->description.'">';

foreach (explode("\n",$this->field->param1) as $option) {
$option = trim($option);
Expand All @@ -50,7 +49,7 @@ function display_add_field($recordid=0) {
$str .= choose_from_menu($options, 'field_'.$this->field->id, $content,
get_string('menuchoose', 'data'), '', '', true, false);

$str .= '</td></tr></table></div>';
$str .= '</div>';

return $str;
}
Expand Down

0 comments on commit a7ee8d4

Please sign in to comment.