|
|
|
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
|
|
<div widget-area="header">
|
|
|
|
<!-- BEGIN widgets.header -->
|
|
|
|
{{widgets.header.html}}
|
|
|
|
<!-- END widgets.header -->
|
|
|
|
</div>
|
|
|
|
<div class="popular">
|
|
|
|
<div class="btn-toolbar">
|
|
|
|
<div class="pull-left">
|
|
|
|
<!-- IF loggedIn -->
|
|
|
|
<button component="category/post" id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
|
|
|
|
<!-- ELSE -->
|
|
|
|
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
|
|
<!-- ENDIF loggedIn -->
|
|
|
|
</div>
|
|
|
|
<ul class="nav nav-pills pull-right" component="popular/tab">
|
|
|
|
<li><a href='{config.relative_path}/popular/daily'>[[recent:day]]</a></li>
|
|
|
|
<li><a href='{config.relative_path}/popular/weekly'>[[recent:week]]</a></li>
|
|
|
|
<li><a href='{config.relative_path}/popular/monthly'>[[recent:month]]</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<div class="category">
|
|
|
|
<!-- IF !topics.length -->
|
|
|
|
<div class="alert alert-warning" id="category-no-topics">[[recent:no_popular_topics]]</div>
|
|
|
|
<!-- ENDIF !topics.length -->
|
|
|
|
|
|
|
|
<!-- IMPORT partials/topics_list.tpl -->
|
|
|
|
|
|
|
|
<!-- IF config.usePagination -->
|
|
|
|
<!-- IMPORT partials/paginator.tpl -->
|
|
|
|
<!-- ENDIF config.usePagination -->
|
|
|
|
</div>
|
|
|
|
</div>
|