wok-current rev 5820
tazpkg-web: 2.0 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 15 13:45:55 2010 +0200 (2010-07-15) |
parents | ea926ba90106 |
children | 10b6139512a5 |
files | tazpkg-web/stuff/search.cgi |
line diff
1.1 --- a/tazpkg-web/stuff/search.cgi Thu Jul 15 11:12:24 2010 +0200 1.2 +++ b/tazpkg-web/stuff/search.cgi Thu Jul 15 13:45:55 2010 +0200 1.3 @@ -50,8 +50,10 @@ 1.4 FileOverlap=*) 1.5 SEARCH=${i#*=} 1.6 OBJECT=FileOverlap;; 1.7 - version=s*|version=2*) 1.8 + version=s*|version=3*) 1.9 SLITAZ_VERSION=stable;; 1.10 + version=2*) 1.11 + SLITAZ_VERSION=2.0;; 1.12 version=1*) 1.13 SLITAZ_VERSION=1.0;; 1.14 esac 1.15 @@ -72,6 +74,7 @@ 1.16 1.17 case "$SLITAZ_VERSION" in 1.18 1.0) selected_1="selected";; 1.19 +2.0) selected_2="selected";; 1.20 stable) selected_stable="selected";; 1.21 esac 1.22 1.23 @@ -203,6 +206,7 @@ 1.24 <option value="cooking">$cooking</option> 1.25 <option $selected_stable value="stable">$stable</option> 1.26 <option $selected_1 value="1.0">1.0</option> 1.27 + <option $selected_2 value="2.0">2.0</option> 1.28 </select> 1.29 <input type="submit" name="search" value="$search" /> 1.30 </form> 1.31 @@ -272,7 +276,7 @@ 1.32 <a href="#top">Top of the page</a> 1.33 </p> 1.34 <p> 1.35 -Copyright © 2009 <a href="http://www.slitaz.org/">SliTaz</a> - 1.36 +Copyright © $(date +%Y) <a href="http://www.slitaz.org/">SliTaz</a> - 1.37 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a> 1.38 </p> 1.39 <!-- End of copy -->