From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.

---
 JVBase.php |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/JVBase.php b/JVBase.php
index 4c0bac8..28efe56 100644
--- a/JVBase.php
+++ b/JVBase.php
@@ -151,7 +151,7 @@
 			$this->managers['notifications'] = new NotificationManager();
 			$this->routes['notifications'] = new NotificationsRoutes();
 		}
-		if (!empty(Registrar::getFeatured('approve_new'))) {
+		if (!empty(Registrar::withFeature('approve_new'))) {
 			$this->managers['approvals'] = new ApprovalManager();
 		}
 		if (Site::has('feed_block') || Site::has('dashboard')) {
@@ -183,13 +183,13 @@
 		if ($membership && $membership->has('invitable')) {
 			$this->managers['invitations'] = new InvitationsManager();
 		}
-		if (!empty(Registrar::getFeatured('has_responses'))) {
+		if (!empty(Registrar::withFeature('has_responses'))) {
 			$this->routes['comments'] = new ResponseRoutes();
 		}
-		if (!empty(Registrar::getFeatured('karma'))) {
+		if (!empty(Registrar::withFeature('karma'))) {
 			$this->routes['vote'] = new VoteRoutes();
 		}
-		if (!empty(Registrar::getFeatured('karma'))
+		if (!empty(Registrar::withFeature('karma'))
 			|| ($membership && $membership->has('member_verified')) ||
             ($membership && $membership->has('term_approval'))) {
 			$this->routes['approvals'] = new ApprovalRoutes();
@@ -365,7 +365,7 @@
 
 		if (!empty ($buttons)) {
 			?>
-			<section class="additional-actions">
+			<section class="main-actions">
 				<div class="buttons col">
 					<?= implode($buttons); ?>
 				</div>

--
Gitblit v1.10.0