From f992f4d20b763d3d9cf4a0cf62d62a9216bb877e Mon Sep 17 00:00:00 2001 From: Albert S Date: Fri, 16 Nov 2018 16:54:35 +0100 Subject: [PATCH] proper prefix in templates: wikiqs -> qswiki --- config.cpp | 2 +- template/quitesimple/_headerlink | 2 +- template/quitesimple/admin_register | 8 ++++---- template/quitesimple/allcategories | 6 +++--- template/quitesimple/allpages | 6 +++--- template/quitesimple/error | 8 ++++---- template/quitesimple/general_footer | 6 +++--- template/quitesimple/general_header | 14 +++++++------- template/quitesimple/login | 8 ++++---- template/quitesimple/login_already | 8 ++++---- template/quitesimple/page_creation | 10 +++++----- template/quitesimple/page_creation_preview | 12 ++++++------ template/quitesimple/page_deletion | 10 +++++----- template/quitesimple/page_footer | 8 ++++---- template/quitesimple/page_header | 16 ++++++++-------- template/quitesimple/page_history | 10 +++++----- template/quitesimple/page_settings | 14 +++++++------- template/quitesimple/page_view | 8 ++++---- template/quitesimple/page_view_revision | 8 ++++---- template/quitesimple/recentchanges | 10 +++++----- template/quitesimple/search | 8 ++++---- template/quitesimple/show_category | 8 ++++---- template/quitesimple/show_whatlinkshere | 8 ++++---- template/quitesimple/user_changepw | 8 ++++---- templatepage.cpp | 2 +- 25 files changed, 104 insertions(+), 104 deletions(-) diff --git a/config.cpp b/config.cpp index f0c3fba..aa81477 100644 --- a/config.cpp +++ b/config.cpp @@ -92,7 +92,7 @@ Config::Config(const std::map &map) this->anon_permissions = Permissions(required("anon_permissions")); - this->templateprefix = "{wikiqs:"; + this->templateprefix = "{qswiki:"; } ConfigReader::ConfigReader(const std::string &file) diff --git a/template/quitesimple/_headerlink b/template/quitesimple/_headerlink index 9bb4ed6..bf8227a 100644 --- a/template/quitesimple/_headerlink +++ b/template/quitesimple/_headerlink @@ -1 +1 @@ -
  • {wikiqs:var:value}
  • +
  • {qswiki:var:value}
  • diff --git a/template/quitesimple/admin_register b/template/quitesimple/admin_register index 4b010c2..bb18295 100644 --- a/template/quitesimple/admin_register +++ b/template/quitesimple/admin_register @@ -1,15 +1,15 @@ -{wikiqs:include:general_header} +{qswiki:include:general_header}

    Login

    Register a new user -
    + Username:
    Password:
    Repeat password:
    - +
    -{wikiqs:include:general_footer} +{qswiki:include:general_footer} diff --git a/template/quitesimple/allcategories b/template/quitesimple/allcategories index 5ae74a9..6907504 100644 --- a/template/quitesimple/allcategories +++ b/template/quitesimple/allcategories @@ -1,6 +1,6 @@ -{wikiqs:include:general_header} +{qswiki:include:general_header}

    All categories

    -{wikiqs:var:categorylist} +{qswiki:var:categorylist}
    -{wikiqs:include:general_footer} +{qswiki:include:general_footer} diff --git a/template/quitesimple/allpages b/template/quitesimple/allpages index ccedf3b..7c86212 100644 --- a/template/quitesimple/allpages +++ b/template/quitesimple/allpages @@ -1,6 +1,6 @@ -{wikiqs:include:general_header} +{qswiki:include:general_header}

    All pages

    -{wikiqs:var:pagelist} +{qswiki:var:pagelist}
    -{wikiqs:include:general_footer} +{qswiki:include:general_footer} diff --git a/template/quitesimple/error b/template/quitesimple/error index 86cf70e..5afc8a9 100644 --- a/template/quitesimple/error +++ b/template/quitesimple/error @@ -1,6 +1,6 @@ -{wikiqs:include:general_header} +{qswiki:include:general_header}
    -

    {wikiqs:var:errortitle}


    -{wikiqs:var:errormessage} +

    {qswiki:var:errortitle}


    +{qswiki:var:errormessage}
    -{wikiqs:include:general_footer} +{qswiki:include:general_footer} diff --git a/template/quitesimple/general_footer b/template/quitesimple/general_footer index bca43e5..ec315a8 100644 --- a/template/quitesimple/general_footer +++ b/template/quitesimple/general_footer @@ -1,14 +1,14 @@