Browse Source

Update grids.php

Fix broken config file inclusion
master
Moritz Schlarb 5 years ago committed by Chocobozzz
parent
commit
c87cbf858e
  1. 4
      include/html/grids.php

4
include/html/grids.php

@ -128,7 +128,7 @@ function getHistory($cfg_file, $accordion_id, $open_first_history_tab = false) {
<div class="tab-content"> <div class="tab-content">
<div id="menu-1-0" class="tab-pane fade in active"> <div id="menu-1-0" class="tab-pane fade in active">
<textarea class="form-control" data-config-file="<?= $cfg_file='client-conf/gnu-linux/client.conf' ?>" name="" id="" cols="30" rows="20"><?= file_get_contents($cfg_file) ?></textarea> <textarea class="form-control" data-config-file="<?= $cfg_file='client-conf/gnu-linux/client.ovpn' ?>" name="" id="" cols="30" rows="20"><?= file_get_contents($cfg_file) ?></textarea>
<?= getHistory($cfg_file, @++$accId) ?> <?= getHistory($cfg_file, @++$accId) ?>
</div> </div>
@ -140,7 +140,7 @@ function getHistory($cfg_file, $accordion_id, $open_first_history_tab = false) {
</div> </div>
<div id="menu-1-2" class="tab-pane fade"> <div id="menu-1-2" class="tab-pane fade">
<textarea class="form-control" data-config-file="<?= $cfg_file='client-conf/osx-viscosity/client.conf' ?>" name="" id="" cols="30" rows="20"><?= file_get_contents($cfg_file) ?></textarea> <textarea class="form-control" data-config-file="<?= $cfg_file='client-conf/osx-viscosity/client.ovpn' ?>" name="" id="" cols="30" rows="20"><?= file_get_contents($cfg_file) ?></textarea>
<?= getHistory($cfg_file, ++$accId) ?> <?= getHistory($cfg_file, ++$accId) ?>
</div> </div>

Loading…
Cancel
Save