From 7a9054bb3f033c98067b3196378311dae54c5fbf Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 20 Jan 2026 01:31:53 +0000
Subject: [PATCH] =OperationQueue refactor to the JVBase/managers/queue namespace
---
inc/EmbedGenerator.php | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/inc/EmbedGenerator.php b/inc/EmbedGenerator.php
index 1e15dce..faac311 100644
--- a/inc/EmbedGenerator.php
+++ b/inc/EmbedGenerator.php
@@ -67,7 +67,7 @@
$legacy_url = 'https://legacytattooremoval.ca';
// Build HTML with structured data for SEO
- $html = <<<HTML
+ return <<<HTML
<!-- edmonton.ink Artist Badge - Start -->
<div id="$container_id" class="jvb-badge" style="max-width:200px; margin:12px auto; text-align:center;">
<a href="$profile_url" target="_blank" rel="noopener"
@@ -117,7 +117,6 @@
</div>
<!-- edmonton.ink Artist Badge - End -->
HTML;
- return $html;
}
/**
@@ -133,7 +132,7 @@
$container_id = 'jvb-badge' . $this->user_id;
$legacy_url = 'https://legacytattooremoval.ca';
- $html = <<<HTML
+ return <<<HTML
<!-- edmonton.ink Artist Badge - Start -->
<div id="$container_id" style="max-width:150px; text-align:center;">
<a href="$profile_url" target="_blank" rel="noopener"
@@ -160,8 +159,6 @@
</div>
<!-- edmonton.ink Artist Badge - End -->
HTML;
-
- return $html;
}
/**
@@ -199,7 +196,7 @@
$container_id = 'jvb-badge-img-' . $this->user_id;
$legacy_url = 'https://legacytattooremoval.ca';
- $html = <<<HTML
+ return <<<HTML
<!-- edmonton.ink Artist Badge - Start -->
<div id="$container_id" style="display:inline-block;">
<a href="$profile_url" target="_blank" rel="noopener"
@@ -229,8 +226,6 @@
</div>
<!-- edmonton.ink Artist Badge - End -->
HTML;
-
- return $html;
}
/**
@@ -245,7 +240,7 @@
$image_only_code = htmlspecialchars($this->getImageOnlyEmbedCode(), ENT_QUOTES, 'UTF-8');
$preview = $this->getEmbedCode();
- $html = <<<HTML
+ return <<<HTML
<div class="jvb-embed-code-container">
<h3>Embed Code for Your Website</h3>
<p>Copy this code to your website to show your edmonton.ink verified status and link back to your profile.</p>
@@ -303,7 +298,5 @@
</div>
</div>
HTML;
-
- return $html;
}
}
--
Gitblit v1.10.0