mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-10-05 15:42:22 +00:00
fix download link
the link did not contain the right version number
This commit is contained in:
parent
5059d5d456
commit
c7b551e0ae
|
@ -91,7 +91,7 @@ class SeedDMS_View_SearchFulltext extends SeedDMS_Bootstrap_Style {
|
||||||
else {
|
else {
|
||||||
$lc = $document->getLatestContent();
|
$lc = $document->getLatestContent();
|
||||||
print "<tr>";
|
print "<tr>";
|
||||||
print "<td><a href=\"../op/op.Download.php?documentid=".$docID."&version=".$version."\"><img class=\"mimeicon\" src=\"".$this->getMimeIcon($lc->getFileType())."\" title=\"".htmlspecialchars($lc->getMimeType())."\"></a></td>";
|
print "<td><a href=\"../op/op.Download.php?documentid=".$docID."&version=".$lc->getVersion()."\"><img class=\"mimeicon\" src=\"".$this->getMimeIcon($lc->getFileType())."\" title=\"".htmlspecialchars($lc->getMimeType())."\"></a></td>";
|
||||||
$docName = htmlspecialchars($document->getName());
|
$docName = htmlspecialchars($document->getName());
|
||||||
print "<td><a class=\"standardText\" href=\"../out/out.ViewDocument.php?documentid=".$document->getID()."\">/";
|
print "<td><a class=\"standardText\" href=\"../out/out.ViewDocument.php?documentid=".$document->getID()."\">/";
|
||||||
$folder = $document->getFolder();
|
$folder = $document->getFolder();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user