Commit a9a71e6e2f71969f062f2f5c2e649621127c21e9

Authored by Michael Joseph
1 parent 8012b674

changed alt to title (standards compliant)


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2735 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
@@ -386,7 +386,7 @@ function displayButton($sAction, $sQueryString, $sImageName, $sDisabledText = "" @@ -386,7 +386,7 @@ function displayButton($sAction, $sQueryString, $sImageName, $sDisabledText = ""
386 if ($bActive) { 386 if ($bActive) {
387 $sImage .= "$sImageName.gif\""; 387 $sImage .= "$sImageName.gif\"";
388 } else { 388 } else {
389 - $sImage .= "disabled-$sImageName.gif\" alt=\"$sDisabledText\""; 389 + $sImage .= "disabled-$sImageName.gif\" title=\"$sDisabledText\"";
390 } 390 }
391 $sImage .= "/>"; 391 $sImage .= "/>";
392 if ($bActive) { 392 if ($bActive) {
@@ -399,7 +399,7 @@ function displayButton($sAction, $sQueryString, $sImageName, $sDisabledText = "" @@ -399,7 +399,7 @@ function displayButton($sAction, $sQueryString, $sImageName, $sDisabledText = ""
399 function displayViewButton($oDocument, $bEdit) { 399 function displayViewButton($oDocument, $bEdit) {
400 global $default; 400 global $default;
401 $sViewAlert = "This will download a copy of the document and is not the same as Checking Out a document. Changes to this downloaded file will not be managed in the DMS."; 401 $sViewAlert = "This will download a copy of the document and is not the same as Checking Out a document. Changes to this downloaded file will not be managed in the DMS.";
402 - return "<tr><td align=\"left\"><a onClick=\"alert('$sViewAlert '); return true;\" href=\"" . generateControllerLink("downloadDocument", "fDocumentID=" . $oDocument->getID()) . "\"><img src=\"$default->graphicsUrl/widgets/docactions/view.gif\" border=\"0\" alt=\"View the document\"/></a></td></tr>\n"; 402 + return "<tr><td align=\"left\"><a onClick=\"alert('$sViewAlert '); return true;\" href=\"" . generateControllerLink("downloadDocument", "fDocumentID=" . $oDocument->getID()) . "\"><img src=\"$default->graphicsUrl/widgets/docactions/view.gif\" border=\"0\" title=\"View the document\"/></a></td></tr>\n";
403 } 403 }
404 404
405 function displayCheckInOutButton($oDocument, $bEdit) { 405 function displayCheckInOutButton($oDocument, $bEdit) {