Mercurial > hg > mercurial-crew-with-dirclash
view templates/search.tmpl @ 4872:419a6f715c6a
Use wsgi.url_scheme instead of ad-hoc CGI checks.
Instead of each place in hgweb_mod that needs to check for SSL or get
the protocol scheme (http vs. https) doing it ad-hoc, make them just
look at the wsgi.url_scheme which because of previous patches is now
always set correctly.
author | Wesley J. Landaker <wjl@icecavern.net> |
---|---|
date | Thu, 12 Jul 2007 22:55:44 -0700 |
parents | 1196998c62e3 |
children |
line wrap: on
line source
#header# <title>#repo|escape#: searching for #query|escape#</title> </head> <body> <div class="buttons"> <a href="#url#log{sessionvars%urlparameter}">changelog</a> <a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> <a href="#url#tags{sessionvars%urlparameter}">tags</a> <a href="#url#file/#node|short#{sessionvars%urlparameter}">manifest</a> #archives%archiveentry# </div> <h2>searching for #query|escape#</h2> <form> {sessionvars%hiddenformentry} <p> search: <input name="rev" type="text" width="30" value="#query|escape#"> </p> </form> #entries# <form> {sessionvars%hiddenformentry} <p> search: <input name="rev" type="text" width="30" value="#query|escape#"> </p> </form> #footer#