From 7d3d7da1c4fefae275aaa52f3ae0f399e623165c Mon Sep 17 00:00:00 2001 From: xzilla Date: Sat, 17 Jun 2006 20:35:27 +0000 Subject: [PATCH] Add alt tags for images in the tral / tabs, cleans up xhtml warnings --- classes/Misc.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/classes/Misc.php b/classes/Misc.php index 69f5d2a7..e265979c 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -2,7 +2,7 @@ /** * Class to hold various commonly used functions * - * $Id: Misc.php,v 1.128 2006/05/24 04:53:40 chriskl Exp $ + * $Id: Misc.php,v 1.129 2006/06/17 20:35:27 xzilla Exp $ */ class Misc { @@ -443,7 +443,7 @@ $tablink = "printActionUrl($tab, $_REQUEST, 'href') . ">"; if (isset($tab['icon']) && $icon = $this->icon($tab['icon'])) - $tablink .= ""; + $tablink .= "\"{$tab['title']}\""; $tablink .= "{$tab['title']}"; @@ -1054,8 +1054,13 @@ $crumblink .= ">"; + if (isset($crumb['title'])) + $iconalt = $crumb['title']; + else + $iconalt = 'Database Root'; + if (isset($crumb['icon']) && $icon = $this->icon($crumb['icon'])) - $crumblink .= ""; + $crumblink .= "\"{$iconalt}\""; $crumblink .= "" . htmlspecialchars($crumb['text']) . ""; -- 2.39.5