Skip to content

Commit

Permalink
Merge branch 'MDL-36634-master' of git://github.com/FMCorz/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Nov 20, 2012
2 parents 3a31c03 + ae41a70 commit 7a12ad1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions mod/data/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,9 @@


echo '<div class="fieldadd">';
echo '<label for="fieldform_jump">'.get_string('newfield','data').'</label>';
echo '<label for="fieldform_jump">'.get_string('newfield','data').$OUTPUT->help_icon('newfield', 'data').'</label>';
$popupurl = $CFG->wwwroot.'/mod/data/field.php?d='.$data->id.'&mode=new&sesskey='. sesskey();
echo $OUTPUT->single_select(new moodle_url($popupurl), 'newtype', $menufield, null, array(''=>'choosedots'), 'fieldform');
echo $OUTPUT->help_icon('newfield', 'data');
echo '</div>';

echo '<div class="sortdefault">';
Expand Down
4 changes: 3 additions & 1 deletion mod/data/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,9 @@ function data_print_template($template, $records, $data, $search='', $page=0, $r
$moreurl .= '&amp;filter=1';
}
$patterns[]='##more##';
$replacement[] = '<a href="' . $moreurl . '"><img src="' . $OUTPUT->pix_url('i/search') . '" class="iconsmall" alt="' . get_string('more', 'data') . '" title="' . get_string('more', 'data') . '" /></a>';
$replacement[] = '<a href="'.$moreurl.'"><img src="'.$OUTPUT->pix_url('t/preview').
'" class="iconsmall" alt="'.get_string('more', 'data').'" title="'.get_string('more', 'data').
'" /></a>';

$patterns[]='##moreurl##';
$replacement[] = $moreurl;
Expand Down
4 changes: 3 additions & 1 deletion mod/wiki/pagelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,9 @@ function print_content() {
}

if ($actionicons) {
$cell6 = new html_table_cell($OUTPUT->action_icon($urledit, new pix_icon('t/edit', get_string('edit'))) . $OUTPUT->action_icon($urldelet, new pix_icon('t/delete', get_string('delete'))));
$cell6 = new html_table_cell($OUTPUT->action_icon($urledit, new pix_icon('t/edit', get_string('edit'),
'', array('class' => 'iconsmall'))) . $OUTPUT->action_icon($urldelet, new pix_icon('t/delete',
get_string('delete'), '', array('class' => 'iconsmall'))));
$row3 = new html_table_row();
$row3->cells[] = $cell5;
$row3->cells[] = $cell6;
Expand Down

0 comments on commit 7a12ad1

Please sign in to comment.