$_entry = $TemplateData['editData']['id'];
?>
<h3 class="uk-h3">Update an entry in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
- <p><a href="index.php?p=entry&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&id=<?php echo $_entry; ?>">View entry</a></p>
+ <p><span uk-icon="arrow-left"></span>
+ <a href="index.php?p=manageentry&collection=<?php echo $TemplateData['collection']['id']; ?>&id=<?php echo $TemplateData['editData']['id']; ?>">View entry</a>
+ </p>
<?php } else { ?>
<h3 class="uk-h3">Add an entry to: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
<?php } ?>
} elseif (!empty($_fieldsToSave) && isset($_fieldsToSave['title'])) {
$do = $ManangeEntry->create($_fieldsToSave, $_owner, $_group, $_rights, $_id);
if ($do !== 0) {
- $TemplateData['refresh'] = 'index.php?p=manageentry&collection='.$_collection.'&id='.$_id;
+ $TemplateData['refresh'] = 'index.php?p=entry&collection='.$_collection.'&id='.$_id;
} else {
$TemplateData['message']['content'] = "Entry could not be updated.";
$TemplateData['message']['status'] = "error";
<h3 class="uk-h3">Using <?php echo $TemplateData['tool']['name']; ?> with collection: <?php echo $TemplateData['collection']['name']; ?></h3>
<?php if(!empty($TemplateData['editEntry'])) { ?>
-<h4><span uk-icon="arrow-left"></span>
+<p><span uk-icon="arrow-left"></span>
<a href="index.php?p=manageentry&collection=<?php echo $TemplateData['collection']['id']; ?>&id=<?php echo $TemplateData['editEntry']['id']; ?>"><?php echo Summoner::ifset($TemplateData['editEntry'], 'title'); ?></a>
-</h4>
+</p>
<?php } ?>
<div class="uk-grid-small uk-grid-row-small" uk-grid>