aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Eventstools.php
blob: 7efd3f72e97cc8a688bfc4da9c8cb88d5b2d4907 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Zotlabs\Widget;

class Eventstools {

	function widget($arr) {

		if(! local_channel())
			return;

		return replace_macros(get_markup_template('events_tools_side.tpl'), array(
			'$title' => t('Events Tools'),
			'$export' => t('Export Calendar'),
			'$import' => t('Import Calendar'),
			'$submit' => t('Submit')
		));
	}
}