diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-04-05 22:16:33 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-04-05 22:16:33 +0000 |
| commit | cf47ac9247dc01755e770b7d24dee36972ee8402 (patch) | |
| tree | dd7f0e05a152ced3b1eff27d2661d3aebd083640 /templates/menu_pigeonholes.tpl | |
| parent | 5899ff51a86c205d86f1335eefde97758c81ecce (diff) | |
| download | pigeonholes-cf47ac9247dc01755e770b7d24dee36972ee8402.tar.gz pigeonholes-cf47ac9247dc01755e770b7d24dee36972ee8402.tar.bz2 pigeonholes-cf47ac9247dc01755e770b7d24dee36972ee8402.zip | |
Make pigeonholes not call LibertyAttachable since it is LibertyContent (for the moment).
Fixup pretty url and extended url support and make sure to force a cononical url for pigeonholes for better SEO.
Make sure stuff in Related Content is actually viewable by the user.
Diffstat (limited to 'templates/menu_pigeonholes.tpl')
| -rw-r--r-- | templates/menu_pigeonholes.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu_pigeonholes.tpl b/templates/menu_pigeonholes.tpl index abacb65..e69873a 100644 --- a/templates/menu_pigeonholes.tpl +++ b/templates/menu_pigeonholes.tpl @@ -7,7 +7,7 @@ {if $gBitUser->hasPermission( 'p_pigeonholes_view' )} <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}list.php">{biticon ipackage="icons" iname="format-justify-fill" iexplain="List Categories" iforce="icon"} {tr}List Categories{/tr}</a></li> {if $gContent->mStructureId and $gContent->mType.content_type_guid == $smarty.const.PIGEONHOLES_CONTENT_TYPE_GUID} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}view.php?structure_id={$gContent->mStructureId}">{biticon ipackage=liberty iname=spacer iexplain="" iforce="icon"} {tr}View Category{/tr}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}{if $gBitSystem->isFeatureActive('pretty_urls_extended')}view/strcture/{else}view.php?structure_id={/if}{$gContent->mStructureId}">{biticon ipackage=liberty iname=spacer iexplain="" iforce="icon"} {tr}View Category{/tr}</a></li> {if $gBitUser->hasPermission( 'p_pigeonholes_edit' )} <li><a class="head" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.structure_id}&action=edit">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="Edit Category" iforce="icon"} {tr}Edit Category{/tr}</a></li> <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.root_structure_id}&action=create">{biticon ipackage="icons" iname="insert-object" iexplain="Insert Category" iforce="icon"} {tr}Insert Category{/tr}</a></li> |
