aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Hq_controls.php
blob: 0caa54a1a7e42153718f960f407076453ae4d024 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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' => ''
					]
				]
			]
		);
	}
}