add eff button

This commit is contained in:
Freya Murphy 2024-09-24 17:30:28 -04:00
parent f52c257d41
commit 941e525f8e
Signed by: freya
GPG key ID: 744AB800E383AE52
7 changed files with 7 additions and 0 deletions

BIN
src/public/buttons/eff.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

BIN
src/public/buttons/eff.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

View file

@ -0,0 +1 @@
#webring{height:5px}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -22,6 +22,9 @@
<?=image('buttons/eyes', 'alt_button_eyes', animated: TRUE, width: '88', height: '30')?> <?=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/vim', 'alt_button_vim', animated: TRUE, width: '88', height: '30')?>
<?=image('buttons/gnu-linux', 'alt_button_gnu_linux', 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"> <a href="https://citrons.xyz/a/memetic-apioform-page.html">
<?=image('buttons/apiopage', 'alt_button_apiopage', width: '81', height: '30')?> <?=image('buttons/apiopage', 'alt_button_apiopage', width: '81', height: '30')?>
</a> </a>
@ -36,6 +39,7 @@
<iframe <iframe
height="40" height="40"
class="bucket" class="bucket"
scrolling="no"
title="<?=lang('bucket_title')?>" title="<?=lang('bucket_title')?>"
src="<?=$this->get_url('bucket?name=freya')?>" src="<?=$this->get_url('bucket?name=freya')?>"
></iframe> ></iframe>

View file

@ -73,6 +73,7 @@ function image(
if ($alt) { if ($alt) {
$alt = lang($alt); $alt = lang($alt);
$attrs['alt'] = $alt; $attrs['alt'] = $alt;
$attrs['title'] = $alt;
} }
if ($width) { if ($width) {
$attrs['width'] = $width; $attrs['width'] = $width;

View file

@ -28,6 +28,7 @@ $lang['action_blog_tip'] = 'View my blog';
$lang['alt_button_eyes'] = 'Best viewed with eyes'; $lang['alt_button_eyes'] = 'Best viewed with eyes';
$lang['alt_button_vim'] = 'Edited with VIM'; $lang['alt_button_vim'] = 'Edited with VIM';
$lang['alt_button_gnu_linux'] = 'Made with GNU/Linux'; $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_button_apiopage'] = 'Memetic apiopage';
$lang['alt_website_logo'] = 'Website Logo'; $lang['alt_website_logo'] = 'Website Logo';