diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-15 20:56:12 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-15 20:56:12 -0700 |
commit | 16d750d1f6cf0d2866388269e02445630c4e3464 (patch) | |
tree | ad44965b8dae98d55322919493ac18d733bd5743 /Zotlabs/Widget/Eventstools.php | |
parent | dfd626548fc903a4ecffe3241570957a2df9a37a (diff) | |
download | volse-hubzilla-16d750d1f6cf0d2866388269e02445630c4e3464.tar.gz volse-hubzilla-16d750d1f6cf0d2866388269e02445630c4e3464.tar.bz2 volse-hubzilla-16d750d1f6cf0d2866388269e02445630c4e3464.zip |
widgets cont.
Diffstat (limited to 'Zotlabs/Widget/Eventstools.php')
-rw-r--r-- | Zotlabs/Widget/Eventstools.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Eventstools.php b/Zotlabs/Widget/Eventstools.php new file mode 100644 index 000000000..7efd3f72e --- /dev/null +++ b/Zotlabs/Widget/Eventstools.php @@ -0,0 +1,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') + )); + } +} |