diff options
author | Mark Crane <mcrane@pfsense.org> | 2008-12-26 22:16:16 +0000 |
---|---|---|
committer | Mark Crane <mcrane@pfsense.org> | 2008-12-26 22:16:16 +0000 |
commit | e69077d54753fba4706d433a444f1377ef554ed5 (patch) | |
tree | df4cedb041da1721044fe12b029f9b4d32b3f4e0 | |
parent | 7899b28a3c2528ab756ef5790492778c2856b035 (diff) | |
download | pfsense-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
-rw-r--r-- | packages/tftp/tftp.xml | 18 | ||||
-rw-r--r-- | packages/tftp/tftp_files.tmp | 13 | ||||
-rw-r--r-- | pkg_config.7.xml | 4 |
3 files changed, 11 insertions, 24 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&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&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&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"> </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"; diff --git a/pkg_config.7.xml b/pkg_config.7.xml index 9635eba5..8d4be4c8 100644 --- a/pkg_config.7.xml +++ b/pkg_config.7.xml @@ -80,8 +80,8 @@ <pkginfolink></pkginfolink> <config_file>http://www.pfsense.com/packages/config/tftp/tftp.xml</config_file> <depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url> - <version>0.7.2</version> - <status>Alpha</status> + <version>0.7.3</version> + <status>Beta</status> <required_version>1.2.1</required_version> <maintainer>markjcrane@gmail.com</maintainer> <configurationfile>tftp.xml</configurationfile> |