removed unused stuff from getLatestTopics and recent.tpl

v1.18.x
Baris Usakli 11 years ago
parent 156950ac2f
commit 7d3adb9275

@ -1,7 +1,6 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li><a href="/">Home</a></li> <li><a href="/">Home</a></li>
<li class="active">{category_name}</li> <li class="active">Recent</li>
<div id="category_active_users"></div>
</ol> </ol>
<ul class="nav nav-pills"> <ul class="nav nav-pills">
@ -21,7 +20,7 @@
</div> </div>
<div class="category row"> <div class="category row">
<div class="{topic_row_size}"> <div class="col-md-12">
<ul id="topics-container"> <ul id="topics-container">
<!-- BEGIN topics --> <!-- BEGIN topics -->
<li class="category-item {topics.deleted-class}"> <li class="category-item {topics.deleted-class}">

@ -226,12 +226,7 @@ var RDB = require('./redis.js'),
} }
var latestTopics = { var latestTopics = {
'category_name': 'Recent',
'show_sidebar': 'hidden',
'show_topic_button': 'hidden',
'no_topics_message': 'hidden', 'no_topics_message': 'hidden',
'topic_row_size': 'col-md-12',
'category_id': false,
'topics': [] 'topics': []
}; };

Loading…
Cancel
Save