aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension/distributed
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template-extension/distributed/samples/my-thumbnails2.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template-extension/distributed/samples/my-thumbnails2.tpl b/template-extension/distributed/samples/my-thumbnails2.tpl
index f65f8f31b..d74d09940 100644
--- a/template-extension/distributed/samples/my-thumbnails2.tpl
+++ b/template-extension/distributed/samples/my-thumbnails2.tpl
@@ -1,7 +1,7 @@
{* $Id$ *}
<!-- This is a sample of template extensions -->
{if !empty($thumbnails)}
-{html_head}<link rel="stylesheet" type="text/css" href="{$smarty.template|substr:6:-3}css">{/html_head}
+{html_head}<link rel="stylesheet" type="text/css" href="{$smarty.template|dirname}/my-thumbnails2.css">{/html_head}
<ul class="thumbnails">
{foreach from=$thumbnails item=thumbnail}
<li>