Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
7b3f3438
Commit
7b3f3438
authored
Oct 19, 2009
by
Nigel McNie
Browse files
Switch to icon-display.gif, as icon-display.png no longer exists.
Signed-off-by:
Nigel McNie
<
nigel@catalyst.net.nz
>
parent
7d3bd13c
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/pieforms/export.php
View file @
7b3f3438
...
...
@@ -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;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment