From 748b8e02e8874c9ca61bcc67b2c1316a8594350b Mon Sep 17 00:00:00 2001 From: Random Penguin <25882519-randompenguin@users.noreply.gitlab.com> Date: Sun, 23 Mar 2025 14:00:16 -0500 Subject: [PATCH] Upload New File --- postbox.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 postbox.php diff --git a/postbox.php b/postbox.php new file mode 100644 index 0000000..daedf81 --- /dev/null +++ b/postbox.php @@ -0,0 +1,21 @@ + + */ + +use Friendica\Core\Hook; +use Friendica\DI; + +function postbox_install() +{ + Hook::register('head', __FILE__, 'postbox_head'); +} +function postbox_head(string &$b) +{ + // Add Postbox Styling to Header + $box_styles = __DIR__ . '/postbox.css'; + DI::page()->registerStylesheet($box_styles); +} \ No newline at end of file