Commit 4725e4f4cd0ecfddfd817bac9edbd094615f87c1
1 parent
81276baf
KTC-212
"The pdf-Adobe icon does not appear in IE (6 & 7)" Fixed. Changed to using gif icon instead of png icon. Committed By: Kevin Fourie Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9355 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktstandard/PDFGeneratorAction.php
| ... | ... | @@ -76,7 +76,7 @@ class PDFGeneratorAction extends KTDocumentAction { |
| 76 | 76 | global $default; |
| 77 | 77 | $sHostPath = "http" . ($default->sslEnabled ? "s" : "") . "://".$_SERVER['HTTP_HOST']."/".$GLOBALS['KTRootUrl']."/"; |
| 78 | 78 | // create image |
| 79 | - $icon = "<img src='".$sHostPath."resources/mimetypes/pdf.png' alt='PDF' border=0/>"; | |
| 79 | + $icon = "<img src='".$sHostPath."resources/mimetypes/pdf.gif' alt='PDF' border=0/>"; | |
| 80 | 80 | return _kt('Generate PDF') . " <a href=\"" . KTUtil::ktLink( 'action.php', 'ktstandard.pdf.generate', array( "fDocumentId" => $this->oDocument->getId(), "action" => "pdfdownload") ) . "\" $icon</a>"; |
| 81 | 81 | } |
| 82 | 82 | } | ... | ... |