missing files

This commit is contained in:
Mario Vavti
2017-11-24 15:12:40 +01:00
parent 87eaa6d8e5
commit 64c81ed174
3 changed files with 65 additions and 0 deletions

View 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' => ''
]
]
]
);
}
}