diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index e3af611d8..363ae17b9 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -294,7 +294,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo "
\n"; echo "
\n"; echo " \n"; echo "
\n"; @@ -313,7 +313,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo " params['settings']->_httpRoot."op/op.Logout.php\">\n"; echo " \n"; echo " \n"; - echo " params['settings']->_httpRoot."out/out.ViewFolder.php?folderid=".$this->params['dms']->getRootFolder()->getId()."\">".(!empty($this->extraheader['logo']) ? '' : '').""; + echo " params['settings']->_httpRoot."out/out.ViewFolder.php?folderid=".$this->params['dms']->getRootFolder()->getId()."\">".(!empty($this->extraheader['logo']) ? '' : '').""; echo " params['settings']->_httpRoot."out/out.ViewFolder.php?folderid=".$this->params['dms']->getRootFolder()->getId()."\">".(strlen($this->params['sitename'])>0 ? $this->params['sitename'] : "SeedDMS")."\n"; /* user profile menu {{{ */ @@ -2976,32 +2976,37 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) $content = ''; $content .= "
"; + $actions = array(); if(!empty($extracontent['begin_action_list'])) $content .= $extracontent['begin_action_list']; if($accessop->check_view_access('RemoveDocument')) { if($document->getAccessMode($user) >= M_ALL) { - $content .= $this->printDeleteDocumentButton($document, 'splash_rm_document', true); + $actions['remove_document'] = $this->printDeleteDocumentButton($document, 'splash_rm_document', true); } else { - $content .= ''; + $actions['remove_document'] = ''; } } $docID = $document->getID(); if($document->getAccessMode($user) >= M_READWRITE) { - $content .= ''; + $actions['edit_document'] = ''; } else { - $content .= ''; + $actions['edit_document'] = ''; } if($document->getAccessMode($user) >= M_READWRITE) { - $content .= $this->printLockButton($document, 'splash_document_locked', 'splash_document_unlocked', true); + $actions['lock_document'] = $this->printLockButton($document, 'splash_document_locked', 'splash_document_unlocked', true); } if($document->getAccessMode($user) >= M_READWRITE) { - $content .= $this->printAccessButton($document, true); + $actions['document_access'] = $this->printAccessButton($document, true); } if($enableClipboard) { - $content .= ''; + $actions['add_to_clipboard'] = ''; } if($onepage) - $content .= ''; + $actions['view_document'] = ''; + foreach($actions as $action) { + if(is_string($action)) + $content .= $action; + } if(!empty($extracontent['end_action_list'])) $content .= $extracontent['end_action_list']; $content .= "
"; diff --git a/views/bootstrap/styles/application.css b/views/bootstrap/styles/application.css index 78702cab6..89714c175 100644 --- a/views/bootstrap/styles/application.css +++ b/views/bootstrap/styles/application.css @@ -7,7 +7,7 @@ margin: auto auto; width: 460px; } -.navbar img { +#navbar-logo { height: 1.93rem; float: left; padding-top: 5px; diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index 8eca84eed..5c2bb7e54 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -306,7 +306,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; function globalBanner() { /* {{{ */ echo "\n"; } /* }}} */ @@ -314,7 +314,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $dms = $this->params['dms']; $accessobject = $this->params['accessobject']; echo "