diff --git a/_define.php b/_define.php index 39e62d2..95a9408 100644 --- a/_define.php +++ b/_define.php @@ -10,14 +10,15 @@ * @copyright Olivier Meunier * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ - -if (!defined('DC_RC_PATH')) {return;} +if (!defined('DC_RC_PATH')) { + return; +} $this->registerModule( - "ContactMe", // Name - "Add a simple contact form on your blog", // Description - "Olivier Meunier and contributors", // Author - '1.11.1', // Version + 'ContactMe', // Name + 'Add a simple contact form on your blog', // Description + 'Olivier Meunier and contributors', // Author + '1.12', // Version [ 'requires' => [['core', '2.16']], // Dependencies 'permissions' => 'admin', // Permissions diff --git a/default-templates/currywurst/contact_me.html b/default-templates/currywurst/contact_me.html index 676e507..ca8b7ee 100644 --- a/default-templates/currywurst/contact_me.html +++ b/default-templates/currywurst/contact_me.html @@ -29,6 +29,8 @@

{{tpl:ContactMePageTitle encode_html="1"}}

{{tpl:ContactMeFormCaption}}
+ + {{tpl:SysBehavior behavior="publicContactMeFormBeforeContent"}}

@@ -57,6 +59,8 @@

{{tpl:ContactMePageTitle encode_html="1"}}

+ + {{tpl:SysBehavior behavior="publicContactMeFormAfterContent"}}

diff --git a/default-templates/dotty/contact_me.html b/default-templates/dotty/contact_me.html index a69ae23..85192d6 100644 --- a/default-templates/dotty/contact_me.html +++ b/default-templates/dotty/contact_me.html @@ -29,6 +29,8 @@

{{tpl:ContactMePageTitle encode_html="1"}}

{{tpl:ContactMeFormCaption}}
+ + {{tpl:SysBehavior behavior="publicContactMeFormBeforeContent"}}

@@ -57,6 +59,8 @@

{{tpl:ContactMePageTitle encode_html="1"}}

+ + {{tpl:SysBehavior behavior="publicContactMeFormAfterContent"}}

diff --git a/default-templates/mustek/contact_me.html b/default-templates/mustek/contact_me.html index cb95eaf..188d9c7 100644 --- a/default-templates/mustek/contact_me.html +++ b/default-templates/mustek/contact_me.html @@ -29,6 +29,8 @@

{{tpl:ContactMePageTitle encode_html="1"}}

{{tpl:ContactMeFormCaption}}
+ + {{tpl:SysBehavior behavior="publicContactMeFormBeforeContent"}}

@@ -57,6 +59,8 @@

{{tpl:ContactMePageTitle encode_html="1"}}

+ + {{tpl:SysBehavior behavior="publicContactMeFormAfterContent"}}