|
|
|
@ -88,14 +88,12 @@ library.defineWidgetAreas = function(areas, callback) {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
library.getThemeConfig = function(config, callback) {
|
|
|
|
|
|
|
|
|
|
meta.settings.get('persona', function(err, settings) {
|
|
|
|
|
config.hideSubCategories = settings.hideSubCategories === 'on';
|
|
|
|
|
config.hideCategoryLastPost = settings.hideCategoryLastPost === 'on';
|
|
|
|
|
config.enableQuickReply = settings.enableQuickReply === 'on';
|
|
|
|
|
callback(null, config);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
callback(false, config);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
function renderAdmin(req, res, next) {
|
|
|
|
|