mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
use new code for printing delete document icon
This commit is contained in:
parent
6b56a5e31f
commit
a152a57735
|
@ -339,7 +339,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
|
|||
else
|
||||
$comment = htmlspecialchars($document->getComment());
|
||||
if (strlen($comment) > 150) $comment = substr($comment, 0, 147) . "...";
|
||||
print "<tr>";
|
||||
print "<tr id=\"table-row-document-".$document->getID()."\">";
|
||||
//print "<td><img src=\"../out/images/file.gif\" class=\"mimeicon\"></td>";
|
||||
if (in_array(2, $searchin)) {
|
||||
$docName = $this->markQuery(htmlspecialchars($document->getName()), "i");
|
||||
|
@ -393,9 +393,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
|
|||
print "<td>";
|
||||
print "<div class=\"list-action\">";
|
||||
if($document->getAccessMode($user) >= M_ALL) {
|
||||
?>
|
||||
<a class_="btn btn-mini" href="../out/out.RemoveDocument.php?documentid=<?php echo $document->getID(); ?>"><i class="icon-remove"></i></a>
|
||||
<?php
|
||||
$this->printDeleteDocumentButton($document, 'splash_rm_document');
|
||||
} else {
|
||||
?>
|
||||
<span style="padding: 2px; color: #CCC;"><i class="icon-remove"></i></span>
|
||||
|
|
Loading…
Reference in New Issue
Block a user