mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
- added title tag to icons
- show id if logged in as admin
This commit is contained in:
parent
586751c4e3
commit
3833e0da1a
|
@ -129,6 +129,14 @@ class LetoDMS_View_ViewDocument extends LetoDMS_Bootstrap_Style {
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
?>
|
?>
|
||||||
<table class="table-condensed">
|
<table class="table-condensed">
|
||||||
|
<?php
|
||||||
|
if($user->isAdmin()) {
|
||||||
|
echo "<tr>";
|
||||||
|
echo "<td>".getMLText("id").":</td>\n";
|
||||||
|
echo "<td>".htmlspecialchars($document->getID())."</td>\n";
|
||||||
|
echo "</tr>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php printMLText("name");?>:</td>
|
<td><?php printMLText("name");?>:</td>
|
||||||
<td><?php print htmlspecialchars($document->getName());?></td>
|
<td><?php print htmlspecialchars($document->getName());?></td>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user