From 747d741293e064a979d7bf6c143ef969ea6d7629 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 24 May 2026 20:49:44 +0000
Subject: [PATCH] =GMBReview block minor tweaks. Refactored ReferralManager.php and ReferralRoutes.php to utilize the manager for all logic, and CustomTable for table interactions.
---
base/email.php | 34 ++++++++--------------------------
1 files changed, 8 insertions(+), 26 deletions(-)
diff --git a/base/email.php b/base/email.php
index 81865b2..4a52d35 100644
--- a/base/email.php
+++ b/base/email.php
@@ -1,37 +1,19 @@
<?php
+$name = get_bloginfo('name');
+$desc = get_bloginfo('description');
$defaults = [
- 'colours' => [
- 'action-0' => '#ff0080',
- 'action-50' => '#ff2492',
- 'action-100' => '#ff47a4',
- 'action-200' => '#ff6bb5',
- 'secondary-0' => '#D69121',
- 'secondary-50' => '#ffc421',
- 'secondary-100' => '#ffcd44',
- 'secondary-200' => '#ffd768',
- 'light' => '#efefef',
- 'light-50' => '#e2e2e2',
- 'light-100' => '#d5d5d5',
- 'light-200' => '#c9c9c9',
- 'dark' => '#151515',
- 'dark-50' => '#222222',
- 'dark-100' => '#2e2e2e',
- 'dark-200' => '#3b3b3b',
- 'action-contrast'=> '',
- 'secondary-contrast'=> '',
- ],
'content' => [
- 'title' => get_bloginfo('name'),
- 'subjectPrefix' => '['.get_bloginfo('name').']',
- 'signature' => '<p>  — ♡ the edmonton.ink crew</p>',
+ 'title' => $name,
+ 'subjectPrefix' => '['.$name.']',
+ 'signature' => '<p>  — ♡ '.$name.'</p>',
'footer' => [
- '<p>© ' . date('Y') . ' edmonton.ink — Your tattoo scene on your screen.</p>',
- '<p><a href="' . get_home_url() . '" class="text-link">edmonton.ink</a></p>'
+ '<p>© ' . date('Y') . ' '.$name.' — '.$desc.'</p>',
+ '<p><a href="' . get_home_url() . '" class="text-link">'.get_home_url().'</a></p>'
]
],
'types' => [
'newUser' => [
- 'subject' => 'Welcome to Legacy! Finish creating your account.',
+ 'subject' => 'Welcome to '.get_bloginfo('name').'! Finish creating your account.',
'showPrefix' => true,
],
'resetPass' => [
--
Gitblit v1.10.0