mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
php-fpm support
This commit is contained in:
parent
91a804c1c8
commit
cd437282b2
4 changed files with 59 additions and 46 deletions
|
@ -148,7 +148,7 @@
|
|||
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
|
||||
<tr>
|
||||
<td class="vst-text input-label">
|
||||
<?php print __('Backend Template') . " <span class='optional''> / " . strtoupper($_SESSION['WEB_BACKEND']) . "</span>";?>
|
||||
<?php print __('Backend Template') . " <span class='optional'>" . strtoupper($_SESSION['WEB_BACKEND']) . "</span>";?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -99,6 +99,11 @@
|
|||
$ftp_user = str_replace(':', ', ', $ftp_user);
|
||||
}
|
||||
|
||||
$backend_support='no';
|
||||
if (!empty($data[$key]['BACKEND'])) {
|
||||
$backend_support='yes';
|
||||
}
|
||||
|
||||
$proxy_support='no';
|
||||
if (!empty($data[$key]['PROXY'])) {
|
||||
$proxy_support='yes';
|
||||
|
@ -203,6 +208,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
|
||||
<? if($proxy_support == 'no'){ ?>
|
||||
<div class="l-unit__stat-cols clearfix disabled last"><?=__('Proxy Support')?></div>
|
||||
<? } else {?>
|
||||
|
@ -213,6 +219,19 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
|
||||
<? if($backend_support == 'no'){ ?>
|
||||
<div class="l-unit__stat-cols clearfix disabled last"><?=__('Backend Support')?></div>
|
||||
<? } else {?>
|
||||
<div class="l-unit__stat-cols clearfix last">
|
||||
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Backend Support')?>:</div>
|
||||
<div class="l-unit__stat-col l-unit__stat-col--right">
|
||||
<b><?=__($backend_support)?></b>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -230,12 +249,22 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
|
|||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
|
||||
<div class="l-unit__stat-cols clearfix last">
|
||||
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Proxy Template')?>:</div>
|
||||
<div class="l-unit__stat-col l-unit__stat-col--right">
|
||||
<b><?=$data[$key]['PROXY']?></b>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
|
||||
<div class="l-unit__stat-cols clearfix last">
|
||||
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Backend Template')?>:</div>
|
||||
<div class="l-unit__stat-col l-unit__stat-col--right">
|
||||
<b><?=$data[$key]['BACKEND']?></b>
|
||||
</div>
|
||||
</div>
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue