From 941e525f8e865713f4011108f17309d2474f7054 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 24 Sep 2024 17:30:28 -0400 Subject: add eff button --- src/public/buttons/eff.png | Bin 0 -> 696 bytes src/public/buttons/eff.webp | Bin 0 -> 556 bytes src/public/css/bucket/legacy.css | 1 + src/public/img/background.png | Bin 0 -> 12233 bytes src/web/_views/footer.php | 4 ++++ src/web/helpers/image.php | 1 + src/web/lang/common.php | 1 + 7 files changed, 7 insertions(+) create mode 100644 src/public/buttons/eff.png create mode 100644 src/public/buttons/eff.webp create mode 100644 src/public/css/bucket/legacy.css create mode 100644 src/public/img/background.png diff --git a/src/public/buttons/eff.png b/src/public/buttons/eff.png new file mode 100644 index 0000000..26c742d Binary files /dev/null and b/src/public/buttons/eff.png differ diff --git a/src/public/buttons/eff.webp b/src/public/buttons/eff.webp new file mode 100644 index 0000000..777db78 Binary files /dev/null and b/src/public/buttons/eff.webp differ diff --git a/src/public/css/bucket/legacy.css b/src/public/css/bucket/legacy.css new file mode 100644 index 0000000..9075e82 --- /dev/null +++ b/src/public/css/bucket/legacy.css @@ -0,0 +1 @@ +#webring{height:5px} diff --git a/src/public/img/background.png b/src/public/img/background.png new file mode 100644 index 0000000..d834400 Binary files /dev/null and b/src/public/img/background.png differ diff --git a/src/web/_views/footer.php b/src/web/_views/footer.php index f451bfd..a105f61 100644 --- a/src/web/_views/footer.php +++ b/src/web/_views/footer.php @@ -22,6 +22,9 @@ + + + @@ -36,6 +39,7 @@ diff --git a/src/web/helpers/image.php b/src/web/helpers/image.php index ec867b8..d4683fe 100644 --- a/src/web/helpers/image.php +++ b/src/web/helpers/image.php @@ -73,6 +73,7 @@ function image( if ($alt) { $alt = lang($alt); $attrs['alt'] = $alt; + $attrs['title'] = $alt; } if ($width) { $attrs['width'] = $width; diff --git a/src/web/lang/common.php b/src/web/lang/common.php index 442e4c1..8101138 100644 --- a/src/web/lang/common.php +++ b/src/web/lang/common.php @@ -28,6 +28,7 @@ $lang['action_blog_tip'] = 'View my blog'; $lang['alt_button_eyes'] = 'Best viewed with eyes'; $lang['alt_button_vim'] = 'Edited with VIM'; $lang['alt_button_gnu_linux'] = 'Made with GNU/Linux'; +$lang['alt_button_eff'] = 'Support the Electronic Frontier Foundation!'; $lang['alt_button_apiopage'] = 'Memetic apiopage'; $lang['alt_website_logo'] = 'Website Logo'; -- cgit v1.2.3-freya