summaryrefslogtree/nfs/website.git//.wiki commitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/web/_views/footer.php4
-rw-r--r--src/web/helpers/image.php1
-rw-r--r--src/web/lang/common.php1
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';