|
@@ -35,6 +35,7 @@ class SiteController extends ActionController
|
|
|
const TEMPLATE_NEWS = "OpenTalent.OtTemplating->news";
|
|
const TEMPLATE_NEWS = "OpenTalent.OtTemplating->news";
|
|
|
const TEMPLATE_MEMBERS = "OpenTalent.OtTemplating->members";
|
|
const TEMPLATE_MEMBERS = "OpenTalent.OtTemplating->members";
|
|
|
const TEMPLATE_MEMBERSCA = "OpenTalent.OtTemplating->membersCa";
|
|
const TEMPLATE_MEMBERSCA = "OpenTalent.OtTemplating->membersCa";
|
|
|
|
|
+ const TEMPLATE_LEGAL = "OpenTalent.OtTemplating->legal";
|
|
|
|
|
|
|
|
// Pages dokType values
|
|
// Pages dokType values
|
|
|
const DOK_PAGE = 1;
|
|
const DOK_PAGE = 1;
|
|
@@ -371,7 +372,8 @@ class SiteController extends ActionController
|
|
|
$organization,
|
|
$organization,
|
|
|
$this->createdPagesIndex['/footer'],
|
|
$this->createdPagesIndex['/footer'],
|
|
|
'Mentions légales',
|
|
'Mentions légales',
|
|
|
- '/mentions-legales'
|
|
|
|
|
|
|
+ '/mentions-legales',
|
|
|
|
|
+ self::TEMPLATE_LEGAL
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
// > 'Présentation > Contact' shortcut
|
|
// > 'Présentation > Contact' shortcut
|
|
@@ -432,14 +434,6 @@ class SiteController extends ActionController
|
|
|
self::CTYPE_SITEMAP
|
|
self::CTYPE_SITEMAP
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
- // >> page 'mentions légales'
|
|
|
|
|
- $this->insertContent(
|
|
|
|
|
- $this->createdPagesIndex['/mentions-legales'],
|
|
|
|
|
- self::CTYPE_TEXT,
|
|
|
|
|
- '<p style="margin-bottom: 0"><b>Mentions Légales</b></p>',
|
|
|
|
|
- 0
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
// Build and update the domain
|
|
// Build and update the domain
|
|
|
if ($mode == self::MODE_PROD) {
|
|
if ($mode == self::MODE_PROD) {
|
|
|
$domain = $organization->getSubDomain() . '.opentalent.fr';
|
|
$domain = $organization->getSubDomain() . '.opentalent.fr';
|