Merge branch 'MDL-36415-master-int' of git://github.com/FMCorz/moodle
Conflicts: theme/upgrade.txt
@ -167,11 +167,11 @@
|
||||
} else {
|
||||
$columndir = $dir == "ASC" ? "DESC":"ASC";
|
||||
if ($column == "lastaccess") {
|
||||
$columnicon = $dir == "ASC" ? "up":"down";
|
||||
$columnicon = ($dir == "ASC") ? "sort_desc" : "sort_asc";
|
||||
} else {
|
||||
$columnicon = $dir == "ASC" ? "down":"up";
|
||||
$columnicon = ($dir == "ASC") ? "sort_asc" : "sort_desc";
|
||||
}
|
||||
$columnicon = " <img src=\"" . $OUTPUT->pix_url('t/' . $columnicon) . "\" alt=\"\" />";
|
||||
$columnicon = "<img class='iconsort' src=\"" . $OUTPUT->pix_url('t/' . $columnicon) . "\" alt=\"\" />";
|
||||
|
||||
}
|
||||
$$column = "<a href=\"user.php?sort=$column&dir=$columndir\">".$string[$column]."</a>$columnicon";
|
||||
|
@ -245,7 +245,7 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||
$strmoveup = get_string('moveup');
|
||||
|
||||
$controls[] = html_writer::link($url,
|
||||
html_writer::empty_tag('img', array('src' => $this->output->pix_url('t/up'),
|
||||
html_writer::empty_tag('img', array('src' => $this->output->pix_url('i/up'),
|
||||
'class' => 'icon up', 'alt' => $strmoveup)),
|
||||
array('title' => $strmoveup, 'class' => 'moveup'));
|
||||
}
|
||||
@ -257,7 +257,7 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||
$strmovedown = get_string('movedown');
|
||||
|
||||
$controls[] = html_writer::link($url,
|
||||
html_writer::empty_tag('img', array('src' => $this->output->pix_url('t/down'),
|
||||
html_writer::empty_tag('img', array('src' => $this->output->pix_url('i/down'),
|
||||
'class' => 'icon down', 'alt' => $strmovedown)),
|
||||
array('title' => $strmovedown, 'class' => 'movedown'));
|
||||
}
|
||||
|
@ -512,7 +512,7 @@ class course_enrolment_table extends html_table implements renderable {
|
||||
} else {
|
||||
$link = html_writer::link(new moodle_url($url, array(self::SORTVAR=>$n)), $fields[$name][$n]);
|
||||
if ($this->sort == $n) {
|
||||
$link .= ' '.html_writer::link(new moodle_url($url, array(self::SORTVAR=>$n, self::SORTDIRECTIONVAR=>$this->get_field_sort_direction($n))), $this->get_direction_icon($output, $n));
|
||||
$link .= html_writer::link(new moodle_url($url, array(self::SORTVAR=>$n, self::SORTDIRECTIONVAR=>$this->get_field_sort_direction($n))), $this->get_direction_icon($output, $n));
|
||||
}
|
||||
$bits[] = html_writer::tag('span', $link, array('class'=>'subheading_'.$n));
|
||||
|
||||
@ -525,7 +525,7 @@ class course_enrolment_table extends html_table implements renderable {
|
||||
} else {
|
||||
$newlabel = html_writer::link(new moodle_url($url, array(self::SORTVAR=>$name)), $fields[$name]);
|
||||
if ($this->sort == $name) {
|
||||
$newlabel .= ' '.html_writer::link(new moodle_url($url, array(self::SORTVAR=>$name, self::SORTDIRECTIONVAR=>$this->get_field_sort_direction($name))), $this->get_direction_icon($output, $name));
|
||||
$newlabel .= html_writer::link(new moodle_url($url, array(self::SORTVAR=>$name, self::SORTDIRECTIONVAR=>$this->get_field_sort_direction($name))), $this->get_direction_icon($output, $name));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -633,9 +633,11 @@ class course_enrolment_table extends html_table implements renderable {
|
||||
$direction = $this->sortdirection;
|
||||
}
|
||||
if ($direction === 'ASC') {
|
||||
return html_writer::empty_tag('img', array('alt'=>'', 'src'=>$output->pix_url('t/down')));
|
||||
return html_writer::empty_tag('img', array('alt' => '', 'class' => 'iconsort',
|
||||
'src' => $output->pix_url('t/sort_asc')));
|
||||
} else {
|
||||
return html_writer::empty_tag('img', array('alt'=>'', 'src'=>$output->pix_url('t/up')));
|
||||
return html_writer::empty_tag('img', array('alt' => '', 'class' => 'iconsort',
|
||||
'src' => $output->pix_url('t/sort_desc')));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5075,16 +5075,16 @@ class admin_setting_manageenrols extends admin_setting {
|
||||
if ($updowncount > 1) {
|
||||
$aurl = new moodle_url($url, array('action'=>'up', 'enrol'=>$enrol));
|
||||
$updown .= "<a href=\"$aurl\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"$strup\" /></a> ";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"$strup\" class=\"iconsmall\" /></a> ";
|
||||
} else {
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"icon\" alt=\"\" /> ";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"iconsmall\" alt=\"\" /> ";
|
||||
}
|
||||
if ($updowncount < $enrolcount) {
|
||||
$aurl = new moodle_url($url, array('action'=>'down', 'enrol'=>$enrol));
|
||||
$updown .= "<a href=\"$aurl\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"$strdown\" /></a>";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"$strdown\" class=\"iconsmall\" /></a>";
|
||||
} else {
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"icon\" alt=\"\" />";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"iconsmall\" alt=\"\" />";
|
||||
}
|
||||
++$updowncount;
|
||||
}
|
||||
@ -5606,17 +5606,17 @@ class admin_setting_manageauths extends admin_setting {
|
||||
if ($enabled) {
|
||||
if ($updowncount > 1) {
|
||||
$updown .= "<a href=\"$url&action=up&auth=$auth\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"up\" /></a> ";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"up\" class=\"iconsmall\" /></a> ";
|
||||
}
|
||||
else {
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"icon\" alt=\"\" /> ";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"iconsmall\" alt=\"\" /> ";
|
||||
}
|
||||
if ($updowncount < $authcount) {
|
||||
$updown .= "<a href=\"$url&action=down&auth=$auth\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"down\" /></a>";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"down\" class=\"iconsmall\" /></a>";
|
||||
}
|
||||
else {
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"icon\" alt=\"\" />";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"iconsmall\" alt=\"\" />";
|
||||
}
|
||||
++ $updowncount;
|
||||
}
|
||||
@ -5773,17 +5773,17 @@ class admin_setting_manageeditors extends admin_setting {
|
||||
if ($enabled) {
|
||||
if ($updowncount > 1) {
|
||||
$updown .= "<a href=\"$url&action=up&editor=$editor\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"up\" /></a> ";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"up\" class=\"iconsmall\" /></a> ";
|
||||
}
|
||||
else {
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"icon\" alt=\"\" /> ";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"iconsmall\" alt=\"\" /> ";
|
||||
}
|
||||
if ($updowncount < $editorcount) {
|
||||
$updown .= "<a href=\"$url&action=down&editor=$editor\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"down\" /></a>";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"down\" class=\"iconsmall\" /></a>";
|
||||
}
|
||||
else {
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"icon\" alt=\"\" />";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('spacer') . "\" class=\"iconsmall\" alt=\"\" />";
|
||||
}
|
||||
++ $updowncount;
|
||||
}
|
||||
@ -6000,7 +6000,7 @@ class admin_setting_manageformats extends admin_setting {
|
||||
|
||||
$cnt = 0;
|
||||
$defaultformat = get_config('moodlecourse', 'format');
|
||||
$spacer = $OUTPUT->pix_icon('spacer', '', 'moodle', array('class' => 'icon'));
|
||||
$spacer = $OUTPUT->pix_icon('spacer', '', 'moodle', array('class' => 'iconsmall'));
|
||||
foreach ($formats as $format) {
|
||||
$url = new moodle_url('/admin/courseformats.php',
|
||||
array('sesskey' => sesskey(), 'format' => $format->name));
|
||||
@ -6021,13 +6021,13 @@ class admin_setting_manageformats extends admin_setting {
|
||||
$updown = '';
|
||||
if ($cnt) {
|
||||
$updown .= html_writer::link($url->out(false, array('action' => 'up')),
|
||||
$OUTPUT->pix_icon('t/up', $txt->up, 'moodle')). ' ';
|
||||
$OUTPUT->pix_icon('t/up', $txt->up, 'moodle', array('class' => 'iconsmall'))). '';
|
||||
} else {
|
||||
$updown .= $spacer;
|
||||
}
|
||||
if ($cnt < count($formats) - 1) {
|
||||
$updown .= ' '.html_writer::link($url->out(false, array('action' => 'down')),
|
||||
$OUTPUT->pix_icon('t/down', $txt->down, 'moodle'));
|
||||
$OUTPUT->pix_icon('t/down', $txt->down, 'moodle', array('class' => 'iconsmall')));
|
||||
} else {
|
||||
$updown .= $spacer;
|
||||
}
|
||||
@ -6862,18 +6862,19 @@ class admin_setting_managerepository extends admin_setting {
|
||||
|
||||
// Display up/down link
|
||||
$updown = '';
|
||||
$spacer = $OUTPUT->spacer(array('height'=>15, 'width'=>15)); // should be done with CSS instead
|
||||
// Should be done with CSS instead.
|
||||
$spacer = $OUTPUT->spacer(array('height' => 15, 'width' => 15, 'class' => 'smallicon'));
|
||||
|
||||
if ($updowncount > 1) {
|
||||
$updown .= "<a href=\"$this->baseurl&action=moveup&repos=".$typename."\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"up\" /></a> ";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/up') . "\" alt=\"up\" class=\"iconsmall\" /></a> ";
|
||||
}
|
||||
else {
|
||||
$updown .= $spacer;
|
||||
}
|
||||
if ($updowncount < $totalinstances) {
|
||||
$updown .= "<a href=\"$this->baseurl&action=movedown&repos=".$typename."\">";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"down\" /></a>";
|
||||
$updown .= "<img src=\"" . $OUTPUT->pix_url('t/down') . "\" alt=\"down\" class=\"iconsmall\" /></a>";
|
||||
}
|
||||
else {
|
||||
$updown .= $spacer;
|
||||
|
@ -1153,10 +1153,10 @@ class flexible_table {
|
||||
|
||||
if ($order == SORT_ASC) {
|
||||
return html_writer::empty_tag('img',
|
||||
array('src' => $OUTPUT->pix_url('t/down'), 'alt' => get_string('asc')));
|
||||
array('src' => $OUTPUT->pix_url('t/sort_asc'), 'alt' => get_string('asc'), 'class' => 'iconsort'));
|
||||
} else {
|
||||
return html_writer::empty_tag('img',
|
||||
array('src' => $OUTPUT->pix_url('t/up'), 'alt' => get_string('desc')));
|
||||
array('src' => $OUTPUT->pix_url('t/sort_desc'), 'alt' => get_string('desc'), 'class' => 'iconsort'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -190,7 +190,7 @@ table#categoryquestions {width: 100%;overflow: hidden;table-layout: fixed;}
|
||||
#categoryquestions .iconcol {width: 15px;text-align: center;padding: 0;}
|
||||
#categoryquestions .checkbox {width: 19px;text-align: center;padding: 0;}
|
||||
#categoryquestions .qtype {text-align: center;}
|
||||
#categoryquestions .qtype {width: 24px;padding: 0;}
|
||||
#categoryquestions .qtype {width: 28px;padding: 0;}
|
||||
#categoryquestions .questiontext p {margin: 0;}
|
||||
|
||||
#page-mod-quiz-edit div.quizcontents {float:left;width:70%;display:block;clear:left;}
|
||||
|
@ -898,12 +898,14 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
||||
if ($sortby !== $sortid or $sorthow !== 'ASC') {
|
||||
$url = new moodle_url($PAGE->url);
|
||||
$url->params(array('sortby' => $sortid, 'sorthow' => 'ASC'));
|
||||
$out .= $this->output->action_icon($url, new pix_icon('t/up', get_string('sortasc', 'workshop')), null, array('class' => 'sort asc'));
|
||||
$out .= $this->output->action_icon($url, new pix_icon('t/sort_asc', get_string('sortasc', 'workshop')),
|
||||
null, array('class' => 'iconsort sort asc'));
|
||||
}
|
||||
if ($sortby !== $sortid or $sorthow !== 'DESC') {
|
||||
$url = new moodle_url($PAGE->url);
|
||||
$url->params(array('sortby' => $sortid, 'sorthow' => 'DESC'));
|
||||
$out .= $this->output->action_icon($url, new pix_icon('t/down', get_string('sortdesc', 'workshop')), null, array('class' => 'sort desc'));
|
||||
$out .= $this->output->action_icon($url, new pix_icon('t/sort_desc', get_string('sortdesc', 'workshop')),
|
||||
null, array('class' => 'iconsort sort desc'));
|
||||
}
|
||||
}
|
||||
return $out;
|
||||
|
BIN
pix/i/down.png
Normal file
After Width: | Height: | Size: 273 B |
14
pix/i/down.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="16px" height="16px" viewBox="-0.1 0 16 16" style="overflow:visible;enable-background:new -0.1 0 16 16;"
|
||||
xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M15.6,7.3l-0.7-0.7c-0.4-0.4-1.1-0.4-1.4,0l-4,4V1c0-0.5-0.4-1-1-1h-1c-0.5,0-1,0.5-1,1v9.6l-4-4
|
||||
C2,6.2,1.4,6.2,1,6.6L0.3,7.3c-0.4,0.4-0.4,1,0,1.4l7,7c0.4,0.4,1,0.4,1.4,0L9.4,15c0,0,0,0,0,0l6.2-6.2C16,8.4,16,7.7,15.6,7.3z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 863 B |
BIN
pix/i/up.png
Normal file
After Width: | Height: | Size: 246 B |
15
pix/i/up.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="16px" height="16px" viewBox="-0.1 0 16 16" style="overflow:visible;enable-background:new -0.1 0 16 16;"
|
||||
xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M15.6,8.6l-0.7,0.7c-0.4,0.4-1.1,0.4-1.4,0l-4-4v9.6c0,0.5-0.4,1.1-1,1.1h-1c-0.5,0-1-0.5-1-1.1V5.3
|
||||
l-4,4C2,9.8,1.4,9.8,1,9.4L0.3,8.7c-0.4-0.4-0.4-1,0-1.4l7-7c0.4-0.4,1-0.4,1.4,0L9.4,1c0,0,0,0,0,0l6.2,6.2C16,7.6,16,8.2,15.6,8.6
|
||||
z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 873 B |
BIN
pix/t/down.png
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 242 B |
@ -5,10 +5,10 @@
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="16px" height="16px" viewBox="-0.1 0 16 16" style="overflow:visible;enable-background:new -0.1 0 16 16;"
|
||||
x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="overflow:visible;enable-background:new 0 0 12 12;"
|
||||
xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M15.6,7.3l-0.7-0.7c-0.4-0.4-1.1-0.4-1.4,0l-4,4V1c0-0.5-0.4-1-1-1h-1c-0.5,0-1,0.5-1,1v9.6l-4-4
|
||||
C2,6.2,1.4,6.2,1,6.6L0.3,7.3c-0.4,0.4-0.4,1,0,1.4l7,7c0.4,0.4,1,0.4,1.4,0L9.4,15c0,0,0,0,0,0l6.2-6.2C16,8.4,16,7.7,15.6,7.3z"/>
|
||||
<path style="fill:#999999;" d="M7.5,1v5.7l2.1-2.1c0.4-0.4,1-0.4,1.4,0l0.7,0.7c0.4,0.4,0.4,1,0,1.4l-5,5c-0.4,0.4-1,0.4-1.4,0
|
||||
L4.6,11c0,0,0,0,0,0L0.3,6.7c-0.4-0.4-0.4-1,0-1.4L1,4.6c0.4-0.4,1-0.4,1.4,0l2.1,2.1V1c0-0.5,0.5-1,1-1h1C7,0,7.5,0.5,7.5,1z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 863 B After Width: | Height: | Size: 853 B |
BIN
pix/t/sort_asc.png
Normal file
After Width: | Height: | Size: 159 B |
13
pix/t/sort_asc.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="12px" height="12px" viewBox="-1 0 12 12" style="overflow:visible;enable-background:new -1 0 12 12;"
|
||||
xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M9.4,5c0.5,0,0.7-0.3,0.3-0.7l-4-4c-0.4-0.4-1-0.4-1.4,0l-4,4C-0.2,4.7,0,5,0.5,5H9.4z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 722 B |
BIN
pix/t/sort_desc.png
Normal file
After Width: | Height: | Size: 168 B |
13
pix/t/sort_desc.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="12px" height="12px" viewBox="-1.1 -7 12 12"
|
||||
style="overflow:visible;enable-background:new -1.1 -7 12 12;" xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M0.5,0C0,0-0.2,0.3,0.2,0.7l4,4c0.4,0.4,1,0.4,1.4,0l4-4C10,0.3,9.9,0,9.3,0H0.5z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 723 B |
BIN
pix/t/up.png
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 213 B |
@ -5,11 +5,11 @@
|
||||
]>
|
||||
<svg version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
|
||||
x="0px" y="0px" width="16px" height="16px" viewBox="-0.1 0 16 16" style="overflow:visible;enable-background:new -0.1 0 16 16;"
|
||||
x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="overflow:visible;enable-background:new 0 0 12 12;"
|
||||
xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<path style="fill:#999999;" d="M15.6,8.6l-0.7,0.7c-0.4,0.4-1.1,0.4-1.4,0l-4-4v9.6c0,0.5-0.4,1.1-1,1.1h-1c-0.5,0-1-0.5-1-1.1V5.3
|
||||
l-4,4C2,9.8,1.4,9.8,1,9.4L0.3,8.7c-0.4-0.4-0.4-1,0-1.4l7-7c0.4-0.4,1-0.4,1.4,0L9.4,1c0,0,0,0,0,0l6.2,6.2C16,7.6,16,8.2,15.6,8.6
|
||||
<path style="fill:#999999;" d="M4.5,11V5.3L2.4,7.4C2,7.8,1.4,7.8,1,7.4L0.3,6.7c-0.4-0.4-0.4-1,0-1.4l5-5c0.4-0.4,1-0.4,1.4,0
|
||||
L7.4,1c0,0,0,0,0,0l4.3,4.3c0.4,0.4,0.4,1,0,1.4L11,7.4c-0.4,0.4-1,0.4-1.4,0L7.5,5.3V11c0,0.6-0.5,1-1,1h-1C4.9,12,4.5,11.5,4.5,11
|
||||
z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 873 B After Width: | Height: | Size: 863 B |
@ -251,9 +251,9 @@ abstract class question_bank_column_base {
|
||||
protected function get_sort_icon($reverse) {
|
||||
global $OUTPUT;
|
||||
if ($reverse) {
|
||||
return ' <img src="' . $OUTPUT->pix_url('t/up') . '" alt="' . get_string('desc') . '" />';
|
||||
return $OUTPUT->pix_icon('t/sort_desc', get_string('desc'), '', array('class' => 'iconsort'));
|
||||
} else {
|
||||
return ' <img src="' . $OUTPUT->pix_url('t/down') . '" alt="' . get_string('asc') . '" />';
|
||||
return $OUTPUT->pix_icon('t/sort_asc', get_string('asc'), '', array('class' => 'iconsort'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -94,6 +94,8 @@ img.icon {height:16px;vertical-align:text-bottom;width:16px;padding: 2px 6px 2px
|
||||
img.iconsmall {height:12px;margin-right:3px;vertical-align:middle;width:12px;}
|
||||
img.iconhelp, .helplink img {height:16px; padding-left:3px;vertical-align:middle;width:16px;}
|
||||
img.iconlarge {height: 24px; width: 24px; vertical-align:middle;}
|
||||
img.iconsort { vertical-align: text-bottom; padding-left: .3em; margin-bottom: .15em;}
|
||||
.dir-rtl img.iconsort { padding-right: .3em; padding-left: 0;}
|
||||
img.icontoggle {height:17px;vertical-align:middle;width:50px;}
|
||||
img.iconkbhelp {height:17px;width:49px;}
|
||||
.categorybox .category {font-size:1.2em;font-weight:bold;}
|
||||
|
@ -18,6 +18,8 @@ optional changes:
|
||||
* new icon i/switchrole (sized 16x16), was previously using i/roles. Now is a copy of the new i/assignroles icon.
|
||||
* new icons i/enrolusers and t/enrolusers, previsouly i/users was used.
|
||||
* new icon t/cohorts (sized 12x12), to prevent the use of i/cohorts which is 16x16.
|
||||
* new icons t/sort_asc, t/sort_desc to use for ordering in table headers.
|
||||
* new class 'iconsort' for icons used for ordering in table headers.
|
||||
|
||||
=== 2.3 ===
|
||||
|
||||
|