aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Profile
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 18:31:34 -0700
committerzotlabs <mike@macgirvin.com>2017-03-15 18:31:34 -0700
commit9cb9608209ab5f9fb123acc82a563ba54c450db1 (patch)
treecac1d07e7d04498ed2a555b3d8c3e89cd51b2634 /Zotlabs/Widget/Profile
parentb20062efa6052e29b8d2d2a42ca966837db1c29f (diff)
downloadvolse-hubzilla-9cb9608209ab5f9fb123acc82a563ba54c450db1.tar.gz
volse-hubzilla-9cb9608209ab5f9fb123acc82a563ba54c450db1.tar.bz2
volse-hubzilla-9cb9608209ab5f9fb123acc82a563ba54c450db1.zip
convert more widgets to classes
Diffstat (limited to 'Zotlabs/Widget/Profile')
-rw-r--r--Zotlabs/Widget/Profile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Profile b/Zotlabs/Widget/Profile
new file mode 100644
index 000000000..bffd910b6
--- /dev/null
+++ b/Zotlabs/Widget/Profile
@@ -0,0 +1,13 @@
+<?php
+
+namespace Zotlabs\Widget;
+
+
+class Profile {
+
+ function widget($args) {
+ $block = observer_prohibited();
+ return profile_sidebar(\App::$profile, $block, true);
+ }
+
+} \ No newline at end of file