diff options
Diffstat (limited to 'gentoobrowse/present')
-rw-r--r-- | gentoobrowse/present/search.xml | 30 | ||||
-rw-r--r-- | gentoobrowse/present/signup.xml | 2 |
2 files changed, 2 insertions, 30 deletions
diff --git a/gentoobrowse/present/search.xml b/gentoobrowse/present/search.xml index 5a96f2a..9f2f0df 100644 --- a/gentoobrowse/present/search.xml +++ b/gentoobrowse/present/search.xml @@ -4,17 +4,6 @@ <xi:include href="../views/search.xml" /> <xi:include href="../views/webcommon.xml" /> - <project2:if name="haveNoBCriteria" mode="and"> - <project2:regexcheck name="criteriaLength" regex="^$"> - <apply-to source="param" name="bcriteria" default="" /> - </project2:regexcheck> - <project2:rawview name="a-packages"> - <form caption="Package Search" submit="Search" action="/search" method="get" autofocus="criteria" order="1"> - <input type="text" caption="Criteria" name="criteria" - xslvalue="/gentoo/project2:params/project2:param[@name='criteria']/@value" /> - </form> - </project2:rawview> - </project2:if> <project2:if name="haveCriteria" mode="and"> <project2:regexcheck name="criteriaLength" regex=".+"> <apply-to source="param" name="criteria" default="" /> @@ -24,26 +13,9 @@ <criteria source="param" name="criteria" default="" /> </parameters> </project2:view> - </project2:if> - - <project2:if name="haveNoCriteria" mode="and"> - <project2:regexcheck name="criteriaLength" regex="^$"> - <apply-to source="param" name="criteria" default="" /> - </project2:regexcheck> - <project2:rawview name="b-bugs"> - <form caption="Bug Search" submit="Search" action="/search" method="get" order="2"> - <input type="text" caption="Criteria" name="bcriteria" - xslvalue="/gentoo/project2:params/project2:param[@name='bcriteria']/@value" /> - </form> - </project2:rawview> - </project2:if> - <project2:if name="haveBCriteria" mode="and"> - <project2:regexcheck name="criteriaLength" regex=".+"> - <apply-to source="param" name="bcriteria" default="" /> - </project2:regexcheck> <project2:view name="bugSearchResults" source="bugSearch" rootname="bugSearchResults" recordname="bug" filter="freeText"> <parameters> - <criteria source="param" name="bcriteria" default="" /> + <criteria source="param" name="criteria" default="" /> </parameters> </project2:view> </project2:if> diff --git a/gentoobrowse/present/signup.xml b/gentoobrowse/present/signup.xml index d818016..fcf3d8c 100644 --- a/gentoobrowse/present/signup.xml +++ b/gentoobrowse/present/signup.xml @@ -5,7 +5,7 @@ <project2:rawview> <form caption="Signup" submit="Signup" action="/dosignup" method="post"> <input type="text" name="username" caption="User name" auto="off" /> - <input type="text" name="email" caption="Email address" auto="off" /> + <input type="email" name="email" caption="Email address" auto="off" /> <input type="text" name="realname" caption="Real name" auto="off" /> <input type="password" name="password" caption="Password" auto="off" /> </form> |