aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-01 22:15:21 -0700
committerfriendica <info@friendica.com>2014-06-01 22:15:21 -0700
commit17e575e1ebcc7ea232530bd0c1dddef334122f96 (patch)
treea42c6101e01f0d933add0c9c86f2b03fc8e45ccc /include
parentf5d3a724d25ab12c4746431b25b54f5e3e52bbba (diff)
downloadvolse-hubzilla-17e575e1ebcc7ea232530bd0c1dddef334122f96.tar.gz
volse-hubzilla-17e575e1ebcc7ea232530bd0c1dddef334122f96.tar.bz2
volse-hubzilla-17e575e1ebcc7ea232530bd0c1dddef334122f96.zip
don't show app editing options to non-authenticated folks
Diffstat (limited to 'include')
-rw-r--r--include/widgets.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 1043acce0..c7a4da6a0 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -78,6 +78,7 @@ function widget_appselect($arr) {
return replace_macros(get_markup_template('app_select.tpl'),array(
'$title' => t('Apps'),
'$system' => t('System'),
+ '$authed' => ((local_user()) ? true : false),
'$personal' => t('Personal'),
'$new' => t('Create Personal App'),
'$edit' => t('Edit Personal App')