mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-27 11:11:25 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
52e336ea4b
|
|
@ -180,7 +180,7 @@
|
||||||
- removing a document version will not remove attachments of the document anymore
|
- removing a document version will not remove attachments of the document anymore
|
||||||
- make document details page like like view document page
|
- make document details page like like view document page
|
||||||
- fix selection of documents/folders
|
- fix selection of documents/folders
|
||||||
- new hooks SeedDMS_View_Document::[startRightColumn|extraVersionsViews]
|
- new hooks SeedDMS_View_Document::[startRightColumn|extraVersionsViews|prePreviousVersionsTab|preLatestVersionTab]
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 5.1.19
|
Changes in version 5.1.19
|
||||||
|
|
|
||||||
|
|
@ -612,6 +612,10 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$txt = $this->callHook('preLatestVersionTab', $latestContent);
|
||||||
|
if(is_string($txt))
|
||||||
|
echo $txt;
|
||||||
|
|
||||||
// verify if file exists
|
// verify if file exists
|
||||||
$file_exists=file_exists($dms->contentDir . $latestContent->getPath());
|
$file_exists=file_exists($dms->contentDir . $latestContent->getPath());
|
||||||
|
|
||||||
|
|
@ -1497,6 +1501,10 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
?>
|
?>
|
||||||
<div class="tab-pane <?php if($currenttab == 'previous') echo 'active'; ?>" id="previous">
|
<div class="tab-pane <?php if($currenttab == 'previous') echo 'active'; ?>" id="previous">
|
||||||
<?php
|
<?php
|
||||||
|
$txt = $this->callHook('prePreviousVersionsTab', $versions);
|
||||||
|
if(is_string($txt))
|
||||||
|
echo $txt;
|
||||||
|
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
|
|
||||||
print "<table class=\"table\">";
|
print "<table class=\"table\">";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user