public static function addAdminSettings($params = array()) { $params['DisclaimerContent'] = CMA_Thread::getDisclaimerContent(); $params['DisclaimerContentAccept'] = CMA_Thread::getDisclaimerContentAccept(); $params['DisclaimerContentReject'] = CMA_Thread::getDisclaimerContentReject(); $params['DisclaimerApproved'] = CMA_Thread::isDisclaimerEnabled(); $params['sidebarBeforeWidget'] = CMA_Thread::getSidebarSettings('before_widget'); $params['sidebarAfterWidget'] = CMA_Thread::getSidebarSettings('after_widget'); $params['sidebarBeforeTitle'] = CMA_Thread::getSidebarSettings('before_title'); $params['sidebarAfterTitle'] = CMA_Thread::getSidebarSettings('after_title'); $params['sidebarEnable'] = CMA_Thread::isSidebarEnabled(); $params['sidebarContributorEnable'] = CMA_Thread::isSidebarContributorEnabled(); $params['sidebarMaxWidth'] = CMA_Thread::getSidebarMaxWidth(); $params['referralEnable'] = CMA_Thread::isReferralEnabled(); $params['affiliateCode'] = CMA_Thread::getAffiliateCode(); $params['customCSS'] = CMA_Thread::getCustomCss(); $params['spamFilter'] = CMA_Thread::getSpamFilter(); return $params; }