diff options
author | vdigital <vdigital@piwigo.org> | 2008-07-31 06:58:44 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-07-31 06:58:44 +0000 |
commit | 5059eddb717ed5dc6dcc2d2d509f0b852e4253a0 (patch) | |
tree | 6f3c7a5d0e28a17918db1557615605bbbf448034 /template-extension/distributed/samples/my-thumbnails2.tpl | |
parent | 45960b4631e8d92a3ccd87fa4732dc1f74f1b017 (diff) |
Feature:837 "Extend for templates" could have dedicated .css files by a simple technical {html_head} inclusion.
git-svn-id: http://piwigo.org/svn/trunk@2464 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template-extension/distributed/samples/my-thumbnails2.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/template-extension/distributed/samples/my-thumbnails2.tpl b/template-extension/distributed/samples/my-thumbnails2.tpl index 33f6e0569..abd4096ae 100644 --- a/template-extension/distributed/samples/my-thumbnails2.tpl +++ b/template-extension/distributed/samples/my-thumbnails2.tpl @@ -1,6 +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} <ul class="thumbnails"> {foreach from=$thumbnails item=thumbnail} <li> |