mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 00:02:18 +02:00
MDL-36634 usability: Minor CSS fixes in Wiki and Blog
This commit is contained in:
@@ -305,10 +305,9 @@ if (($mode == 'new') && (!empty($newtype)) && confirm_sesskey()) { ///
|
||||
|
||||
|
||||
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">';
|
||||
|
@@ -1218,7 +1218,9 @@ function data_print_template($template, $records, $data, $search='', $page=0, $r
|
||||
$moreurl .= '&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;
|
||||
|
@@ -677,7 +677,9 @@ class page_wiki_comments extends page_wiki {
|
||||
}
|
||||
|
||||
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;
|
||||
|
Reference in New Issue
Block a user