diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-29 22:17:29 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-29 22:17:29 +0000 |
| commit | 39533cec38e81ead0735ddbf90a85e580bf1b34c (patch) | |
| tree | 2313dd08ab97abbfa4d2c50a97f45eb409d137e6 /templates | |
| parent | 82c819393950660c08a42ac7d4f10e5f4adf05f3 (diff) | |
| download | nexus-39533cec38e81ead0735ddbf90a85e580bf1b34c.tar.gz nexus-39533cec38e81ead0735ddbf90a85e580bf1b34c.tar.bz2 nexus-39533cec38e81ead0735ddbf90a85e580bf1b34c.zip | |
apply .selected class to surrounding <li> instead of <a> - this allows for better styling options and opens doors to funky menu effects
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/suckerfish/item.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/suckerfish/item.tpl b/templates/suckerfish/item.tpl index 940ec8d..431288e 100644 --- a/templates/suckerfish/item.tpl +++ b/templates/suckerfish/item.tpl @@ -1 +1 @@ -<{if $item.display_url}a{else}span{/if} 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}</{if $item.display_url}a{else}span{/if}> +<{if $item.display_url}a{else}span{/if} 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}</{if $item.display_url}a{else}span{/if}> |
