diff options
author | Freya Murphy <freya@freyacat.org> | 2024-09-24 17:30:28 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-09-24 17:30:28 -0400 |
commit | 941e525f8e865713f4011108f17309d2474f7054 (patch) | |
tree | 5cc2e03223a7ea1210d42af1f4abd17772124edb /src/web | |
parent | fix sitemap, drop old tables (diff) | |
download | website-941e525f8e865713f4011108f17309d2474f7054.tar.gz website-941e525f8e865713f4011108f17309d2474f7054.tar.bz2 website-941e525f8e865713f4011108f17309d2474f7054.zip |
add eff button
Diffstat (limited to 'src/web')
-rw-r--r-- | src/web/_views/footer.php | 4 | ||||
-rw-r--r-- | src/web/helpers/image.php | 1 | ||||
-rw-r--r-- | src/web/lang/common.php | 1 |
3 files changed, 6 insertions, 0 deletions
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 @@ <?=image('buttons/eyes', 'alt_button_eyes', animated: TRUE, width: '88', height: '30')?> <?=image('buttons/vim', 'alt_button_vim', animated: TRUE, width: '88', height: '30')?> <?=image('buttons/gnu-linux', 'alt_button_gnu_linux', width: '88', height: '30')?> + <a href="https://www.eff.org/join"> + <?=image('buttons/eff', 'alt_button_eff', width: '96', height: '30')?> + </a> <a href="https://citrons.xyz/a/memetic-apioform-page.html"> <?=image('buttons/apiopage', 'alt_button_apiopage', width: '81', height: '30')?> </a> @@ -36,6 +39,7 @@ <iframe height="40" class="bucket" + scrolling="no" title="<?=lang('bucket_title')?>" src="<?=$this->get_url('bucket?name=freya')?>" ></iframe> 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'; |