aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-24 15:12:40 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-24 15:12:40 +0100
commit64c81ed17474cfa3dfe0e84475a49089c0af0106 (patch)
tree37167e5eff3795bc4294efaa91e94b95123c774f /Zotlabs/Widget
parent87eaa6d8e5a5fece531a8ce191f8e89e90f673c2 (diff)
downloadvolse-hubzilla-64c81ed17474cfa3dfe0e84475a49089c0af0106.tar.gz
volse-hubzilla-64c81ed17474cfa3dfe0e84475a49089c0af0106.tar.bz2
volse-hubzilla-64c81ed17474cfa3dfe0e84475a49089c0af0106.zip
missing files
Diffstat (limited to 'Zotlabs/Widget')
-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' => ''
+ ]
+ ]
+ ]
+ );
+ }
+}