convert more widgets to classes
This commit is contained in:
11
Zotlabs/Widget/Zcard.php
Normal file
11
Zotlabs/Widget/Zcard.php
Normal file
@@ -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));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user