diff options
Diffstat (limited to 'mod/mod-repository-details.cxx')
-rw-r--r-- | mod/mod-repository-details.cxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/mod/mod-repository-details.cxx b/mod/mod-repository-details.cxx index 398d8a6..082903b 100644 --- a/mod/mod-repository-details.cxx +++ b/mod/mod-repository-details.cxx @@ -1,27 +1,25 @@ // file : mod/mod-repository-details.cxx -*- C++ -*- -// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #include <mod/mod-repository-details.hxx> -#include <algorithm> // max() - #include <libstudxml/serializer.hxx> #include <odb/database.hxx> #include <odb/transaction.hxx> -#include <libbutl/timestamp.mxx> // to_string() +#include <libbutl/timestamp.hxx> // to_string() + +#include <web/server/module.hxx> +#include <web/server/mime-url-encoding.hxx> -#include <web/xhtml.hxx> -#include <web/module.hxx> -#include <web/mime-url-encoding.hxx> +#include <web/xhtml/serialization.hxx> #include <libbrep/package.hxx> #include <libbrep/package-odb.hxx> #include <mod/page.hxx> -#include <mod/options.hxx> +#include <mod/module-options.hxx> using namespace std; using namespace odb::core; @@ -100,7 +98,7 @@ handle (request& rq, response& rs) // string id (html_id (r.canonical_name)); s << H1(ID=id) - << A(HREF="#" + web::mime_url_encode (id, false)) + << A(HREF='#' + web::mime_url_encode (id, false)) << r.display_name << ~A << ~H1; |