Commit 7b3f3438 authored by Nigel McNie's avatar Nigel McNie
Browse files

Switch to icon-display.gif, as icon-display.png no longer exists.


Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent 7d3bd13c
......@@ -3,14 +3,14 @@
function export_form_cell_html($element) {
global $THEME;
$strclicktopreview = get_string('clicktopreview', 'export');
$previewimg = $THEME->get_url('images/icon-display.png');
$previewimg = $THEME->get_url('images/icon-display.gif');
$strpreview = get_string('Preview');
$element['description'] = clean_html($element['description']);
return <<<EOF
<td>
{$element['html']} {$element['labelhtml']}
<div>{$element['description']}</div>
<div><a href="{$element['viewlink']}" class="viewlink nojs-hidden-inline" target="_blank">{$strclicktopreview}</a></div>
<div><a href="{$element['viewlink']}" class="viewlink nojs-hidden-inline" target="_blank"><img src="{$previewimg}" alt=""> {$strclicktopreview}</a></div>
</td>
EOF;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment