aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Widget/Hq_controls.php
blob: 0caa54a1a7e42153718f960f407076453ae4d024 (plain) (tree)

























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