summaryrefslogtreecommitdiff
path: root/modules/tag/views
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/views')
-rw-r--r--modules/tag/views/tag_organize.html.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/tag/views/tag_organize.html.php b/modules/tag/views/tag_organize.html.php
new file mode 100644
index 00000000..bb46b861
--- /dev/null
+++ b/modules/tag/views/tag_organize.html.php
@@ -0,0 +1,25 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<span id="gTagCount"><?= t2("There is one tag", "There are %count tags", $tag_count) ?></span>
+<span id="gAddTag">
+ <a id="gAddTagButton" href="#" class="gButtonLink"><?= t("Click to Add Tag") ?></a>
+</span>
+<? foreach ($tags as $firstLetter => $tagGroup): ?>
+<div class="gTagGroup">
+ <strong><?= $firstLetter ?></strong><span class="understate">&nbsp;(<?= $tagGroup["count"] ?>)</span>
+ <ul>
+ <? foreach ($tagGroup["taglist"] as $taglist): ?>
+ <li>
+ <span id="gTag-<?= $taglist['id'] ?>" class="gEditable tag-name"><?= $taglist["tag"] ?></span>
+ <span class="understate">(<?= $taglist["count"] ?>)</span>
+
+ <!-- a href="<?= url::site("admin/tags/form_delete/{$taglist['id']}") ?>"
+ class="gDialogLink delete-link gButtonLink" -->
+ <a href="#"
+ class="gDialogLink delete-link gButtonLink">
+ <span class="ui-icon ui-icon-trash"><?= t("Delete tag") ?></span>
+ </a>
+ </li>
+ <? endforeach ?>
+ </ul>
+</div>
+<? endforeach ?> \ No newline at end of file