summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-02-27 15:26:50 -0500
committerjim-p <jim@pingle.org>2010-02-27 15:28:00 -0500
commit85183d57d5330fb33c3f31f498c051d78d8d0cf3 (patch)
tree22f7b9021b3a49dd77fd295ee036b87244f3752f /usr
parenteecc18174e389bdc08c449dc32b743559958d329 (diff)
downloadpfsense-85183d57d5330fb33c3f31f498c051d78d8d0cf3.zip
pfsense-85183d57d5330fb33c3f31f498c051d78d8d0cf3.tar.gz
Add descriptive title to revert/delete config backup that shows when hovering. Also add confirmation prompt for revert or delete. Resolves #268
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/diag_confbak.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/diag_confbak.php b/usr/local/www/diag_confbak.php
index fc0871e..6ef685c 100755
--- a/usr/local/www/diag_confbak.php
+++ b/usr/local/www/diag_confbak.php
@@ -110,13 +110,13 @@ include("head.inc");
<td class="listlr"> <?= $date ?></td>
<td class="listr"> <?= $desc ?></td>
<td valign="middle" class="list" nowrap>
- <a href="diag_confbak.php?newver=<?=$version['time'];?>">
- <img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0">
+ <a href="diag_confbak.php?newver=<?=$version['time'];?>" onclick="return confirm('Revert to this configuration?')">
+ <img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" alt="Revert to this configuration" title="Revert to this configuration">
</a>
</td>
<td valign="middle" class="list" nowrap>
- <a href="diag_confbak.php?rmver=<?=$version['time'];?>">
- <img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0">
+ <a href="diag_confbak.php?rmver=<?=$version['time'];?>" onclick="return confirm('Delete this configuration backup?')">
+ <img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="Remove this backup" title="Remove this backup">
</a>
</td>
</tr>
OpenPOWER on IntegriCloud