1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/templates/openvpn/logging.php

17 lines
763 B
PHP
Raw Normal View History

2021-02-09 22:57:15 +01:00
<!-- logging tab -->
2021-02-06 09:18:27 +01:00
<div class="tab-pane fade" id="openvpnlogging">
2021-02-09 22:57:15 +01:00
<h4 class="mt-3 mb-3"><?php echo _("Logging") ?></h4>
<p><?php echo _("Enable this option to log <code>openvpn</code> activity.") ?></p>
<div class="custom-control custom-switch">
2021-02-10 12:29:12 +01:00
<input class="custom-control-input" id="log-openvpn" type="checkbox" name="log-openvpn" value="1" <?php echo $logEnable ? ' checked="checked"' : "" ?> aria-describedby="log-openvpn">
2021-02-09 22:57:15 +01:00
<label class="custom-control-label" for="log-openvpn"><?php echo _("Enable logging") ?></label>
</div>
2021-02-06 09:18:27 +01:00
<div class="row">
2021-02-09 22:57:15 +01:00
<div class="form-group col-md-8 mt-2">
<textarea class="logoutput"><?php echo htmlspecialchars($logOutput, ENT_QUOTES); ?></textarea>
2021-02-06 09:18:27 +01:00
</div>
2021-02-09 22:57:15 +01:00
</div>
</div><!-- /.tab-pane -->
2021-02-06 09:18:27 +01:00