diff options
Diffstat (limited to 'view/tpl/generic_links_widget.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/generic_links_widget.tpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/view/tpl/generic_links_widget.tpl b/view/tpl/generic_links_widget.tpl index f3404f783..5ae52aa8a 100644..100755 --- a/view/tpl/generic_links_widget.tpl +++ b/view/tpl/generic_links_widget.tpl @@ -1,11 +1,11 @@ -<div class="widget{{ if $class }} $class{{ endif }}"> - {{if $title}}<h3>$title</h3>{{endif}} - {{if $desc}}<div class="desc">$desc</div>{{endif}} +<div class="widget{{if $class}} {{$class}}{{/if}}"> + {{if $title}}<h3>{{$title}}</h3>{{/if}} + {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}} <ul> - {{ for $items as $item }} - <li class="tool"><a href="$item.url" class="{{ if $item.selected }}selected{{ endif }}">$item.label</a></li> - {{ endfor }} + {{foreach $items as $item}} + <li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}active{{/if}}">{{$item.label}}</a></li> + {{/foreach}} </ul> </div> |