aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/widgets.php1
-rw-r--r--view/tpl/app_select.tpl2
2 files changed, 3 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')
diff --git a/view/tpl/app_select.tpl b/view/tpl/app_select.tpl
index 4cd945388..05f527371 100644
--- a/view/tpl/app_select.tpl
+++ b/view/tpl/app_select.tpl
@@ -1,3 +1,4 @@
+{{if $authed}}
<div class="widget">
<h3>{{$title}}</h3>
<ul>
@@ -8,4 +9,5 @@
<li><a href="apps/personal/edit">{{$edit}}</a></li>
</ul>
</div>
+{{/if}}