[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 19 Jan 2004 16:53:34 -0000


matthew		Mon Jan 19 11:53:35 2004 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Added link titles for the help/bug/faq icons.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.174 loncom/interface/loncommon.pm:1.175
--- loncom/interface/loncommon.pm:1.174	Thu Jan 15 14:25:25 2004
+++ loncom/interface/loncommon.pm	Mon Jan 19 11:53:34 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.174 2004/01/15 19:25:25 matthew Exp $
+# $Id: loncommon.pm,v 1.175 2004/01/19 16:53:34 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -593,7 +593,7 @@
 
     # Add the graphic
     $template .= <<"ENDTEMPLATE";
- <a href="$link"><image src="/adm/help/gif/smallHelp.gif" border="0" alt="(Help: $topic)" /></a>
+ <a href="$link" title="Online Help"><image src="/adm/help/gif/smallHelp.gif" border="0" alt="(Help: $topic)" /></a>
 ENDTEMPLATE
     if ($text ne '') { $template.='</td></tr></table>' };
     return $template;
@@ -646,7 +646,6 @@
     {
 	$link = $url;
     }
-
     # Add the text
     if ($text ne "")
     {
@@ -657,7 +656,7 @@
 
     # Add the graphic
     $template .= <<"ENDTEMPLATE";
- <a href="$link"><image src="/adm/lonMisc/smallBug.gif" border="0" alt="(Bug: $topic)" /></a>
+ <a href="$link" title="Report a Bug"><image src="/adm/lonMisc/smallBug.gif" border="0" alt="(Bug: $topic)" /></a>
 ENDTEMPLATE
     if ($text ne '') { $template.='</td></tr></table>' };
     return $template;
@@ -700,7 +699,7 @@
 
     # Add the graphic
     $template .= <<"ENDTEMPLATE";
- <a href="$link"><image src="/adm/lonMisc/smallFAQ.gif" border="0" alt="(FAQ: $topic)" /></a>
+ <a href="$link" title="View the FAQ"><image src="/adm/lonMisc/smallFAQ.gif" border="0" alt="(FAQ: $topic)" /></a>
 ENDTEMPLATE
     if ($text ne '') { $template.='</td></tr></table>' };
     return $template;