aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Fullprofile.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 19:30:57 -0700
committerzotlabs <mike@macgirvin.com>2017-03-15 19:30:57 -0700
commit92d7c32f61e8d8a72141629e73bb3bba38546278 (patch)
treeafc34ecb11114690aff4bdb4a6f27398d538c8c9 /Zotlabs/Widget/Fullprofile.php
parent0ee48f6a58ae21b6c27b122206cfd6e366abed40 (diff)
downloadvolse-hubzilla-92d7c32f61e8d8a72141629e73bb3bba38546278.tar.gz
volse-hubzilla-92d7c32f61e8d8a72141629e73bb3bba38546278.tar.bz2
volse-hubzilla-92d7c32f61e8d8a72141629e73bb3bba38546278.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);
+ }
+}