aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Pubsites.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-16 17:11:48 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-29 12:02:09 +0200
commit0bad26e116499d9b656c28f64c81275df4bbecb6 (patch)
treea5a30a33e97db03bb7fdeb156045ba41205546e8 /Zotlabs/Widget/Pubsites.php
parentcd57483ed9069a26b52ae8d7d74fdc537da89946 (diff)
downloadvolse-hubzilla-0bad26e116499d9b656c28f64c81275df4bbecb6.tar.gz
volse-hubzilla-0bad26e116499d9b656c28f64c81275df4bbecb6.tar.bz2
volse-hubzilla-0bad26e116499d9b656c28f64c81275df4bbecb6.zip
the rest of the standard widgets converted
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>';
+ }
+}
+
+