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-details.cxx | |
parent | cfdbf0f9c52288efaa57eba3a9c913790f034cf2 (diff) |
Menu customization
Diffstat (limited to 'brep/mod-package-details.cxx')
-rw-r--r-- | brep/mod-package-details.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/brep/mod-package-details.cxx b/brep/mod-package-details.cxx index 98b2135..fa07dd1 100644 --- a/brep/mod-package-details.cxx +++ b/brep/mod-package-details.cxx @@ -12,6 +12,7 @@ #include <web/xhtml> #include <web/module> +#include <web/xhtml-fragment> #include <web/mime-url-encoding> #include <brep/page> @@ -65,6 +66,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 ()); const string& name (*rq.path ().rbegin ()); const string ename (mime_url_encode (name)); @@ -127,7 +130,7 @@ handle (request& rq, response& rs) << SCRIPT << " " << ~SCRIPT << ~HEAD << BODY - << DIV_HEADER (root) + << DIV_HEADER (root, logo, menu) << DIV(ID="content"); if (full) |