diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 747475021..b03cbf1ba 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -246,10 +246,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);; global $MISSING_LANG, $LANG; if($MISSING_LANG) { echo '
'."\n"; - echo '
'."\n"; - echo '
'."\n"; - echo "

This page contains missing translations in the selected language. Please help to improve SeedDMS and provide the translation.

"; - echo "
"; + $this->rowStart(); + $this->columnStart(12); + echo $this->errorMsg("This page contains missing translations in the selected language. Please help to improve SeedDMS and provide the translation."); echo ""; echo "\n"; foreach($MISSING_LANG as $key=>$lang) { @@ -258,7 +257,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo "
Keyengl. TextYour translation
"; echo "
There are missing translations on this page!
Please check the bottom of the page.
\n"; echo "
\n"; - echo "
\n"; + $this->columnEnd(); + $this->rowEnd(); } } /* }}} */ @@ -452,6 +452,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo " \n"; echo " \n"; + /* menu tasks {{{ */ if($this->params['enablemenutasks']) { if($accessobject->check_view_access('Tasks', array('action'=>'menuTasks'))) { echo "
"; @@ -465,7 +466,9 @@ background-image: linear-gradient(to bottom, #882222, #111111);; //$this->addFooterJS('checkTasks();'); } } + /* }}} End of menu tasks */ + /* drop folder dir {{{ */ if($this->params['dropfolderdir'] && $this->params['enabledropfolderlist']) { echo "
"; echo "
"; echo "
"; } + /* }}} End of drop folder dir */ + + /* session list {{{ */ if($this->params['enablesessionlist']) { echo "
"; echo "
"; echo "
"; } + /* }}} End of session list */ + + /* clipboard {{{ */ if($this->params['enableclipboard']) { echo "
"; echo "
getID() : 0)."\">
"; echo "
"; } + /* }}} End of clipboard */ echo "
\n"; - return; } /* }}} */ private function documentNavigationBar($document) { /* {{{ */ @@ -845,7 +854,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);; self::showNavigationBar($menuitems); echo "\n"; - return; } /* }}} */ private function accountNavigationBar() { /* {{{ */ @@ -878,7 +886,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);; self::showNavigationBar($menuitems); echo "\n"; - return; } /* }}} */ private function myDocumentsNavigationBar() { /* {{{ */ @@ -911,7 +918,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);; self::showNavigationBar($menuitems); echo "\n"; - return; } /* }}} */ private function adminToolsNavigationBar() { /* {{{ */ @@ -1013,7 +1019,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);; self::showNavigationBar($menuitems); echo "\n"; - return; } /* }}} */ private function calendarOldNavigationBar($d){ /* {{{ */ @@ -1050,8 +1055,6 @@ background-image: linear-gradient(to bottom, #882222, #111111);; self::showNavigationBar($menuitems); echo "\n"; - return; - } /* }}} */ function pageList($pageNumber, $totalPages, $baseURI, $params) { /* {{{ */ @@ -1215,26 +1218,32 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo '".(!empty($value['value']) ? $value['value'] : '').""; break; case 'input': default: - echo '"; + switch($value['type']) { + default: + echo '"; + break; + } break; } }