aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tftp/tftp_files.tmp
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2009-02-01 09:23:28 +0000
committerMark Crane <mcrane@pfsense.org>2009-02-01 09:23:28 +0000
commitd00e4a703c02e59b9318d11612109642a1186b36 (patch)
treee4f3771a03299a49e09d66463bde3e37351a32d8 /packages/tftp/tftp_files.tmp
parentd264affd78ce4e5d881c98db98c336c21474f573 (diff)
downloadpfsense-packages-d00e4a703c02e59b9318d11612109642a1186b36.tar.gz
pfsense-packages-d00e4a703c02e59b9318d11612109642a1186b36.tar.bz2
pfsense-packages-d00e4a703c02e59b9318d11612109642a1186b36.zip
TFTP package add the TFTP DHCP Option to the DHCP Server, Also add edit for text based files.
Diffstat (limited to 'packages/tftp/tftp_files.tmp')
-rw-r--r--packages/tftp/tftp_files.tmp12
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/tftp/tftp_files.tmp b/packages/tftp/tftp_files.tmp
index 1d4b6d21..f49ea76e 100644
--- a/packages/tftp/tftp_files.tmp
+++ b/packages/tftp/tftp_files.tmp
@@ -179,11 +179,10 @@ if ($savemsg) {
echo "<br /><br />\n\n";
?>
- <form action="tftp_files.php" method="post" name="iform" id="iform">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="25%" class="listhdrr">File Name</td>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td width="25%" class="listhdrr">File Name (download)</td>
<td width="50%" class="listhdr">Last Modified</td>
<td width="50%" class="listhdr">Size</td>
</tr>
@@ -211,7 +210,7 @@ if ($savemsg) {
echo " <td valign=\"middle\" nowrap class=\"list\">\n";
echo " <table border=\"0\" cellspacing=\"0\" cellpadding=\"1\">\n";
echo " <tr>\n";
- //echo " <td valign=\"middle\"><a href=\"tftp_files_edit.php?id=$i\"><img src=\"/themes/".$g['theme']."/images/icons/icon_e.gif\" width=\"17\" height=\"17\" border=\"0\"></a></td>\n";
+ echo " <td valign=\"middle\"><form method='POST' action='/edit.php' target='_blank'><input type='hidden' name='savetopath' value='/tftpboot/".$file."'><input type='hidden' name='submit' value='Load'><input type='image' src=\"/themes/".$g['theme']."/images/icons/icon_e.gif\" width=\"17\" height=\"17\" border=\"0\"></form></td>\n";
echo " <td><a href=\"tftp_files.php?type=tftp&act=del&filename=".$file."\" onclick=\"return confirm('Do you really want to delete this file?')\"><img src=\"/themes/". $g['theme']."/images/icons/icon_x.gif\" width=\"17\" height=\"17\" border=\"0\"></a></td>\n";
echo " </tr>\n";
echo " </table>\n";
@@ -229,8 +228,7 @@ if ($savemsg) {
<td class="list"></td>
</tr>
</table>
-
-</form>
+
<br>
<br>