aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Shortprofile.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 20:11:28 -0700
committerzotlabs <mike@macgirvin.com>2017-03-15 20:11:28 -0700
commitdfd626548fc903a4ecffe3241570957a2df9a37a (patch)
treec5c4b30520864c7f8d7b439aa72f090bb0a611d4 /Zotlabs/Widget/Shortprofile.php
parent92d7c32f61e8d8a72141629e73bb3bba38546278 (diff)
downloadvolse-hubzilla-dfd626548fc903a4ecffe3241570957a2df9a37a.tar.gz
volse-hubzilla-dfd626548fc903a4ecffe3241570957a2df9a37a.tar.bz2
volse-hubzilla-dfd626548fc903a4ecffe3241570957a2df9a37a.zip
more widget migrations
Diffstat (limited to 'Zotlabs/Widget/Shortprofile.php')
-rw-r--r--Zotlabs/Widget/Shortprofile.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Shortprofile.php b/Zotlabs/Widget/Shortprofile.php
new file mode 100644
index 000000000..9c2a46e75
--- /dev/null
+++ b/Zotlabs/Widget/Shortprofile.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace Zotlabs\Widget;
+
+class Shortprofile {
+
+ function widget($arr) {
+
+ if(! \App::$profile['profile_uid'])
+ return;
+
+ $block = observer_prohibited();
+
+ return profile_sidebar(\App::$profile, $block, true, true);
+ }
+
+}
+