summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-09-28 10:43:36 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-09-28 10:43:36 +0000
commitb2faba6d647fd473668cc21462f94ad29004da5f (patch)
tree673922721aa01f9784f85f0505c5e4d450d91bbd /templates
parentf1e86a03f0989113d04877c37bbc66aef08d2979 (diff)
downloadnexus-b2faba6d647fd473668cc21462f94ad29004da5f.tar.gz
nexus-b2faba6d647fd473668cc21462f94ad29004da5f.tar.bz2
nexus-b2faba6d647fd473668cc21462f94ad29004da5f.zip
add .selected to currently active menu item
Diffstat (limited to 'templates')
-rw-r--r--templates/suckerfish/item.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/suckerfish/item.tpl b/templates/suckerfish/item.tpl
index 6986d3d..19f8d68 100644
--- a/templates/suckerfish/item.tpl
+++ b/templates/suckerfish/item.tpl
@@ -1 +1 @@
-<a class="{if $item.head}head{else}item{/if}{if $item.rsrc_type eq 'ext'} external{/if}" title="{$item.hint}"{if $item.display_url} href="{$item.display_url|escape:html}"{/if}>{$item.title|escape:html}</a>
+<a class="{if $item.head}head{else}item{/if}{if $item.rsrc_type eq 'content_id'}{ldelim}if $gContent->mContentId == {$item.rsrc}{rdelim} selected{ldelim}/if{rdelim}{/if}{if $item.rsrc_type eq 'ext'} external{/if}" title="{$item.hint}"{if $item.display_url} href="{$item.display_url|escape:html}"{/if}>{$item.title|escape:html}</a>