diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-05-10 08:28:14 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-05-10 08:28:14 +0000 |
commit | 18f7352bfcd7b3ec0c62f00b59584d15565184e4 (patch) | |
tree | 600ccdc29ea2195c4e8a3c7129990ddd48a31fda /usr/local/www/system_routes.php | |
parent | 2f1e03119a424852c5d99d8b4ae6afe7956d8d28 (diff) | |
download | pfsense-18f7352bfcd7b3ec0c62f00b59584d15565184e4.zip pfsense-18f7352bfcd7b3ec0c62f00b59584d15565184e4.tar.gz |
Add duplicate option to system_routes.php.
By request of Seth.
Diffstat (limited to 'usr/local/www/system_routes.php')
-rwxr-xr-x | usr/local/www/system_routes.php | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php index d235b07..a53e5c8 100755 --- a/usr/local/www/system_routes.php +++ b/usr/local/www/system_routes.php @@ -120,7 +120,7 @@ include("head.inc"); <td width="10%" class="list"> <table border="0" cellspacing="0" cellpadding="1"> <tr> - <td width="20"></td> + <td width="17"></td> <td><a href="system_routes_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> </tr> </table> @@ -150,16 +150,26 @@ include("head.inc"); <td class="listbg" ondblclick="document.location='system_routes_edit.php?id=<?=$i;?>';"> <font color="#FFFFFF"><?=htmlspecialchars($route['descr']);?> </td> - <td valign="middle" nowrap class="list"> <a href="system_routes_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a> - <a href="system_routes.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this route?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td> - </tr> + <td valign="middle" nowrap class="list"> + <table border="0" cellspacing="0" cellpadding="1"> + <tr> + <td><a href="system_routes_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a> + <td><a href="system_routes.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this route?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td> + </tr> + <tr> + <td width="17"></td> + <td><a href="system_routes_edit.php?dup=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> + </tr> + </table> + + </tr> <?php $i++; endforeach; ?> <tr> <td class="list" colspan="4"></td> <td class="list"> <table border="0" cellspacing="0" cellpadding="1"> <tr> - <td width="20"></td> + <td width="17"></td> <td><a href="system_routes_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> </tr> </table> |