aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-11-03 19:38:09 +0000
committervdigital <vdigital@piwigo.org>2008-11-03 19:38:09 +0000
commit2ddd90f3c3ed80dac3cc00455da9a462d769b5b5 (patch)
tree8a6914a01431bda139770ab8ee88e72491654b1f /template-extension
parent108937e81aa75c65d1b562260293c2e809bc1066 (diff)
Neuronal correction... {html_head} in error related to template-extension/distributed/samples/my-thumbnails2.tpl
git-svn-id: http://piwigo.org/svn/branches/2.0@2817 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template-extension')
-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>