aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche')
-rw-r--r--inc/poche/Poche.class.php7
-rw-r--r--inc/poche/Tools.class.php3
2 files changed, 10 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 802ec542..5d368842 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -430,6 +430,13 @@ class Poche
430 ); 430 );
431 Tools::logm('config view'); 431 Tools::logm('config view');
432 break; 432 break;
433 case 'edit-tags':
434 # tags
435 $tags = $this->store->retrieveTagsByEntry($id);
436 $tpl_vars = array(
437 'tags' => $tags,
438 );
439 break;
433 case 'tags': 440 case 'tags':
434 $tags = $this->store->retrieveAllTags(); 441 $tags = $this->store->retrieveAllTags();
435 $tpl_vars = array( 442 $tpl_vars = array(
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php
index 5bb65fe9..9d911699 100644
--- a/inc/poche/Tools.class.php
+++ b/inc/poche/Tools.class.php
@@ -106,6 +106,9 @@ class Tools
106 case 'tags': 106 case 'tags':
107 $tpl_file = 'tags.twig'; 107 $tpl_file = 'tags.twig';
108 break; 108 break;
109 case 'edit-tags':
110 $tpl_file = 'edit-tags.twig';
111 break;
109 case 'view': 112 case 'view':
110 $tpl_file = 'view.twig'; 113 $tpl_file = 'view.twig';
111 break; 114 break;