aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/nav.php4
-rw-r--r--view/tpl/app.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/nav.php b/include/nav.php
index 8d39d492a..2dcf68bc8 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -274,7 +274,7 @@ EOT;
$app['active'] = true;
if($is_owner) {
- if(strpos($app['categories'],'nav_pinned_app')) {
+ if(strpos($app['categories'],'nav_pinned_app') !== false) {
$navbar_apps[] = Zlib\Apps::app_render($app,'navbar');
}
else {
@@ -282,7 +282,7 @@ EOT;
}
}
elseif(! $is_owner && strpos($app['requires'], 'local_channel') === false) {
- if(strpos($app['categories'],'nav_pinned_app')) {
+ if(strpos($app['categories'],'nav_pinned_app') !== false) {
$navbar_apps[] = Zlib\Apps::app_render($app,'navbar');
}
else {
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index c8bbc4ce1..7d2e46c59 100644
--- a/view/tpl/app.tpl
+++ b/view/tpl/app.tpl
@@ -12,7 +12,7 @@
</div>
{{/if}}
{{if $install || $update || $delete || $feature}}
- <div class="app-tools">
+ <div class="text-center app-tools">
<form action="{{$hosturl}}appman" method="post">
<input type="hidden" name="papp" value="{{$app.papp}}" />
{{if $install}}<button type="submit" name="install" value="{{$install}}" class="btn btn-outline-secondary btn-sm" title="{{$install}}" ><i class="fa fa-fw fa-arrow-circle-o-down" ></i></button>{{/if}}