@ -9,7 +9,7 @@
<div>
<!-- IF privileges.write -->
<button id="new_post" class="btn btn-primary {show_topic_button}">[[category:new_topic_button]]</button>
<button id="new_post" class="btn btn-primary">[[category:new_topic_button]]</button>
<!-- ENDIF privileges.write -->
<!-- IF !disableSocialButtons -->
<div class="inline-block pull-right">
@ -97,7 +97,6 @@ var db = require('./database'),
'category_description': results.category.description,
'link': results.category.link,
'disabled': results.category.disabled || '0',
'show_topic_button': 'inline-block',
'topic_row_size': 'col-md-9',
'category_id': category_id,
'active_users': results.active_users,
@ -601,7 +601,6 @@ var async = require('async'),
Topics.getUnreadTopics = function(uid, start, stop, callback) {
var unreadTopics = {
'show_sidebar': 'hidden',
'show_topic_button': 'hidden',
'show_markallread_button': 'show',
'no_topics_message': 'hidden',
'topics': []