cat_search: set the page title as h1 with template var

This commit is contained in:
plegall
2021-01-06 10:07:13 +01:00
parent 1b7c1a7249
commit 6ed9bbee5e
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -53,6 +53,7 @@ foreach ($result as $cat)
// +-----------------------------------------------------------------------+
$template->set_filename('cat_search', 'cat_search.tpl');
$template->assign('data_cat', $categories);
$template->assign('ADMIN_PAGE_TITLE', l10n('Album search tool'));
// +-----------------------------------------------------------------------+
// | sending html code |
@@ -126,10 +126,6 @@ $('.search-input').focus();
{/literal}
{/footer_script}
<div class="titrePage">
<h2>{'Album search tool'|@translate}</h2>
</div>
<div class="search-album">
<div class="search-album-cont">
<div class="search-album-label">{'Search albums'|@translate}</div>