From 64c81ed17474cfa3dfe0e84475a49089c0af0106 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 24 Nov 2017 15:12:40 +0100 Subject: missing files --- Zotlabs/Module/Update_hq.php | 31 +++++++++++++++++++++++++++++++ Zotlabs/Widget/Hq_controls.php | 26 ++++++++++++++++++++++++++ view/tpl/hq_controls.tpl | 8 ++++++++ 3 files changed, 65 insertions(+) create mode 100644 Zotlabs/Module/Update_hq.php create mode 100644 Zotlabs/Widget/Hq_controls.php create mode 100755 view/tpl/hq_controls.tpl diff --git a/Zotlabs/Module/Update_hq.php b/Zotlabs/Module/Update_hq.php new file mode 100644 index 000000000..bb1495c64 --- /dev/null +++ b/Zotlabs/Module/Update_hq.php @@ -0,0 +1,31 @@ + 1) && (argv(1) == 'load')) ? 1 : 0); + header("Content-type: text/html"); + echo "\r\n"; + echo (($_GET['msie'] == 1) ? '
' : '
'); + + $mod = new Hq(); + $text = $mod->get($profile_uid, $load); + + echo str_replace("\t",' ',$text); + echo (($_GET['msie'] == 1) ? '
' : ''); + echo "\r\n"; + + killme(); + + } + +} 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 @@ + t('HQ Control Panel'), + '$menu' => [ + 'create' => [ + 'label' => t('Create a new post'), + 'id' => 'jot-toggle', + 'href' => '#', + 'class' => '' + ] + ] + ] + ); + } +} diff --git a/view/tpl/hq_controls.tpl b/view/tpl/hq_controls.tpl new file mode 100755 index 000000000..d7f6d436f --- /dev/null +++ b/view/tpl/hq_controls.tpl @@ -0,0 +1,8 @@ +
+

{{$title}}

+ +
-- cgit v1.2.3