aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Hq_controls.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-25 14:08:15 -0800
committerzotlabs <mike@macgirvin.com>2017-11-25 14:08:15 -0800
commit4471f580d7a50126d42690f05e81a75f7bbf8084 (patch)
tree54e4fd3146a3978de744a39de6b7938d763852dd /Zotlabs/Widget/Hq_controls.php
parente5141dd91bf483b0458b6f9226b994afbee23524 (diff)
parente1fdac32782de11e443c7398ff3fb9870fa9b2d9 (diff)
downloadvolse-hubzilla-4471f580d7a50126d42690f05e81a75f7bbf8084.tar.gz
volse-hubzilla-4471f580d7a50126d42690f05e81a75f7bbf8084.tar.bz2
volse-hubzilla-4471f580d7a50126d42690f05e81a75f7bbf8084.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Widget/Hq_controls.php')
-rw-r--r--Zotlabs/Widget/Hq_controls.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Hq_controls.php b/Zotlabs/Widget/Hq_controls.php
new file mode 100644
index 000000000..0caa54a1a
--- /dev/null
+++ b/Zotlabs/Widget/Hq_controls.php
@@ -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' => ''
+ ]
+ ]
+ ]
+ );
+ }
+}