From efcb58f5eca646d229aca50f272c0707cd8434f9 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Mon, 10 Jan 2022 18:41:27 +0100 Subject: [PATCH] Make Title a Link to Start --- index.php | 1 + tpl/gallery.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 5191dd7..ba9e8c1 100644 --- a/index.php +++ b/index.php @@ -63,6 +63,7 @@ $curfiles = array_slice($files, ($page-1)*$slice ,$slice, true); if (count($curfiles) > 0) { // Prepare Generic Data for Template $data['galleryname'] = $galleryname; + $data['startpage'] = $_SERVER['PHP_SELF']; $data['dir'] = $dir; $data['slice'] = $slice; $data['filter'] = $filter; diff --git a/tpl/gallery.html b/tpl/gallery.html index 7923ab8..6358927 100644 --- a/tpl/gallery.html +++ b/tpl/gallery.html @@ -5,7 +5,7 @@ {% block content %}