aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-16 11:09:12 -0800
committerfriendica <info@friendica.com>2015-02-16 11:09:12 -0800
commitb4f639239fb0d6d5ed58fb7139bb7f88f1b77150 (patch)
treef011019d3555505774bc05ce0aed24346959bacf /include
parenta1c4bbfa5cc59c5f61370d1c0e0a8d5c202729e4 (diff)
downloadvolse-hubzilla-b4f639239fb0d6d5ed58fb7139bb7f88f1b77150.tar.gz
volse-hubzilla-b4f639239fb0d6d5ed58fb7139bb7f88f1b77150.tar.bz2
volse-hubzilla-b4f639239fb0d6d5ed58fb7139bb7f88f1b77150.zip
mopping up the public site ratings
Diffstat (limited to 'include')
-rw-r--r--include/widgets.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php
index d457db07d..fbbc74224 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -962,4 +962,11 @@ function widget_rating($arr) {
return $o;
+}
+
+// used by site ratings pages to provide a return link
+function widget_pubsites() {
+ if(get_app()->poi)
+ return;
+ return '<div class="widget"><ul class="nav nav-pills"><li><a href="pubsites">' . t('Public Hubs') . '</a></li></ul></div>';
} \ No newline at end of file