\n";
- if ($enableFolderTree) {
- if ($showtree==1){
- $this->contentHeading("
", true);
- $this->contentContainerStart();
+
+ // dynamic columns - left column removed if no content and right column then fills span12.
+ if (!($enableFolderTree || $enableClipboard)) {
+ $LeftColumnSpan = 0;
+ $RightColumnSpan = 12;
+ } else {
+ $LeftColumnSpan = 4;
+ $RightColumnSpan = 8;
+ }
+ if ($LeftColumnSpan > 0) {
+ echo "
\n";
+ if ($enableFolderTree) {
+ if ($showtree==1){
+ $this->contentHeading("
", true);
+ $this->contentContainerStart();
?>
printNewTreeNavigation($folderid, M_READ, 0, '');
- $this->contentContainerEnd();
- } else {
- $this->contentHeading("
", true);
+ $this->printNewTreeNavigation($folderid, M_READ, 0, '');
+ $this->contentContainerEnd();
+ } else {
+ $this->contentHeading("
", true);
+ }
+ if ($enableClipboard) $this->printClipboard($this->params['session']->getClipboard());
+ echo "
\n";
}
}
- if (1 || $enableClipboard) $this->printClipboard($this->params['session']->getClipboard());
- echo "