diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-10-03 21:18:55 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-10-03 21:18:55 +0000 |
| commit | 00a309359dd02fdab1a4f5c2b3c9f5a01ff7a4eb (patch) | |
| tree | 766928c97e3606ad51005499cdf8e17200508f73 | |
| parent | b2faba6d647fd473668cc21462f94ad29004da5f (diff) | |
| download | nexus-00a309359dd02fdab1a4f5c2b3c9f5a01ff7a4eb.tar.gz nexus-00a309359dd02fdab1a4f5c2b3c9f5a01ff7a4eb.tar.bz2 nexus-00a309359dd02fdab1a4f5c2b3c9f5a01ff7a4eb.zip | |
replace <a> with <span> when there is no href to point to
| -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 19f8d68..940ec8d 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 '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> +<{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}> |
