2N/A## -*- coding: utf-8 -*-
2N/A## The contents of this file are subject to the terms of the
2N/A## Common Development and Distribution License (the "License").
2N/A## You may not use this file except in compliance with the License.
2N/A## See the License for the specific language governing permissions
2N/A## and limitations under the License.
2N/A## When distributing Covered Code, include this CDDL HEADER in each
2N/A## If applicable, add the following below this CDDL HEADER, with the
2N/A## fields enclosed by brackets "[]" replaced with your own identifying
2N/A## information: Portions Copyright [yyyy] [name of copyright owner]
2N/A## Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2N/A## Use is subject to license terms.
2N/A 'manifest': "Manifest"
catalog = g_vars["catalog"]
request = g_vars["request"]
<%def name="page_title(g_vars)"><%
<p>Search functionality is not available at this time.</p>
<input id="search-field" type="text" size="30"
maxlength="512" name="token"
value="${token_val | h}"/>
<input id="submit-search" type="submit"
name="action" value="Search"/>
<li>All searches are case-insensitive.</li>
<li>To find packages that contain a specific
file, start your search criteria with a '/':<br/>
<li>To find packages based on a partial match,
use the wildcard characters '*' or '?':<br/>
<li>To find packages based on specific
matching characters use '[' and ']':<br/>
<div class="yui-b results">
% if searched and results:
% for index, pfmri, action, value in results:
## Only print row for first result. Can't do this
## before now since results is a generator.
if rclass is None or rclass == ' class="odd"':
<td><a href="${phref}">${pfmri}</a></td>
% if result_count > max_results:
<td colspan="4">More than ${max_results}
record(s) matched your query; the rest will not be shown. Please refine your
query and try again.</td>
<td colspan="4">${result_count} record(s) found</td>
% if searched and rclass is None:
<p>Your search - <b>${token_val | h}</b> - did not match any packages.</p>
<li>Ensure that all words are spelled correctly.</li>
<li>Try a different keyword.</li>
<li>Try a more general keyword.</li>