Make Title a Link to Start

This commit is contained in:
seiichiro 2022-01-10 18:41:27 +01:00
parent 97d874586e
commit efcb58f5ec
2 changed files with 2 additions and 1 deletions

View file

@ -63,6 +63,7 @@ $curfiles = array_slice($files, ($page-1)*$slice ,$slice, true);
if (count($curfiles) > 0) { if (count($curfiles) > 0) {
// Prepare Generic Data for Template // Prepare Generic Data for Template
$data['galleryname'] = $galleryname; $data['galleryname'] = $galleryname;
$data['startpage'] = $_SERVER['PHP_SELF'];
$data['dir'] = $dir; $data['dir'] = $dir;
$data['slice'] = $slice; $data['slice'] = $slice;
$data['filter'] = $filter; $data['filter'] = $filter;

View file

@ -5,7 +5,7 @@
{% block content %} {% block content %}
<div class="content"> <div class="content">
<div class="page-header"> <div class="page-header">
<div class="title">{{ $galleryname }}</div> <div class="title"><a href="{{ $startpage }}">{{ $galleryname }}</a></div>
<div class="search"> <div class="search">
<form class="f-search" action="index.php" method="get"> <form class="f-search" action="index.php" method="get">
<input type="text"placeholder="Suche.." name="f" /> <input type="text"placeholder="Suche.." name="f" />