mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-01-22 17:19:49 +00:00
remove CreateDownloadLink
This commit is contained in:
parent
20913ce8e2
commit
60e56e0ff2
|
|
@ -751,10 +751,6 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
if($this->check_access('AddToTransmittal'))
|
||||
print "<li>".$this->html_link('AddToTransmittal', array('documentid'=>$documentid, 'version'=>$latestContent->getVersion()), array(), "<i class=\"icon-list\"></i>".getMLText("add_to_transmittal"), false, true)."</li>";
|
||||
}
|
||||
if($accessop->check_controller_access('CreateDownloadLink'))
|
||||
if($accessop->mayCreateDownloadLink($document)) {
|
||||
print "<li>".$this->html_link('CreateDownloadLink', array('documentid'=>$documentid, 'version'=>$latestContent->getVersion()), array(), "<i class=\"icon-download-alt\"></i>".getMLText("create_download_link"), false, true)."</li>";
|
||||
}
|
||||
if($accessop->check_controller_access('EditComment'))
|
||||
if($accessop->mayEditComment($document)) {
|
||||
print "<li>".$this->html_link('EditComment', array('documentid'=>$documentid, 'version'=>$latestContent->getVersion()), array(), "<i class=\"icon-comment\"></i>".getMLText("edit_comment"), false, true)."</li>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user