aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Pubsites.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Pubsites.php')
-rw-r--r--Zotlabs/Widget/Pubsites.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Pubsites.php b/Zotlabs/Widget/Pubsites.php
new file mode 100644
index 000000000..958ba68c2
--- /dev/null
+++ b/Zotlabs/Widget/Pubsites.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Zotlabs\Widget;
+
+class Pubsites {
+
+ // used by site ratings pages to provide a return link
+
+ function widget($arr) {
+ if(\App::$poi)
+ return;
+ return '<div class="widget"><ul class="nav nav-pills"><li><a href="pubsites">' . t('Public Hubs') . '</a></li></ul></div>';
+ }
+}
+
+