Commit 952fb0d5 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

A couple of minor fixes to template stuff (missing image, and improving

error message)
parent 9f58b4cc
......@@ -279,7 +279,7 @@ function template_locate($templatename, $fetchdb=true) {
return $template;
}
throw new TemplateParserException("Invalid template name $templatename, couldn't find");
throw new TemplateParserException("Invalid template name $templatename, couldn't find fragment.template");
}
/**
......
......@@ -13,7 +13,7 @@
<tr class="{cycle values=r1,r0}">
<td>{$name}</td>
<td>{if $template.installed}
<img id="{$name}.status" alt="{str tag='yes'}" src="{theme_path location='success.gif}" />
<img id="{$name}.status" alt="{str tag='yes'}" src="{theme_path location='images/success.gif}" />
{if !$template.error}
<a href="" onClick="{$installlink}('{$name}'); return false;" id="admintemplates_reinstall">{str tag='reinstall' section='admin'}</a>
<span id="{$name}.message"></span>
......
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