diff --git a/views/bootstrap/class.DocumentVersionDetail.php b/views/bootstrap/class.DocumentVersionDetail.php index 760cb20cb..f39e03a9f 100644 --- a/views/bootstrap/class.DocumentVersionDetail.php +++ b/views/bootstrap/class.DocumentVersionDetail.php @@ -176,7 +176,9 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style { print "
  • getID()."&version=".$version->getVersion()."\" title=\"".htmlspecialchars($version->getMimeType())."\"> ".getMLText("download").""; if ($viewonlinefiletypes && in_array(strtolower($version->getFileType()), $viewonlinefiletypes)) print "
  • getID()."&version=".$version->getVersion()."\"> " . getMLText("view_online") . ""; - }else print "
  • getMimeIcon($version->getFileType())."\" title=\"".htmlspecialchars($version->getMimeType())."\"> "; + print ""; + print ""; echo ""; @@ -888,9 +888,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { print "
  • getVersion()."\">".getMLText("download").""; if ($viewonlinefiletypes && in_array(strtolower($version->getFileType()), $viewonlinefiletypes)) print "
  • getVersion()."\">" . getMLText("view_online") . ""; + print ""; + print ""; - print ""; print "\n\n"; }