<?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 />
<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">
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 : '';
}