blob: 8f82e8aa75c012accaf596535237df3d214d5407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{strip}
{capture name=class}
{if $item.head}head{else}item{/if}{if $item.rsrc_type eq 'ext'} external{/if}{if $item.rsrc_type eq 'content_id'}{ldelim}if $gContent->mContentId == {$item.rsrc}{rdelim} selected{ldelim}/if{rdelim}{/if}
{/capture}
{if $type eq 'ieo' || $type eq 'iec'}
<span style="display:block;">
{if $item.expand_url}
<a style="float:left;padding:0 3px;" href="{$item.expand_url}">
{ldelim}if $smarty.cookies.{$tog_next} == 'c' || (!$smarty.cookies.{$tog_next} and '{$type}' == 'iec'){rdelim}
{biticon ipackage="liberty" iname="collapsed" id="`$tog_next`img" iexplain="Collapsed menu"}
{ldelim}else{rdelim}
{biticon ipackage="liberty" iname="expanded" id="`$tog_next`img" iexplain="Expanded menu"}
{ldelim}/if{rdelim}
</a>
{/if}
<a class="{$smarty.capture.class}" title="{$item.hint}" {if $item.display_url}href="{$item.display_url}{/if}">
{$item.title|escape}
</a>
</span>
{elseif $type eq 'iho' || $type eq 'ihc'}
<span style="display:block;">
{if $item.expand_url}
<a style="float:left;padding:0 3px;" href="{$item.expand_url}">
{ldelim}if $smarty.cookies.{$tog_next} == 'c' || (!$smarty.cookies.{$tog_next} and '{$type}' == 'ihc'){rdelim}
{biticon ipackage="liberty" iname="collapsed" id="`$tog_next`img" iexplain="Collapsed menu"}
{ldelim}else{rdelim}
{biticon ipackage="liberty" iname="expanded" id="`$tog_next`img" iexplain="Expanded menu"}
{ldelim}/if{rdelim}
{$item.title|escape}
</a>
{else}
<a class="{$smarty.capture.class}" title="{$item.hint}" {if $item.display_url}href="{$item.display_url}{/if}">
{$item.title|escape}
</a>
{/if}
</span>
{else}
<a class="{$smarty.capture.class}" title="{$item.hint}" {if $item.display_url}href="{$item.display_url}{/if}">
{$item.title|escape}
</a>
{/if}
{/strip}
|