aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Fullprofile.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 19:30:57 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-29 11:49:32 +0200
commit47f4007951ce3311ee267a863a2cc46085c4892a (patch)
tree4bb26968cfac76fdc76997683e01cc4d19e466c7 /Zotlabs/Widget/Fullprofile.php
parent74f58818d628a30297f48720b73c094b215f593b (diff)
downloadvolse-hubzilla-47f4007951ce3311ee267a863a2cc46085c4892a.tar.gz
volse-hubzilla-47f4007951ce3311ee267a863a2cc46085c4892a.tar.bz2
volse-hubzilla-47f4007951ce3311ee267a863a2cc46085c4892a.zip
more widgets
Diffstat (limited to 'Zotlabs/Widget/Fullprofile.php')
-rw-r--r--Zotlabs/Widget/Fullprofile.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Fullprofile.php b/Zotlabs/Widget/Fullprofile.php
new file mode 100644
index 000000000..d7340ef40
--- /dev/null
+++ b/Zotlabs/Widget/Fullprofile.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Zotlabs\Widget;
+
+class Fullprofile {
+
+ function widget($arr) {
+
+ if(! \App::$profile['profile_uid'])
+ return;
+
+ $block = observer_prohibited();
+
+ return profile_sidebar(\App::$profile, $block);
+ }
+}