Commit 7e9037c7 authored by Evonne Cheung's avatar Evonne Cheung Committed by Hugh Davenport
Browse files

theme/raw: Theme update



Responsive theme

Bug #1041645

Change-Id: Idc2395741875c83fc8b3f64e6d7006288b3b1c00
Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
parent 2779df3b
......@@ -3,14 +3,15 @@
function export_form_cell_html($element) {
global $THEME;
$strclicktopreview = get_string('clicktopreview', 'export');
$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"><img src="{$previewimg}" alt=""> {$strclicktopreview}</a></div>
<div class="checkbox">{$element['html']}</div>
<div class="labeldescriptpreview">{$element['labelhtml']}
{$element['description']}
<a href="{$element['viewlink']}" class="viewlink nojs-hidden-inline" target="_blank">{$strclicktopreview}</a>
</div>
</td>
EOF;
}
......@@ -77,8 +78,8 @@ $body = array();
$row = $col = 0;
foreach ($elements as $key => $element) {
if (substr($key, 0, 11) == 'collection_') {
$body[$row][$col] = "<td>{$element['html']} {$element['labelhtml']}"
. '<div>' . hsc($element['description']) . '</div></td>';
$body[$row][$col] = "<td><div class='checkbox'>{$element['html']}</div><div class='labeldescriptpreview'>{$element['labelhtml']}"
. '' . hsc($element['description']) . '</div></td>';
$col++;
if ($col % 3 == 0) {
$row++;
......
htdocs/theme/raw/static/images/btn-bkgd.gif

132 Bytes | W: | H:

htdocs/theme/raw/static/images/btn-bkgd.gif

195 Bytes | W: | H:

htdocs/theme/raw/static/images/btn-bkgd.gif
htdocs/theme/raw/static/images/btn-bkgd.gif
htdocs/theme/raw/static/images/btn-bkgd.gif
htdocs/theme/raw/static/images/btn-bkgd.gif
  • 2-up
  • Swipe
  • Onion skin
File mode changed from 100755 to 100644
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