diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-15 20:11:28 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-29 11:50:03 +0200 |
commit | f60309efa12be3b8d4f5b2c565ebdf7f051a987d (patch) | |
tree | 3e5669efa5d3842e7127aa486bb59568be5930f6 /Zotlabs/Widget/Shortprofile.php | |
parent | 47f4007951ce3311ee267a863a2cc46085c4892a (diff) | |
download | volse-hubzilla-f60309efa12be3b8d4f5b2c565ebdf7f051a987d.tar.gz volse-hubzilla-f60309efa12be3b8d4f5b2c565ebdf7f051a987d.tar.bz2 volse-hubzilla-f60309efa12be3b8d4f5b2c565ebdf7f051a987d.zip |
more widget migrations
Diffstat (limited to 'Zotlabs/Widget/Shortprofile.php')
-rw-r--r-- | Zotlabs/Widget/Shortprofile.php | 18 |
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); + } + +} + |