catalog.shtml revision 817
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"/>\
742N/A% if config.mirror:
742N/A <p>Information about packages is not available when the server is operating in mirror mode.</p>
742N/A versions = self.shared.get_releases(g_vars)
742N/A selected_version = request.params.get("version", None)
742N/A <form action="catalog.shtml">
742N/A context.write("""<option %svalue="%s">%s</option>""" % (
742N/A flist = catalog.get_matching_version_fmris(selected_version)
748N/A flist = [f for f in catalog.fmris()]
742N/A phref = self.shared.rpath(g_vars, "info/0/%s" % (
817N/A urllib.quote(str(pfmri)[len("pkg:/"):], "")))
742N/A context.write(unicode("""\
742N/A context.write(unicode("""\
742N/A""" % (self.shared.rpath(g_vars, "%s/0/%s" % (op,
742N/A urllib.quote(str(pfmri)[len("pkg:/"):], ""))), fmri_ops[op])))
742N/A context.write("""\