website view en/search.php @ rev 1282
search.php: undo "default to desc"
| author | Xander Ziiryanoff <psychomaniak@xakep.ru> | 
|---|---|
| date | Fri Oct 23 20:58:02 2015 +0200 (2015-10-23) | 
| parents | 740e77380353 | 
| children | 0dedd51426ac | 
 line source
     1 <!DOCTYPE html>
     2 <html lang="en">
     3 <head>
     4 	<meta charset="utf-8"/>
     5 	<title>SliTaz - Search</title>
     6 	<meta name="description" content="SliTaz GNU/Linux custom search engine"/>
     7 	<meta name="keywords" lang="en" content="System, free, gnu, linux, software opensource, livecd LINUX in RAM"/>
     8 	<meta name="author" content="Christophe Lincoln"/>
     9 	<?php include("../lib/html/meta-link.html"); ?>
    10 </head>
    11 <body>
    13 <?php 
    14 include("../lib/html/header.html");
    15 include("../lib/html/nav.html"); 
    16 include("../lib/lang.php");
    17 ?>
    19 <!-- Content -->
    20 <div id="content">
    22 <h2>Packages Search</h2>
    24 <p>
    25 	Search for <a href="http://pkgs.slitaz.org/">packages</a>,
    26 	files, build logs, receipts, etc. All packages are installable
    27 	via the package manager Tazpkg using the GUI or the command 
    28 	<code>tazpkg get-install pkgname</code>.
    29 </p>
    31 <div style="text-align: center; margin-bottom: 40px;">
    32 	<form method="post" action="http://pkgs.slitaz.org/">
    33 		<div class="searchbox">
    34 			<p>
    35 				<input type="hidden" name="lang" value="en" />
    36 				<input type="text" name="query" size="24" style="width: 80%;" />
    37 				<input type="submit" name="search" value="Search" />
    38 			</p>
    39 		</div>
    40 		Search for:
    41 		<select name="object">
    42 			<option value="Package">Package</option>
    43 			<option value="Desc">Description</option>
    44 			<option value="Tags">Tags</option>
    45 			<option value="Arch">Arch</option>
    46 			<option value="Bugs">Bugs</option>
    47 			<option value="Depends">Depends</option>
    48 			<option value="BuildDepends">BuildDepends</option>
    49 			<option value="File">File</option>
    50 			<option value="File_list">File list</option>
    51 			<option value="FileOverlap">common files</option>
    52 			<option value="Category">Category</option>
    53 			<option value="Maintainer">Maintainer</option>
    54 			<option value="License">License</option>
    55 		</select>
    56 		in
    57 		<select name="version">
    58 			<option value="cooking">cooking</option>
    59 			<option value="stable">stable</option>
    60 			<option value="backports">backports</option>
    61 			<option value="3.0">3.0</option>
    62 			<option value="2.0">2.0</option>
    63 			<option value="1.0">1.0</option>
    64 			<option value="tiny">tiny</option>
    65 			<option value="undigest">undigest</option>
    66 		</select>
    67 	</form>
    68 </div>
    70 <h2>Google Search</h2>
    72 <p>
    73 	This page lets you also search the entire website Slitaz GNU/Linux,
    74 	the <a href="http://doc.slitaz.org/">documentation</a> wiki and in
    75 	the archives of the <a href="mailing-list.php">Mailing List</a>
    76 	and also in the <a href="http://forum.slitaz.org/">Forum</a>.
    77 	This search engine was created for SliTaz by the Google Co-op custom
    78 	search engine.
    79 </p>
    81 <div class="searchbox">
    82 	<div id="cse-search-form" style="width: 100%;"><img
    83 		src="/images/loader.gif" alt="*" /> Loading</div>
    84 	<script src="http://www.google.com/jsapi" type="text/javascript"></script>
    85 	<script type="text/javascript">
    86 		google.load('search', '1', {language : 'en', style : google.loader.themes.MINIMALIST});
    87 		google.setOnLoadCallback(function() {
    88 		var customSearchControl = new google.search.CustomSearchControl('000868395082919927601:nddq7yjdcxg');
    89 		customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
    90 		var options = new google.search.DrawOptions();
    91 		options.setSearchFormRoot('cse-search-form');
    92 		customSearchControl.draw('cse', options);
    93 		}, true);
    94 	</script>
    95 </div>
    97 <div id="cse"></div>
    99 <!-- End of content -->
   100 </div>
   102 <?php include("../lib/html/footer.html"); ?>
   104 </body>
   105 </html>