mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 22:51:32 +00:00
use full with of browser if tree and clipboard are turned off
This commit is contained in:
parent
41d498f9e4
commit
3a4930d28d
|
@ -93,11 +93,21 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
|
||||||
$this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder);
|
$this->pageNavigation($this->getFolderPathHTML($folder), "view_folder", $folder);
|
||||||
|
|
||||||
echo "<div class=\"row-fluid\">\n";
|
echo "<div class=\"row-fluid\">\n";
|
||||||
echo "<div class=\"span4\">\n";
|
|
||||||
if ($enableFolderTree) {
|
// dynamic columns - left column removed if no content and right column then fills span12.
|
||||||
if ($showtree==1){
|
if (!($enableFolderTree || $enableClipboard)) {
|
||||||
$this->contentHeading("<a href=\"../out/out.ViewFolder.php?folderid=". $folderid."&showtree=0\"><i class=\"icon-minus-sign\"></i></a>", true);
|
$LeftColumnSpan = 0;
|
||||||
$this->contentContainerStart();
|
$RightColumnSpan = 12;
|
||||||
|
} else {
|
||||||
|
$LeftColumnSpan = 4;
|
||||||
|
$RightColumnSpan = 8;
|
||||||
|
}
|
||||||
|
if ($LeftColumnSpan > 0) {
|
||||||
|
echo "<div class=\"span".$LeftColumnSpan."\">\n";
|
||||||
|
if ($enableFolderTree) {
|
||||||
|
if ($showtree==1){
|
||||||
|
$this->contentHeading("<a href=\"../out/out.ViewFolder.php?folderid=". $folderid."&showtree=0\"><i class=\"icon-minus-sign\"></i></a>", true);
|
||||||
|
$this->contentContainerStart();
|
||||||
?>
|
?>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
function folderSelected(id, name) {
|
function folderSelected(id, name) {
|
||||||
|
@ -105,15 +115,16 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
$this->printNewTreeNavigation($folderid, M_READ, 0, '');
|
$this->printNewTreeNavigation($folderid, M_READ, 0, '');
|
||||||
$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);
|
||||||
|
}
|
||||||
|
if ($enableClipboard) $this->printClipboard($this->params['session']->getClipboard());
|
||||||
|
echo "</div>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (1 || $enableClipboard) $this->printClipboard($this->params['session']->getClipboard());
|
echo "<div class=\"span".$RightColumnSpan."\">\n";
|
||||||
echo "</div>\n";
|
|
||||||
echo "<div class=\"span8\">\n";
|
|
||||||
|
|
||||||
$this->contentHeading(getMLText("folder_infos"));
|
$this->contentHeading(getMLText("folder_infos"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user