diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 8903f54e3..a018ca86c 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -355,8 +355,6 @@ $(document).ready(function () { function pageNavigation($pageTitle, $pageType=null, $extra=null) { /* {{{ */ if ($pageType!=null && strcasecmp($pageType, "noNav")) { - if($pageType == "view_folder" || $pageType == "view_document") - echo $pageTitle."\n"; echo "
\n"; echo "
\n"; echo "
\n"; @@ -388,6 +386,8 @@ $(document).ready(function () { echo "
\n"; echo "
\n"; echo "
\n"; + if($pageType == "view_folder" || $pageType == "view_document") + echo $pageTitle."\n"; } else { echo "".$pageTitle."\n"; }