mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
folder tree can be configured to not load further levels
This commit is contained in:
parent
b4fd9ac804
commit
8cfed6feea
|
@ -136,7 +136,7 @@ $('#loadmore').click(function(e) {
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php
|
<?php
|
||||||
if($showtree == 1)
|
if($showtree == 1)
|
||||||
$this->printNewTreeNavigationJs($folder->getID(), M_READ, 0, '', $expandFolderTree == 2, $orderby);
|
$this->printNewTreeNavigationJs($folder->getID(), M_READ, 0, '', ($expandFolderTree == 1) ? -1 : 3, $orderby);
|
||||||
|
|
||||||
if ($enableDropUpload && $folder->getAccessMode($user) >= M_READWRITE) {
|
if ($enableDropUpload && $folder->getAccessMode($user) >= M_READWRITE) {
|
||||||
echo "SeedDMSUpload.setUrl('../op/op.Ajax.php');";
|
echo "SeedDMSUpload.setUrl('../op/op.Ajax.php');";
|
||||||
|
@ -283,7 +283,7 @@ $('#loadmore').click(function(e) {
|
||||||
* access expandFolderTree with $this->params because it can
|
* access expandFolderTree with $this->params because it can
|
||||||
* be changed by preContent hook.
|
* be changed by preContent hook.
|
||||||
*/
|
*/
|
||||||
$this->printNewTreeNavigationHtml($folderid, M_READ, 0, '', $this->params['expandFolderTree'], $orderby);
|
$this->printNewTreeNavigationHtml($folderid, M_READ, 0, '', ($this->params['expandFolderTree'] == 1) ? -1 : 3, $orderby);
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
} else {
|
} else {
|
||||||
$this->contentHeading("<a href=\"../out/out.ViewFolder.php?folderid=". $folderid."&showtree=1\"><i class=\"icon-plus-sign\"></i></a>", true);
|
$this->contentHeading("<a href=\"../out/out.ViewFolder.php?folderid=". $folderid."&showtree=1\"><i class=\"icon-plus-sign\"></i></a>", true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user