missing files
This commit is contained in:
26
Zotlabs/Widget/Hq_controls.php
Normal file
26
Zotlabs/Widget/Hq_controls.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Zotlabs\Widget;
|
||||
|
||||
class Hq_controls {
|
||||
|
||||
function widget($arr) {
|
||||
|
||||
if (! local_channel())
|
||||
return;
|
||||
|
||||
return replace_macros(get_markup_template('hq_controls.tpl'),
|
||||
[
|
||||
'$title' => t('HQ Control Panel'),
|
||||
'$menu' => [
|
||||
'create' => [
|
||||
'label' => t('Create a new post'),
|
||||
'id' => 'jot-toggle',
|
||||
'href' => '#',
|
||||
'class' => ''
|
||||
]
|
||||
]
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user