added option for disabling bt protocol for non-admin uses close #3;

This commit is contained in:
huangjx
2022-03-05 17:09:04 +08:00
parent 67ab4a1f9f
commit 802c593905
4 changed files with 43 additions and 14 deletions

View File

@@ -13,6 +13,7 @@ extract($_);
<?php print($l->t('Download & Search'));?>
</button>
</div>
<?php if ($is_admin): ?>
<div class="app-navigation-new" id="start-aria2">
<?php if ($aria2_installed && $aria2_executable): ?>
<button type="button" class="icon-power"
@@ -30,6 +31,7 @@ extract($_);
</button>
<?php endif;?>
</div>
<?php endif;?>
<ul>
<li class="active-downloads">
<div class="app-navigation-entry-bullet"></div>