From d56b589494fab4422933d779869685836c23f72a Mon Sep 17 00:00:00 2001 From: ruan <2369127-ruany@users.noreply.gitlab.com> Date: Sat, 27 May 2023 17:03:24 +0200 Subject: [PATCH] Simplify navbar() --- inc/header.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/inc/header.php b/inc/header.php index 722fda7..96dc511 100644 --- a/inc/header.php +++ b/inc/header.php @@ -24,6 +24,7 @@ function navbar($links) { } $li .= " class=\"$class\""; + $title = $this->page->t("title.$title"); if ($this->page->settings->header_show_totals && isset($this->count[$page])) { $title .= ' '; $title .= $this->count[$page]; @@ -111,11 +112,11 @@ if ($page->settings->header_show_totals) {