diff options
| author | tekimaki <will@tekimaki.com> | 2010-07-20 23:44:40 -0400 |
|---|---|---|
| committer | tekimaki <will@tekimaki.com> | 2010-07-20 23:44:40 -0400 |
| commit | 532efb6e3fbc3388d7b368fe69b900be5d42b173 (patch) | |
| tree | d546885fa8e60e3214fc28af57141a36565c17e5 /templates | |
| parent | ec33c7bc7397fec48f7c1cca44ed5e833a32dc7b (diff) | |
| download | pigeonholes-532efb6e3fbc3388d7b368fe69b900be5d42b173.tar.gz pigeonholes-532efb6e3fbc3388d7b368fe69b900be5d42b173.tar.bz2 pigeonholes-532efb6e3fbc3388d7b368fe69b900be5d42b173.zip | |
use content id on list links so we dont have redirects popping off on every request
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/section_inc.tpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/section_inc.tpl b/templates/section_inc.tpl index b850940..c210b86 100644 --- a/templates/section_inc.tpl +++ b/templates/section_inc.tpl @@ -5,12 +5,12 @@ <h3 class="highlight"><a href="{$smarty.const.PIGEONHOLES_PKG_URL}{ if $gBitSystem->isFeatureActive('pretty_urls') - }structure/{ + }{ elseif $gBitSystem->isFeatureActive('pretty_urls_extended') - }view/structure/{ + }view/{ else - }view.php?structure_id={ - /if}{$subtree[ix].structure_id}">{$subtree[ix].title|escape}</a></h3> + }view.php?content_id={ + /if}{$subtree[ix].content_id}">{$subtree[ix].title|escape}</a></h3> {if $pigeonList.$sid.members} {if $gBitSystem->isFeatureActive('pigeonholes_display_description')} @@ -72,12 +72,12 @@ {if $current}<strong>{/if} <a href="{$smarty.const.PIGEONHOLES_PKG_URL}{ if $gBitSystem->isFeatureActive('pretty_urls') - }structure/{ + }{ elseif $gBitSystem->isFeatureActive('pretty_urls_extended') - }view/structure/{ + }view/{ else - }view.php?structure_id={ - /if}{$subtree[ix].structure_id}#members">{$subtree[ix].title|escape}</a> + }view.php?content_id={ + /if}{$subtree[ix].content_id}#members">{$subtree[ix].title|escape}</a> {if $current}</strong>{/if}{if $pigeonList.$sid.members_count}<small> ({$pigeonList.$sid.members_count}) </small>{/if} {biticon ipackage=liberty iname=spacer iforce=icon} |
