From 6a2f68354009082148e09f5c82a29d1b17f69190 Mon Sep 17 00:00:00 2001 From: jervfors Date: Fri, 16 Mar 2007 08:52:48 +0000 Subject: [PATCH] All images must have an alternate text. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12337 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/template/general_util.php | 5 ++--- templates/default_advanced/login.tpl | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/functions/template/general_util.php b/functions/template/general_util.php index bfc50caa..1711c155 100644 --- a/functions/template/general_util.php +++ b/functions/template/general_util.php @@ -79,7 +79,7 @@ function create_css_link($uri, $name='', $alt=TRUE, $mtype='screen') { * @param string $icon_theme_path User's chosen icon set * @param string $icon_name File name of the desired icon * @param string $text_icon Text-based icon to display if desired - * @param string $alt_text Optional. Text for alt/title attribute of image + * @param string $alt_text Text for alt/title attribute of image * @param integer $w Optional. Width of requested image. * @param integer $h Optional. Height of requested image. * @@ -87,9 +87,8 @@ function create_css_link($uri, $name='', $alt=TRUE, $mtype='screen') { * * @author Steve Brown * @since 1.5.2 - * */ -function getIcon($icon_theme_path, $icon_name, $text_icon, $alt_text='', $w=NULL, $h=NULL) { +function getIcon($icon_theme_path, $icon_name, $text_icon, $alt_text, $w=NULL, $h=NULL) { $icon = ''; if (is_null($icon_theme_path)) { $icon = $text_icon; diff --git a/templates/default_advanced/login.tpl b/templates/default_advanced/login.tpl index c662c0bf..9c5c0126 100644 --- a/templates/default_advanced/login.tpl +++ b/templates/default_advanced/login.tpl @@ -34,7 +34,7 @@ extract($t); @@ -49,7 +49,7 @@ extract($t);
- +
-- 2.25.1