]> 91.132.146.200 Git - bibliotheca-php.git/commitdiff
added a missing headline
authorBanana <mail@bananas-playground.net>
Sat, 17 Dec 2022 17:49:04 +0000 (18:49 +0100)
committerBanana <mail@bananas-playground.net>
Sat, 17 Dec 2022 17:49:04 +0000 (18:49 +0100)
webclient/view/default/managetags/managetags.html
webclient/view/default/tags/tags.html
webclient/view/default/tags/tags.php

index 9f702c5d5d0d363f15bb76b410e63060583f2cc2..46c7e08b5804eb99391ae8ccb6f4062d88246bb7 100644 (file)
@@ -1,6 +1,7 @@
 <?php if(!empty($TemplateData['loadedCollection'])) { ?>
 <div class="uk-grid-small uk-grid-row-small" uk-grid>
        <div class="uk-width-1-2">
+               <h3 class="uk-h3">Manage Tags in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
                <p>
                        The actions are top down. If you choose to move and rename, only move will be executed.<br />
                        Deletion will remove without recover!<br />
index 2894d058388b6ef0bac60443f1ad01f4f2175c45..3fc6df60d0630e0c59fbd7fb382a7660ae8d31bb 100644 (file)
@@ -1,7 +1,7 @@
 <div class="uk-grid-small uk-grid-row-small" uk-grid>
        <div class="uk-width-1-2@l">
        <?php if(!empty($TemplateData['tags'])) { ?>
-               <h3 class="uk-h3">Selectable tags for: <?php echo Summoner::ifset($TemplateData['loadedCollection'], 'name'); ?></h3>
+               <h3 class="uk-h3">Selectable tags for: <a href="index.php?p=collections&collection=<?php echo Summoner::ifset($TemplateData['loadedCollection'], 'id'); ?>"><?php echo Summoner::ifset($TemplateData['loadedCollection'], 'name'); ?></a></h3>
 
                <?php if(!empty($TemplateData['search'])) { ?>
                <div uk-alert id="searchNotice">
index 6288b43a8a4132f462de348fe9ffe90aa3e39f07..1b63e4084d2614ab34e18478dcf8889c5d346a16 100644 (file)
@@ -21,27 +21,27 @@ $Mancubus = new Mancubus($DB,$Doomguy);
 require_once 'lib/trite.class.php';
 $Trite = new Trite($DB,$Doomguy);
 
-$_collection = false;
+$_collection = '';
 if(isset($_GET['collection']) && !empty($_GET['collection'])) {
        $_collection = trim($_GET['collection']);
-       $_collection = Summoner::validate($_collection,'digit') ? $_collection : false;
+       $_collection = Summoner::validate($_collection,'digit') ? $_collection : '';
 }
 
-$_id = false;
+$_id = '';
 if(isset($_GET['id']) && !empty($_GET['id'])) {
        $_id = trim($_GET['id']);
-       $_id = Summoner::validate($_id,'digit') ? $_id : false;
+       $_id = Summoner::validate($_id,'digit') ? $_id : '';
 }
 
 $TemplateData['pageTitle'] = 'Tags - ';
 $TemplateData['loadedCollection'] = array();
 $TemplateData['tags'] = array();
-$TemplateData['search'] = false;
+$TemplateData['search'] = array();
 
-$_search = false;
+$_search = '';
 if(isset($_POST['navSearch'])) {
        $_search = trim($_POST['navSearch']);
-       $_search = Summoner::validate($_search) ? $_search :  false;
+       $_search = Summoner::validate($_search) ? $_search : '';
 }