mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
print folder of document in extra row below title of document
This commit is contained in:
parent
156354ac76
commit
621317def2
|
@ -500,14 +500,16 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
|
||||||
print "<img class=\"mimeicon\" width=\"".$previewwidth."\" src=\"".$this->getMimeIcon($lc->getFileType())."\" title=\"".htmlspecialchars($lc->getMimeType())."\">";
|
print "<img class=\"mimeicon\" width=\"".$previewwidth."\" src=\"".$this->getMimeIcon($lc->getFileType())."\" title=\"".htmlspecialchars($lc->getMimeType())."\">";
|
||||||
}
|
}
|
||||||
print "</a></td>";
|
print "</a></td>";
|
||||||
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()."\">";
|
||||||
|
print $docName;
|
||||||
|
print "</a>";
|
||||||
|
print "<br /><span style=\"font-size: 85%;\">".getMLText('in_folder').": /";
|
||||||
$folder = $document->getFolder();
|
$folder = $document->getFolder();
|
||||||
$path = $folder->getPath();
|
$path = $folder->getPath();
|
||||||
for ($i = 1; $i < count($path); $i++) {
|
for ($i = 1; $i < count($path); $i++) {
|
||||||
print htmlspecialchars($path[$i]->getName())."/";
|
print htmlspecialchars($path[$i]->getName())."/";
|
||||||
}
|
}
|
||||||
print $docName;
|
print "</span>";
|
||||||
print "</a>";
|
|
||||||
print "<br /><span style=\"font-size: 85%; font-style: italic; color: #666; \">".getMLText('owner').": <b>".htmlspecialchars($owner->getFullName())."</b>, ".getMLText('creation_date').": <b>".date('Y-m-d', $document->getDate())."</b>, ".getMLText('version')." <b>".$version."</b> - <b>".date('Y-m-d', $lc->getDate())."</b></span>";
|
print "<br /><span style=\"font-size: 85%; font-style: italic; color: #666; \">".getMLText('owner').": <b>".htmlspecialchars($owner->getFullName())."</b>, ".getMLText('creation_date').": <b>".date('Y-m-d', $document->getDate())."</b>, ".getMLText('version')." <b>".$version."</b> - <b>".date('Y-m-d', $lc->getDate())."</b></span>";
|
||||||
if($comment) {
|
if($comment) {
|
||||||
print "<br /><span style=\"font-size: 85%;\">".htmlspecialchars($comment)."</span>";
|
print "<br /><span style=\"font-size: 85%;\">".htmlspecialchars($comment)."</span>";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user