mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-09 19:38:57 +00:00
output some more data (orig filename, document id, document name)
This commit is contained in:
parent
4bba138184
commit
181dd2c3ff
|
@ -199,6 +199,18 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
||||||
// $this->contentContainerStart();
|
// $this->contentContainerStart();
|
||||||
?>
|
?>
|
||||||
<table class="table table-condensed table-sm">
|
<table class="table table-condensed table-sm">
|
||||||
|
<?php
|
||||||
|
if($user->isAdmin()) {
|
||||||
|
echo "<tr>";
|
||||||
|
echo "<td>".getMLText("id").":</td>\n";
|
||||||
|
echo "<td>".htmlspecialchars($document->getID())."</td>\n";
|
||||||
|
echo "</tr>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<tr>
|
||||||
|
<td><?php printMLText("name");?>:</td>
|
||||||
|
<td><?php $this->printInlineEditDocumentName(htmlspecialchars($document->getName()), $document);?></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php printMLText("owner");?>:</td>
|
<td><?php printMLText("owner");?>:</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -325,6 +337,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
||||||
$this->columnEnd();
|
$this->columnEnd();
|
||||||
$this->columnStart(5);
|
$this->columnStart(5);
|
||||||
print "<ul class=\"unstyled\">\n";
|
print "<ul class=\"unstyled\">\n";
|
||||||
|
print "<li>".htmlspecialchars($version->getOriginalFileName())."</li>";
|
||||||
print "<li>".getMLText('version').": ".$version->getVersion()."</li>\n";
|
print "<li>".getMLText('version').": ".$version->getVersion()."</li>\n";
|
||||||
|
|
||||||
if ($file_exists)
|
if ($file_exists)
|
||||||
|
@ -599,7 +612,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Theme_Style {
|
||||||
$this->contentHeading(getMLText("status"));
|
$this->contentHeading(getMLText("status"));
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
$statuslog = $version->getStatusLog();
|
$statuslog = $version->getStatusLog();
|
||||||
echo "<table class=\"table table-condensed\"><thead>";
|
echo "<table class=\"table table-condensed table-sm\"><thead>";
|
||||||
echo "<th>".getMLText('date')."</th><th>".getMLText('status')."</th><th>".getMLText('user')."</th><th>".getMLText('comment')."</th></tr>\n";
|
echo "<th>".getMLText('date')."</th><th>".getMLText('status')."</th><th>".getMLText('user')."</th><th>".getMLText('comment')."</th></tr>\n";
|
||||||
echo "</thead><tbody>";
|
echo "</thead><tbody>";
|
||||||
foreach($statuslog as $entry) {
|
foreach($statuslog as $entry) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user