diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-19 15:28:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-28 01:53:51 +0200 |
commit | 5b336ac46f60606cdcf77889d624ce15cdd62530 (patch) | |
tree | 469c0dd598b072d13b9a27f458c96c8353745638 /brep/page.cxx | |
parent | 3e37999a5f9efd4caf44c40985b3e1254660a625 (diff) |
Implement package search by terms
Diffstat (limited to 'brep/page.cxx')
-rw-r--r-- | brep/page.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/brep/page.cxx b/brep/page.cxx index b59cd4b..c68a7eb 100644 --- a/brep/page.cxx +++ b/brep/page.cxx @@ -206,4 +206,15 @@ namespace brep << "Priority: " << priority_names[priority_] << ~DIV; } + + // FORM_SEARCH + // + void FORM_SEARCH:: + operator() (serializer& s) const + { + s << FORM + << *INPUT(TYPE="search", NAME="q", VALUE=query_) + << *INPUT(TYPE="submit", VALUE="Search") + << ~FORM; + } } |