From 32482b90446a7974e4aa1a392a79f1c8e18ed200 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sun, 16 Mar 2008 20:31:59 +0000 Subject: Added download page and header link --- download.php | 24 ++++++++++++++++ templates/about.tpl | 7 ++--- templates/download.tpl | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ templates/header.tpl | 11 ++++---- 4 files changed, 109 insertions(+), 9 deletions(-) create mode 100644 download.php create mode 100644 templates/download.tpl diff --git a/download.php b/download.php new file mode 100644 index 0000000..9a2d8a8 --- /dev/null +++ b/download.php @@ -0,0 +1,24 @@ +display("download.tpl"); + +?> diff --git a/templates/about.tpl b/templates/about.tpl index 0e14bc0..ddda33b 100644 --- a/templates/about.tpl +++ b/templates/about.tpl @@ -8,8 +8,8 @@
First, the software that runs this site is free. It is released under an - download the source code and the + MIT (X11) + license. You can download the source code and the database, alter it, improve it or otherwise do whatever you like with it. If you'd like to help me improve nutridb.org, then feel free to send me patches or other improvements. If anyone is really interested, let me know and we can talk about @@ -40,7 +40,7 @@
When I wrote the original version of the utility I wasn't then aware of many other free web-based systems that were doing something similar. Now I see that there are - a number of other sites that have a very + a number of other sites that have a very complete set of tools. However, in my opinion, virtually all of them have a major flaw: they try to be everything to everyone, and thereby end up being overly complicated and convoluted. An old axiom comes to mind: "You can please some of the @@ -105,4 +105,3 @@
{$footer} - diff --git a/templates/download.tpl b/templates/download.tpl new file mode 100644 index 0000000..d0a5c18 --- /dev/null +++ b/templates/download.tpl @@ -0,0 +1,76 @@ +{$header} +
+ +
+
+ +

DOWNLOAD

+ +
+ The software that runs this site is free. It is released under an + MIT (X11) license. + You can download the source code and the database, alter + it, improve it or otherwise do whatever you like with it. If you'd like to help me + improve nutridb.org, then feel free to send me patches or other improvements. If + anyone is really interested, let me know and we can talk about giving you Subversion + commit privileges. I'd like for nutridb.org to become a collaborative, community + effort. This way the results of anyone's work will go to a central place where + everyone can benefit. Feel free to contact me at nkinkade AT gmail DOT com. +
+ +
+ The best way to get the software is via Subversion (SVN). You can + browse the repository online, or make + checkouts: +
+ +
+
+ The whole repository: svn checkout http://svn.nutridb.org/svnroot/ +
+
+ The production branch (that runs this site): svn checkout + http://svn.nutridb.org/svnroot/branches/production/ +
+
+ The development branch: svn checkout + http://svn.nutridb.org/svnroot/trunk/ +
+
+ +
+ Tar-gzipped version are available as well: +
+ +
+
+ Production: nutridb-production.tar.gz +
+
+ Development: nutridb-development.tar.gz +
+
+ +
+ The MySQL database is included inside the tar-gzipped versions, but can also be + downloaded individually: nutridb-database.sql.gz +
+ + +
+
+ +
+
+ {$sidebar_left} +
+
+ +
+
+ {$sidebar_right} +
+
+ +
+{$footer} diff --git a/templates/header.tpl b/templates/header.tpl index 2f08cdd..959bed6 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -39,11 +39,12 @@ -- cgit v1.2.3