aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tftp/tftp_files.tmp
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2008-12-26 22:16:16 +0000
committerMark Crane <mcrane@pfsense.org>2008-12-26 22:16:16 +0000
commite69077d54753fba4706d433a444f1377ef554ed5 (patch)
treedf4cedb041da1721044fe12b029f9b4d32b3f4e0 /packages/tftp/tftp_files.tmp
parent7899b28a3c2528ab756ef5790492778c2856b035 (diff)
downloadpfsense-packages-e69077d54753fba4706d433a444f1377ef554ed5.tar.gz
pfsense-packages-e69077d54753fba4706d433a444f1377ef554ed5.tar.bz2
pfsense-packages-e69077d54753fba4706d433a444f1377ef554ed5.zip
TFTP package add last modified to file list, remove Description tab, change status to beta
Diffstat (limited to 'packages/tftp/tftp_files.tmp')
-rw-r--r--packages/tftp/tftp_files.tmp13
1 files changed, 6 insertions, 7 deletions
diff --git a/packages/tftp/tftp_files.tmp b/packages/tftp/tftp_files.tmp
index b93e9609..809e51a8 100644
--- a/packages/tftp/tftp_files.tmp
+++ b/packages/tftp/tftp_files.tmp
@@ -77,7 +77,6 @@ include("head.inc");
<?php
$tab_array = array();
- $tab_array[] = array(gettext("Description"), false, "/pkg_edit.php?xml=tftp.xml&amp;id=0");
$tab_array[] = array(gettext("Files"), false, "/tftp/tftp_files.php");
display_top_tabs($tab_array);
@@ -132,9 +131,9 @@ include("head.inc");
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td width="25%" class="listhdrr">Name</td>
- <!--<td width="50%" class="listhdr">&nbsp;</td>-->
- </tr>
+ <td width="25%" class="listhdrr">File Name</td>
+ <td width="50%" class="listhdr">Last Modified</td>
+ </tr>
<?php
if ($handle = opendir('/tftpboot')) {
@@ -147,9 +146,9 @@ include("head.inc");
echo " $file";
echo " </a>";
echo " </td>\n";
- //echo " <td class=\"listlr\" ondblclick=\"\">\n";
- //echo " ";
- //echo " </td>\n";
+ echo " <td class=\"listlr\" ondblclick=\"\">\n";
+ echo date ("F d Y H:i:s.", filemtime('/tftpboot/'.$file));
+ echo " </td>\n";
echo " <td valign=\"middle\" nowrap class=\"list\">\n";
echo " <table border=\"0\" cellspacing=\"0\" cellpadding=\"1\">\n";
echo " <tr>\n";