diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-28 16:49:17 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-03-02 17:34:10 +0300 |
commit | 4fec7e73201ed50e4a4157cb1ea1f1c63566dd89 (patch) | |
tree | 93ca4fc57d2ba8bf077ac021cf96fa6335c8bfcc /brep/mod-package-search.cxx | |
parent | cfdbf0f9c52288efaa57eba3a9c913790f034cf2 (diff) |
Menu customization
Diffstat (limited to 'brep/mod-package-search.cxx')
-rw-r--r-- | brep/mod-package-search.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/brep/mod-package-search.cxx b/brep/mod-package-search.cxx index 5725da0..7505e02 100644 --- a/brep/mod-package-search.cxx +++ b/brep/mod-package-search.cxx @@ -13,6 +13,7 @@ #include <web/xhtml> #include <web/module> +#include <web/xhtml-fragment> #include <web/mime-url-encoding> #include <brep/version> @@ -78,6 +79,8 @@ handle (request& rq, response& rs) // static const size_t res_page (options_->search_results ()); static const dir_path& root (options_->root ()); + static const fragment& logo (options_->logo ()); + static const vector<page_menu>& menu (options_->menu ()); params::package_search params; @@ -121,7 +124,7 @@ handle (request& rq, response& rs) << SCRIPT << " " << ~SCRIPT << ~HEAD << BODY - << DIV_HEADER (root) + << DIV_HEADER (root, logo, menu) << DIV(ID="content"); session sn; |