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/web/_views/footer.php | 4 ++++ src/web/helpers/image.php | 1 + src/web/lang/common.php | 1 + 3 files changed, 6 insertions(+) (limited to 'src/web') 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