mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
add missing CSRFTokenFieldTag's
This commit is contained in:
parent
99b0c04ef2
commit
f5e3b717ff
@ -260,6 +260,7 @@ foreach ($clients as $client) {
|
||||
<div class="col-lg-12">
|
||||
<div class="row">
|
||||
<form action="?page=wlan0_info" method="POST">
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<?php if (!$wlan0up) {
|
||||
echo '<input type="submit" class="btn btn-success" value="'._("Start ").RASPI_WIFI_CLIENT_INTERFACE.'" name="ifup_wlan0" />';
|
||||
} else {
|
||||
|
@ -315,6 +315,7 @@ function DisplayOpenVPNConfig()
|
||||
|
||||
<h4>Client settings</h4>
|
||||
<form role="form" action="?page=save_hostapd_conf" method="POST">
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4">
|
||||
@ -439,6 +440,7 @@ function DisplayTorProxyConfig()
|
||||
<div class="tab-pane fade in active" id="basic">
|
||||
<h4>Basic settings</h4>
|
||||
<form role="form" action="?page=save_hostapd_conf" method="POST">
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4">
|
||||
<label for="code">VirtualAddrNetwork</label>
|
||||
|
@ -63,6 +63,7 @@ foreach ($interfaces as $interface) {
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<form id="frm-'.htmlspecialchars($interface, ENT_QUOTES).'">
|
||||
' . CSRFTokenFieldTag() . '
|
||||
<div class="form-group">
|
||||
<h4>' . _("Adapter IP Address Settings") . '</h4>
|
||||
<div class="btn-group" data-toggle="buttons">
|
||||
|
@ -187,6 +187,7 @@ function DisplaySystem()
|
||||
</div>
|
||||
|
||||
<form action="?page=system_info" method="POST">
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<input type="submit" class="btn btn-warning" name="system_reboot" value="<?php echo _("Reboot"); ?>" />
|
||||
<input type="submit" class="btn btn-warning" name="system_shutdown" value="<?php echo _("Shutdown"); ?>" />
|
||||
<input type="button" class="btn btn-outline btn-primary" value="<?php echo _("Refresh"); ?>" onclick="document.location.reload(true)" />
|
||||
|
@ -43,6 +43,7 @@ function DisplayThemeConfig()
|
||||
</div>
|
||||
|
||||
<form action="?page=system_info" method="POST">
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<input type="button" class="btn btn-outline btn-primary" value="<?php echo _("Refresh"); ?>" onclick="document.location.reload(true)" />
|
||||
</form>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user