aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Zcard.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Zcard.php')
-rw-r--r--Zotlabs/Widget/Zcard.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Zcard.php b/Zotlabs/Widget/Zcard.php
new file mode 100644
index 000000000..12e53eaab
--- /dev/null
+++ b/Zotlabs/Widget/Zcard.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace Zotlabs\Widget;
+
+class Zcard {
+
+ function widget($args) {
+ $channel = channelx_by_n(\App::$profile_uid);
+ return get_zcard($channel,get_observer_hash(),array('width' => 875));
+ }
+}