catalog.shtml revision 1117
742N/A## You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
742N/A## file and include the License file at usr/src/OPENSOLARIS.LICENSE.
742N/A<%inherit file="layout.shtml"/>\
2028N/A% if config.mirror:
2028N/A <p>Information about packages is not available when the server is operating in mirror mode.</p>
2028N/A versions = self.shared.get_releases(g_vars)
742N/A selected_val = request.params.get("version", None)
742N/A show_all_versions = request.params.get("show_all_versions", None)
2651N/A <form action="catalog.shtml">
2651N/A context.write("""<option %svalue="%s">%s</option>""" % (
2651N/A flist = catalog.get_matching_version_fmris(pattern)
2651N/A if f.pkg_name not in found:
2651N/A found[f.pkg_name] = True
742N/A flist = [f for f in catalog.fmris()]
2651N/A phref = self.shared.rpath(g_vars, "info/0/%s" % (
2651N/A urllib.quote(str(pfmri)[len("pkg:/"):], "")))
2651N/A mhref = self.shared.rpath(g_vars, "manifest/0/%s" % (
2651N/A href="${phref}">${pfmri.pkg_name}</a>
1319N/A <td>${pfmri.version}</td>