Commit 27020a1f37a7de462886b5fa6f2af1d0a38c8ce9
1 parent
33a725dc
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
Showing
1 changed file
with
2 additions
and
2 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
| ... | ... | @@ -386,7 +386,7 @@ function displayButton($sAction, $sQueryString, $sImageName, $sDisabledText = "" |
| 386 | 386 | if ($bActive) { |
| 387 | 387 | $sImage .= "$sImageName.gif\""; |
| 388 | 388 | } else { |
| 389 | - $sImage .= "disabled-$sImageName.gif\" alt=\"$sDisabledText\""; | |
| 389 | + $sImage .= "disabled-$sImageName.gif\" title=\"$sDisabledText\""; | |
| 390 | 390 | } |
| 391 | 391 | $sImage .= "/>"; |
| 392 | 392 | if ($bActive) { |
| ... | ... | @@ -399,7 +399,7 @@ function displayButton($sAction, $sQueryString, $sImageName, $sDisabledText = "" |
| 399 | 399 | function displayViewButton($oDocument, $bEdit) { |
| 400 | 400 | global $default; |
| 401 | 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 | 405 | function displayCheckInOutButton($oDocument, $bEdit) { | ... | ... |