aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Dirtags.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Dirtags.php')
-rw-r--r--Zotlabs/Widget/Dirtags.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Dirtags.php b/Zotlabs/Widget/Dirtags.php
new file mode 100644
index 000000000..f211d5942
--- /dev/null
+++ b/Zotlabs/Widget/Dirtags.php
@@ -0,0 +1,13 @@
+<?php
+
+namespace Zotlabs\Widget;
+
+require_once('include/dir_fns.php');
+
+class Dirtags {
+
+ function widget($arr) {
+ return dir_tagblock(z_root() . '/directory', null);
+ }
+
+}