aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Profile
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 18:31:34 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-29 11:47:58 +0200
commit477ed97c2fbfff903f9ebf0ffa7fba078eeac10f (patch)
tree4f7f44aaa5d64c67f3959d196c8c55ae100c79e0 /Zotlabs/Widget/Profile
parent242ef70a775a86050152c0aea9096ec1cd6d0312 (diff)
downloadvolse-hubzilla-477ed97c2fbfff903f9ebf0ffa7fba078eeac10f.tar.gz
volse-hubzilla-477ed97c2fbfff903f9ebf0ffa7fba078eeac10f.tar.bz2
volse-hubzilla-477ed97c2fbfff903f9ebf0ffa7fba078eeac10f.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