123456789101112131415161718192021 |
- {if isset($sidenav) && $sidenav}
- <ul class="list-group">
- <li class="list-group-heading">{:__('内容管理')}</li>
- <!--如果需要直接跳转对应的模型(比如我的新闻,我的产品,发布新闻,发布产品),可以在链接后加上 ?model_id=模型ID -->
- {if in_array('myarchives', $sidenav)}
- <li class="list-group-item {:check_nav_active('cms.archives/my')}"><a href="{:url('index/cms.archives/my')}"><i class="fa fa-newspaper-o fa-fw"></i> {:__('我发布的文档')}</a></li>
- {/if}
- {if in_array('postarchives', $sidenav)}
- <li class="list-group-item {:check_nav_active('cms.archives/post')}"><a href="{:url('index/cms.archives/post')}"><i class="fa fa-pencil fa-fw"></i> {:__('发布文档')}</a></li>
- {/if}
- {if in_array('myorder', $sidenav)}
- <li class="list-group-item {:check_nav_active('cms.order/index')}"><a href="{:url('index/cms.order/index')}"><i class="fa fa-shopping-bag fa-fw"></i> {:__('我的消费订单')}</a></li>
- {/if}
- {if in_array('mycomment', $sidenav)}
- <li class="list-group-item {:check_nav_active('cms.comment/index')}"><a href="{:url('index/cms.comment/index')}"><i class="fa fa-comments fa-fw"></i> {:__('我发表的评论')}</a></li>
- {/if}
- {if in_array('mycollection', $sidenav)}
- <li class="list-group-item {:check_nav_active('cms.collection/index')}"><a href="{:url('index/cms.collection/index')}"><i class="fa fa-bookmark fa-fw"></i> {:__('我的收藏')}</a></li>
- {/if}
- </ul>
- {/if}
|