aboutsummaryrefslogtreecommitdiffstats
path: root/packages
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
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')
-rw-r--r--packages/tftp/tftp.xml18
-rw-r--r--packages/tftp/tftp_files.tmp13
2 files changed, 9 insertions, 22 deletions
diff --git a/packages/tftp/tftp.xml b/packages/tftp/tftp.xml
index 4563cc1c..c7f72a5a 100644
--- a/packages/tftp/tftp.xml
+++ b/packages/tftp/tftp.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>tftp Settings</name>
- <version>0.7.2</version>
+ <version>0.7.3</version>
<title>TFTP: Settings</title>
<include_file>/usr/local/pkg/tftp.inc</include_file>
<menu>
@@ -49,7 +49,7 @@
<tooltiptext>Add or Remove files for TFTP.</tooltiptext>
<section>Services</section>
<configfile>tftp.xml</configfile>
- <url>/pkg_edit.php?xml=tftp.xml&amp;id=0</url>
+ <url>/tftp/tftp_files.php</url>
</menu>
<service>
<name>tftp</name>
@@ -59,11 +59,6 @@
</service>
<tabs>
<tab>
- <text>Description</text>
- <url>/pkg_edit.php?xml=tftp.xml&amp;id=0</url>
- <active/>
- </tab>
- <tab>
<text>Files</text>
<url>/tftp/tftp_files.php</url>
</tab>
@@ -78,14 +73,7 @@
<prefix>/tmp/</prefix>
<chmod>0755</chmod>
<item>http://www.pfsense.com/packages/config/tftp/tftp_files.tmp</item>
- </additional_files_needed>
- <fields>
- <field>
- <fielddescr>TFTP</fielddescr>
- <fieldname>tftp</fieldname>
- <description>Trivial File Transport Protocol is a very simple file transfer protocol. Often used with routers, voip phones and more.</description>
- </field>
- </fields>
+ </additional_files_needed>
<custom_add_php_command>
</custom_add_php_command>
<custom_php_resync_config_command>
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";