diff options
| author | spider <spider@bitweaver.org> | 2014-10-08 18:39:10 -0400 |
|---|---|---|
| committer | spider <spider@bitweaver.org> | 2014-10-08 18:39:10 -0400 |
| commit | 2d33a6ae168f00a0e048762ddbdd57c5d18e10a9 (patch) | |
| tree | afd920cd4840752fe2a5973f99d22a7981db35d7 /gallery_views | |
| parent | c53d15e53607ad9a1e9ff61681778a1b6ed3b316 (diff) | |
| download | fisheye-2d33a6ae168f00a0e048762ddbdd57c5d18e10a9.tar.gz fisheye-2d33a6ae168f00a0e048762ddbdd57c5d18e10a9.tar.bz2 fisheye-2d33a6ae168f00a0e048762ddbdd57c5d18e10a9.zip | |
clean up on breadcrumbs to bootstrap
Diffstat (limited to 'gallery_views')
3 files changed, 33 insertions, 27 deletions
diff --git a/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl b/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl index df920a0..6577994 100644 --- a/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl +++ b/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl @@ -3,16 +3,18 @@ <div class="header"> {include file="bitpackage:fisheye/gallery_icons_inc.tpl"} <h1>{$gContent->getTitle()|escape}</h1> - <div class="gallerybar"> - <div class="path"> - {assign var=breadCrumbs value=$gContent->getBreadcrumbLinks()} - {if $gGallery} - {displayname user=$gGallery->mInfo.creator_user user_id=$gGallery->mInfo.creator_user_id real_name=$gGallery->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gGallery->mInfo.user_id}">{tr}Galleries{/tr}</a> »{if $breadCrumbs}{$breadCrumbs}{else}{$gGallery->getTitle()}{/if} - {else} - {displayname user=$gContent->mInfo.creator_user user_id=$gContent->mInfo.creator_user_id real_name=$gContent->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gContent->mInfo.user_id}">{tr}Galleries{/tr}</a> » {if $breadCrumbs}{$breadCrumbs}{else}{$gContent->getTitle()}{/if} + <nav> + {assign var=breadCrumbs value=$gContent->getBreadcrumbLinks(1)} + <ol class="breadcrumb"> + <li>{displayname user=$gContent->mInfo.creator_user user_id=$gContent->mInfo.creator_user_id real_name=$gContent->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gContent->mInfo.user_id}">{tr}Galleries{/tr}</a></li> + {if $breadCrumbs} + {foreach from=$breadCrumbs item=breadTitle key=breadId} + {if $breadId==$gContent->mGalleryId}<li class="active">{$breadTitle}</li> + {else}<li><a href="#" onclick="changePhotoDrawer('{$breadId}');return false;">{$breadTitle}</a></li>{/if} + {/foreach} {/if} - </div> - </div> + </ol> + </nav> </div> diff --git a/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl b/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl index 333e58d..c2acfa2 100644 --- a/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl +++ b/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl @@ -3,16 +3,18 @@ <div class="header"> {include file="bitpackage:fisheye/gallery_icons_inc.tpl"} <h1>{$gContent->getTitle()|escape}</h1> - <div class="gallerybar"> - <div class="path"> - {assign var=breadCrumbs value=$gContent->getBreadcrumbLinks()} - {if $gGallery} - {displayname user=$gGallery->mInfo.creator_user user_id=$gGallery->mInfo.creator_user_id real_name=$gGallery->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gGallery->mInfo.user_id}">{tr}Galleries{/tr}</a> »{if $breadCrumbs}{$breadCrumbs}{else}{$gGallery->getTitle()}{/if} - {else} - {displayname user=$gContent->mInfo.creator_user user_id=$gContent->mInfo.creator_user_id real_name=$gContent->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gContent->mInfo.user_id}">{tr}Galleries{/tr}</a> » {if $breadCrumbs}{$breadCrumbs}{else}{$gContent->getTitle()}{/if} + <nav> + {assign var=breadCrumbs value=$gContent->getBreadcrumbLinks(1)} + <ol class="breadcrumb"> + <li>{displayname user=$gContent->mInfo.creator_user user_id=$gContent->mInfo.creator_user_id real_name=$gContent->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gContent->mInfo.user_id}">{tr}Galleries{/tr}</a></li> + {if $breadCrumbs} + {foreach from=$breadCrumbs item=breadTitle key=breadId} + {if $breadId==$gContent->mGalleryId}<li class="active">{$breadTitle}</li> + {else}<li><a href="#" onclick="changePhotoDrawer('{$breadId}');return false;">{$breadTitle}</a></li>{/if} + {/foreach} {/if} - </div> - </div> + </ol> + </nav> </div> diff --git a/gallery_views/simple_list/fisheye_simple_list_inc.tpl b/gallery_views/simple_list/fisheye_simple_list_inc.tpl index a697fea..192cb46 100644 --- a/gallery_views/simple_list/fisheye_simple_list_inc.tpl +++ b/gallery_views/simple_list/fisheye_simple_list_inc.tpl @@ -1,16 +1,18 @@ <div class="header"> {include file="bitpackage:fisheye/gallery_icons_inc.tpl"} <h1>{$gContent->getTitle()|escape}</h1> - <div class="gallerybar"> - <div class="path"> - {assign var=breadCrumbs value=$gContent->getBreadcrumbLinks()} - {if $gGallery} - {displayname user=$gGallery->mInfo.creator_user user_id=$gGallery->mInfo.creator_user_id real_name=$gGallery->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gGallery->mInfo.user_id}">{tr}Galleries{/tr}</a> »{if $breadCrumbs}{$breadCrumbs}{else}{$gGallery->getTitle()}{/if} - {else} - {displayname user=$gContent->mInfo.creator_user user_id=$gContent->mInfo.creator_user_id real_name=$gContent->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gContent->mInfo.user_id}">{tr}Galleries{/tr}</a> » {if $breadCrumbs}{$breadCrumbs}{else}{$gContent->getTitle()}{/if} + <nav> + {assign var=breadCrumbs value=$gContent->getBreadcrumbLinks(1)} + <ol class="breadcrumb"> + <li>{displayname user=$gContent->mInfo.creator_user user_id=$gContent->mInfo.creator_user_id real_name=$gContent->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gContent->mInfo.user_id}">{tr}Galleries{/tr}</a></li> + {if $breadCrumbs} + {foreach from=$breadCrumbs item=breadTitle key=breadId} + {if $breadId==$gContent->mGalleryId}<li class="active">{$breadTitle}</li> + {else}<li><a href="#" onclick="changePhotoDrawer('{$breadId}');return false;">{$breadTitle}</a></li>{/if} + {/foreach} {/if} - </div> - </div> + </ol> + </nav> </div> {assign var=thumbsize value='small'} |
