aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-07 03:38:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-07 03:38:24 +0000
commit55d175c1a6e14aa11fa7f813f4772d9ffbd72af4 (patch)
treec655381acf5a664fe579916110e4d44ffa2f58b5 /packages/autoconfigbackup/autoconfigbackup.php
parent685354461ee6bf075be8b397d84a220cf9574c66 (diff)
downloadpfsense-packages-55d175c1a6e14aa11fa7f813f4772d9ffbd72af4.tar.gz
pfsense-packages-55d175c1a6e14aa11fa7f813f4772d9ffbd72af4.tar.bz2
pfsense-packages-55d175c1a6e14aa11fa7f813f4772d9ffbd72af4.zip
Add html titles for a hrefs
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php42
1 files changed, 24 insertions, 18 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index db87e610..6395caae 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -287,13 +287,13 @@ include("head.inc");
<td class="listlr"> <?= $cv['time']; ?></td>
<td class="listbg"> <?= $cv['reason']; ?></td>
<td colspan="2" valign="middle" class="list" nowrap>
- <a onClick="return confirm('Are you sure you want to restore <?= $cv['time']; ?>?')" href="autoconfigbackup.php?newver=<?=urlencode($cv['time']);?>">
+ <a title="Restore this revision" onClick="return confirm('Are you sure you want to restore <?= $cv['time']; ?>?')" href="autoconfigbackup.php?newver=<?=urlencode($cv['time']);?>">
<img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0">
</a>
- <a href="autoconfigbackup.php?download=<?=urlencode($cv['time']);?>">
+ <a title="Show info" href="autoconfigbackup.php?download=<?=urlencode($cv['time']);?>">
<img src="/themes/<?= $g['theme']; ?>/images/icons/icon_down.gif" width="17" height="17" border="0">
</a>
- <a onClick="return confirm('Are you sure you want to delete <?= $cv['time']; ?>?')"href="autoconfigbackup.php?rmver=<?=urlencode($cv['time']);?>">
+ <a title="Delete" onClick="return confirm('Are you sure you want to delete <?= $cv['time']; ?>?')"href="autoconfigbackup.php?rmver=<?=urlencode($cv['time']);?>">
<img src="/themes/<?= $g['theme']; ?>/images/icons/icon_del.gif" width="17" height="17" border="0">
</a>
</td>
@@ -302,25 +302,31 @@ include("head.inc");
$counter++;
endforeach;
if($counter == 0)
- echo "<tr><td colspan='3'><center>Sorry, we could not locate any backups at portal.pfsense.org for this hostname.</td></tr>";
+ echo "<tr><td colspan='3'><center>Sorry, we could not locate any backups at portal.pfsense.org for this hostname ({$hostname}).</td></tr>";
?>
</table>
</div>
</td>
- <tr><td>
- <p>
- <strong>
- &nbsp;&nbsp;<span class="red">Hint:&nbsp;
- </span>
- </strong>
- Click the + sign next to the revision you would like to restore.
- </p>
- </td></tr>
- <tr><td>
- <form method="post" action="autoconfigbackup.php">
- <input type="button" onClick='backupnow()' name="backup" value="Backup Now">
- </form>
- </td></tr>
+ <tr>
+ <td>
+ <p>
+ <strong>
+ &nbsp;&nbsp;
+ <span class="red">
+ Hint:&nbsp;
+ </span>
+ </strong>
+ Click the + sign next to the revision you would like to restore.
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <form method="post" action="autoconfigbackup.php">
+ <input type="button" onClick='backupnow()' name="backup" value="Backup Now">
+ </form>
+ </td>
+ </tr>
</tr>
</table>
</form>