diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-22 11:22:43 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-22 11:22:43 +0100 |
commit | 55924f5c5b147412fda350a3b7c2ecfaef523e19 (patch) | |
tree | 3a9cb46ff8b67b627a6c0ae7cc693b0d21952076 /Zotlabs/Module/Apps.php | |
parent | 956f0043fc73c290d9154ab06337b995ddfd1a1c (diff) | |
download | volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.tar.gz volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.tar.bz2 volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.zip |
apps improvements
Diffstat (limited to 'Zotlabs/Module/Apps.php')
-rw-r--r-- | Zotlabs/Module/Apps.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Apps.php b/Zotlabs/Module/Apps.php index 2df6d675f..261615997 100644 --- a/Zotlabs/Module/Apps.php +++ b/Zotlabs/Module/Apps.php @@ -41,9 +41,12 @@ class Apps extends \Zotlabs\Web\Controller { return replace_macros(get_markup_template('myapps.tpl'), array( '$sitename' => get_config('system','sitename'), - '$cat' => ((array_key_exists('cat',$_GET) && $_GET['cat']) ? ' - ' . escape_tags($_GET['cat']) : ''), + '$cat' => ((array_key_exists('cat',$_GET) && $_GET['cat']) ? escape_tags($_GET['cat']) : ''), '$title' => t('Apps'), '$apps' => $apps, + '$authed' => ((local_channel()) ? true : false), + '$manage' => t('Manage apps'), + '$create' => (($mode == 'edit') ? t('Create new app') : '') )); } |