tpl changes

main
Barış Soner Uşaklı 7 years ago
parent 47958d9d35
commit b6741850e0

@ -5,11 +5,20 @@
<!-- END widgets.header -->
</div>
<div class="popular">
<ul class="nav nav-pills" component="popular/tab">
<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 />

@ -1,10 +1,8 @@
<!-- IMPORT partials/breadcrumbs.tpl -->
<div class="tag">
<div class="clearfix">
<div class="btn-toolbar">
<div class="pull-left">
<!-- IMPORT partials/breadcrumbs.tpl -->
</div>
<div class="pull-right">
<!-- IF loggedIn -->
<button component="category/post" id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
<!-- ELSE -->

Loading…
Cancel
Save