Commit 4d842597 authored by Nigel McNie's avatar Nigel McNie

Correct the path to the view layout preview thumbnails, so it works when...

Correct the path to the view layout preview thumbnails, so it works when Mahara is installed in a subdirectory.
parent 30d45382
......@@ -10,7 +10,7 @@
{foreach from=$options key=id item=description}
<div class="fl" style="margin: 0 .5em; text-align: center;">
<div><img src="/thumb.php?type=viewlayout&vl={$id}" alt=""></div>
<div><img src="{$WWWROOT}thumb.php?type=viewlayout&vl={$id}" alt=""></div>
<div><input type="radio" class="radio" name="layout" value="{$id}"></div>
<div>{$description|escape}</div>
</div>
......
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