aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-11 22:12:36 -0500
committersullrich <sullrich@pfsense.org>2009-12-11 22:12:36 -0500
commit486864632718f8783772a4ebc2956c4b09196e0f (patch)
treea5b9b63bc8e3c313b6076dcd6f620eb460fb9cf5
parent882400c98c9c7a7f1a05c6f092cef87a40ed0da8 (diff)
downloadpfsense-packages-486864632718f8783772a4ebc2956c4b09196e0f.tar.gz
pfsense-packages-486864632718f8783772a4ebc2956c4b09196e0f.tar.bz2
pfsense-packages-486864632718f8783772a4ebc2956c4b09196e0f.zip
Add Cancel buttons
-rwxr-xr-xconfig/haproxy/haproxy_frontends_edit.php3
-rwxr-xr-xconfig/haproxy/haproxy_servers_edit.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_frontends_edit.php b/config/haproxy/haproxy_frontends_edit.php
index e169b25e..b98e2bb2 100755
--- a/config/haproxy/haproxy_frontends_edit.php
+++ b/config/haproxy/haproxy_frontends_edit.php
@@ -599,7 +599,8 @@ set by the 'retries' parameter (2).</div>
<tr align="left">
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="Submit" type="submit" class="formbtn" value="Save">
+ <input name="Submit" type="submit" class="formbtn" value="Save">
+ <input type="button" class="formbtn" value="Cancel" onclick="history.back()">
<?php if (isset($id) && $a_backend[$id]): ?>
<input name="id" type="hidden" value="<?=$id;?>">
<?php endif; ?>
diff --git a/config/haproxy/haproxy_servers_edit.php b/config/haproxy/haproxy_servers_edit.php
index e1c0aaec..8ee34379 100755
--- a/config/haproxy/haproxy_servers_edit.php
+++ b/config/haproxy/haproxy_servers_edit.php
@@ -296,7 +296,8 @@ function clearcombo(){
<tr align="left">
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="Submit" type="submit" class="formbtn" value="Save">
+ <input name="Submit" type="submit" class="formbtn" value="Save">
+ <input type="button" class="formbtn" value="Cancel" onclick="history.back()">
<?php if (isset($id) && $a_server[$id]): ?>
<input name="id" type="hidden" value="<?=$id;?>">
<?php endif; ?>