Supprimer les blocs dépliants

This commit is contained in:
Fred Tempez 2021-12-02 11:16:10 +01:00
parent 1a3f2f1fbf
commit bf14d2687f
4 changed files with 1412 additions and 1501 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +1,18 @@
/** /**
* This file is part of Zwii. * This file is part of Zwii.
* *
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* *
* @author Rémi Jean <remi.jean@outlook.com> * @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean * @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com> * @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez * @copyright Copyright (C) 2018-2021, Frédéric Tempez
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link http://zwiicms.fr/ * @link http://zwiicms.fr/
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER
* admin.css * admin.css
*/ */
#seo > .blockContainer,
#advanced > .blockContainer {
display: none;
}
#info .zwiico-minus-circled,
#layout .zwiico-minus-circled,
#location .zwiico-minus-circled {
display: inline;
}
.zwiico-minus-circled,
#info .zwiico-plus-circled,
#layout .zwiico-plus-circled,
#location .zwiico-plus-circled {
display: none;
}
.zwiico-minus-circled,
.zwiico-plus-circled {
cursor: pointer;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,329 +1,305 @@
<?php echo template::formOpen('pageEditForm'); ?> <?php echo template::formOpen('pageEditForm'); ?>
<div class="row"> <div class="row">
<div class="col2"> <div class="col2">
<?php $href = helper::baseUrl() . $this->getUrl(2); ?> <?php $href = helper::baseUrl() . $this->getUrl(2); ?>
<?php if ($this->getData(['page', $this->getUrl(2), 'moduleId']) === 'redirection' || 'code')$href = helper::baseUrl(); ?> <?php if ($this->getData(['page', $this->getUrl(2), 'moduleId']) === 'redirection' || 'code')$href = helper::baseUrl(); ?>
<?php echo template::button('pageEditBack', [ <?php echo template::button('pageEditBack', [
'class' => 'buttonGrey', 'class' => 'buttonGrey',
'href' => $href, 'href' => $href,
'ico' => 'left', 'ico' => 'left',
'value' => 'Retour' 'value' => 'Retour'
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">
<?php echo template::button('pageEditHelp', [ <?php echo template::button('pageEditHelp', [
'href' => 'https://doc.zwiicms.fr/les-pages-simples', 'href' => 'https://doc.zwiicms.fr/les-pages-simples',
'target' => '_blank', 'target' => '_blank',
'ico' => 'help', 'ico' => 'help',
'value' => 'Aide', 'value' => 'Aide',
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); ?>
</div> </div>
<div class="col2 offset2"> <div class="col2 offset2">
<?php echo template::button('pageEditDuplicate', [ <?php echo template::button('pageEditDuplicate', [
'href' => helper::baseUrl() . 'page/duplicate/' . $this->getUrl(2) . '&csrf=' . $_SESSION['csrf'], 'href' => helper::baseUrl() . 'page/duplicate/' . $this->getUrl(2) . '&csrf=' . $_SESSION['csrf'],
'value' => 'Dupliquer', 'value' => 'Dupliquer',
'ico' => 'clone' 'ico' => 'clone'
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">
<?php echo template::button('pageEditDelete', [ <?php echo template::button('pageEditDelete', [
'class' => 'buttonRed', 'class' => 'buttonRed',
'href' => helper::baseUrl() . 'page/delete/' . $this->getUrl(2) . '&csrf=' . $_SESSION['csrf'], 'href' => helper::baseUrl() . 'page/delete/' . $this->getUrl(2) . '&csrf=' . $_SESSION['csrf'],
'value' => 'Supprimer', 'value' => 'Supprimer',
'ico' => 'cancel' 'ico' => 'cancel'
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">
<?php echo template::submit('pageEditSubmit', [ <?php echo template::submit('pageEditSubmit', [
'uniqueSubmission' => true 'uniqueSubmission' => true
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<div class="block" id="info"> <div class="block" id="info">
<h4>Informations générales <h4>Informations générales
<span id="infoHelpButton" class="helpDisplayButton"> <span id="infoHelpButton" class="helpDisplayButton">
<a href="https://doc.zwiicms.fr/informations-generales" target="_blank"> <a href="https://doc.zwiicms.fr/informations-generales" target="_blank">
<?php echo template::ico('help', 'left');?> <?php echo template::ico('help', 'left');?>
</a> </a>
</span> </span>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col6"> <div class="col6">
<?php echo template::text('pageEditTitle', [ <?php echo template::text('pageEditTitle', [
'label' => 'Titre', 'label' => 'Titre',
'value' => $this->getData(['page', $this->getUrl(2), 'title']) 'value' => $this->getData(['page', $this->getUrl(2), 'title'])
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">
<?php echo template::text('pageEditShortTitle', [ <?php echo template::text('pageEditShortTitle', [
'label' => 'Titre Court', 'label' => 'Titre Court',
'value' => $this->getData(['page', $this->getUrl(2), 'shortTitle']), 'value' => $this->getData(['page', $this->getUrl(2), 'shortTitle']),
'help' => 'Le titre court est affiché dans les menus. Il peut être identique au titre de la page.' 'help' => 'Le titre court est affiché dans les menus. Il peut être identique au titre de la page.'
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col4">
<div class="row"> <div class="row">
<div class="col9"> <div class="col9">
<?php echo template::hidden('pageEditModuleRedirect'); ?> <?php echo template::hidden('pageEditModuleRedirect'); ?>
<?php echo template::select('pageEditModuleId', $module::$moduleIds, [ <?php echo template::select('pageEditModuleId', $module::$moduleIds, [
'help' => 'En cas de changement de module, les données du module précédent seront supprimées.', 'help' => 'En cas de changement de module, les données du module précédent seront supprimées.',
'label' => 'Module', 'label' => 'Module',
'selected' => $this->getData(['page', $this->getUrl(2), 'moduleId']) 'selected' => $this->getData(['page', $this->getUrl(2), 'moduleId'])
]); ?> ]); ?>
<?php echo template::hidden('pageEditModuleIdOld',['value' => $this->getData(['page', $this->getUrl(2), 'moduleId'])]); ?> <?php echo template::hidden('pageEditModuleIdOld',['value' => $this->getData(['page', $this->getUrl(2), 'moduleId'])]); ?>
<?php echo template::hidden('pageEditModuleIdOldText',[ <?php echo template::hidden('pageEditModuleIdOldText',[
'value' => array_key_exists($this->getData(['page', $this->getUrl(2), 'moduleId']),$module::$moduleIds)? $module::$moduleIds[$this->getData(['page', $this->getUrl(2), 'moduleId'])] : ucfirst($this->getData(['page', $this->getUrl(2), 'moduleId'])) 'value' => array_key_exists($this->getData(['page', $this->getUrl(2), 'moduleId']),$module::$moduleIds)? $module::$moduleIds[$this->getData(['page', $this->getUrl(2), 'moduleId'])] : ucfirst($this->getData(['page', $this->getUrl(2), 'moduleId']))
]); ?> ]); ?>
</div> </div>
<div class="col3 verticalAlignBottom"> <div class="col3 verticalAlignBottom">
<?php echo template::button('pageEditModuleConfig', [ <?php echo template::button('pageEditModuleConfig', [
'disabled' => (bool) $this->getData(['page', $this->getUrl(2), 'moduleId']) === false, 'disabled' => (bool) $this->getData(['page', $this->getUrl(2), 'moduleId']) === false,
'uniqueSubmission' => true, 'uniqueSubmission' => true,
'value' => template::ico('gear') 'value' => template::ico('gear')
]); ?> ]); ?>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
<?php echo template::select('pageTypeMenu', $module::$typeMenu,[ <?php echo template::select('pageTypeMenu', $module::$typeMenu,[
'label' => 'Aspect du lien', 'label' => 'Aspect du lien',
'selected' => $this->getData(['page', $this->getUrl(2), 'typeMenu']) 'selected' => $this->getData(['page', $this->getUrl(2), 'typeMenu'])
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col4">
<?php echo template::file('pageIconUrl', [ <?php echo template::file('pageIconUrl', [
'help' => 'Sélectionnez une image ou une icône de petite dimension', 'help' => 'Sélectionnez une image ou une icône de petite dimension',
'label' => 'Icône', 'label' => 'Icône',
'value' => $this->getData(['page', $this->getUrl(2), 'iconUrl']) 'value' => $this->getData(['page', $this->getUrl(2), 'iconUrl'])
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col4">
<?php echo template::select('configModulePosition', $module::$modulePosition,[ <?php echo template::select('configModulePosition', $module::$modulePosition,[
'help' => 'En position libre ajoutez le module en plaçant [MODULE] à l\'endroit voulu dans votre page.', 'help' => 'En position libre ajoutez le module en plaçant [MODULE] à l\'endroit voulu dans votre page.',
'label' => 'Position du module', 'label' => 'Position du module',
'selected' => $this->getData(['page', $this->getUrl(2), 'modulePosition']) 'selected' => $this->getData(['page', $this->getUrl(2), 'modulePosition'])
]); ?> ]); ?>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<?php echo template::textarea('pageEditContent', [ <?php echo template::textarea('pageEditContent', [
'class' => 'editorWysiwyg', 'class' => 'editorWysiwyg',
//'value' => file_get_contents(self::DATA_DIR . self::$i18n . '/content/' . $this->getData(['page', $this->getUrl(2), 'content'])) //'value' => file_get_contents(self::DATA_DIR . self::$i18n . '/content/' . $this->getData(['page', $this->getUrl(2), 'content']))
'value' => $this->getPage($this->getUrl(2), self::$i18n) 'value' => $this->getPage($this->getUrl(2), self::$i18n)
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col12" id="pageEditBlockLayout"> <div class="col12" id="pageEditBlockLayout">
<div class="block" id="layout"> <div class="block">
<h4>Mise en page <h4>Mise en page
<span id="layoutHelpButton" class="helpDisplayButton"> <span id="layoutHelpButton" class="helpDisplayButton">
<a href="https://doc.zwiicms.fr/les-barres-laterales" target="_blank"> <a href="https://doc.zwiicms.fr/les-barres-laterales" target="_blank">
<?php echo template::ico('help', 'left');?> <?php echo template::ico('help', 'left');?>
</a> </a>
</span> </span>
<div class="openClose"> </h4>
<?php <div class="blockContainer">
echo template::ico('plus-circled','right'); <div class="row">
echo template::ico('minus-circled','right'); <div class="col6">
?> <div class="row">
</div> <div class="col12">
</h4> <?php echo template::select('pageEditBlock', $module::$pageBlocks, [
<div class="blockContainer"> 'label' => 'Gabarits de page / Barre latérale',
<div class="row"> 'help' => 'Pour définir la page comme barre latérale, choisissez l\'option dans la liste.',
<div class="col6"> 'selected' => $this->getData(['page', $this->getUrl(2) , 'block'])
<div class="row"> ]); ?>
<div class="col12"> </div>
<?php echo template::select('pageEditBlock', $module::$pageBlocks, [ </div>
'label' => 'Gabarits de page / Barre latérale', </div>
'help' => 'Pour définir la page comme barre latérale, choisissez l\'option dans la liste.', <div class="col6">
'selected' => $this->getData(['page', $this->getUrl(2) , 'block']) <!-- Sélection des barres latérales -->
]); ?> <?php if($this->getHierarchy($this->getUrl(2),false,true)): ?>
</div> <?php echo template::hidden('pageEditBarLeft', [
</div> 'value' => $this->getData(['page', $this->getUrl(2), 'barLeft'])
</div> ]); ?>
<div class="col6"> <?php else: ?>
<!-- Sélection des barres latérales --> <?php echo template::select('pageEditBarLeft', $module::$pagesBarId, [
<?php if($this->getHierarchy($this->getUrl(2),false,true)): ?> 'label' => 'Barre latérale gauche :',
<?php echo template::hidden('pageEditBarLeft', [ 'selected' => $this->getData(['page', $this->getUrl(2), 'barLeft'])
'value' => $this->getData(['page', $this->getUrl(2), 'barLeft']) ]); ?>
]); ?> <?php endif; ?>
<?php else: ?> <?php if($this->getHierarchy($this->getUrl(2),false,true)): ?>
<?php echo template::select('pageEditBarLeft', $module::$pagesBarId, [ <?php echo template::hidden('pageEditBarRight', [
'label' => 'Barre latérale gauche :', 'value' => $this->getData(['page', $this->getUrl(2), 'barRight'])
'selected' => $this->getData(['page', $this->getUrl(2), 'barLeft']) ]); ?>
]); ?> <?php else: ?>
<?php endif; ?> <?php echo template::select('pageEditBarRight', $module::$pagesBarId, [
<?php if($this->getHierarchy($this->getUrl(2),false,true)): ?> 'label' => 'Barre latérale droite :',
<?php echo template::hidden('pageEditBarRight', [ 'selected' => $this->getData(['page', $this->getUrl(2), 'barRight'])
'value' => $this->getData(['page', $this->getUrl(2), 'barRight']) ]); ?>
]); ?> <?php endif; ?>
<?php else: ?> <?php echo template::select('pageEditDisplayMenu', $module::$displayMenu, [
<?php echo template::select('pageEditBarRight', $module::$pagesBarId, [ 'label' => 'Contenu du menu vertical',
'label' => 'Barre latérale droite :', 'selected' => $this->getData(['page', $this->getUrl(2), 'displayMenu']),
'selected' => $this->getData(['page', $this->getUrl(2), 'barRight']) 'help' => 'Par défaut le menu est affiché APRES le contenu de la page. Pour le positionner à un emplacement précis, insérez [MENU] dans le contenu de la page.'
]); ?> ]); ?>
<?php endif; ?> </div>
<?php echo template::select('pageEditDisplayMenu', $module::$displayMenu, [ </div>
'label' => 'Contenu du menu vertical', </div>
'selected' => $this->getData(['page', $this->getUrl(2), 'displayMenu']), </div>
'help' => 'Par défaut le menu est affiché APRES le contenu de la page. Pour le positionner à un emplacement précis, insérez [MENU] dans le contenu de la page.' </div>
]); ?> </div>
</div> <div class="row">
</div> <div class="col12" id="pageEditMenu">
</div> <div class="block">
</div> <h4>Emplacement dans le menu
</div> <span id="positionHelpButton" class="helpDisplayButton">
</div> <a href="https://doc.zwiicms.fr/emplacement-dans-le-menu" target="_blank">
<div class="row"> <?php echo template::ico('help', 'left');?>
<div class="col12" id="pageEditMenu"> </a>
<div class="block" id="location"> </span>
<h4>Emplacement dans le menu </h4>
<span id="positionHelpButton" class="helpDisplayButton"> <div class="blockContainer">
<a href="https://doc.zwiicms.fr/emplacement-dans-le-menu" target="_blank"> <div class="row">
<?php echo template::ico('help', 'left');?> <div class="col6">
</a> <?php echo template::select('pageEditPosition', [], [
</span> 'label' => 'Position',
<div class="openClose"> 'help' => '\'Ne pas afficher\' crée une page orpheline non accessible par le biais des menus.'
<?php ]); ?>
echo template::ico('plus-circled','right'); </div>
echo template::ico('minus-circled','right'); <div class="col6">
?> <?php if($this->getHierarchy($this->getUrl(2), false)): ?>
</div> <?php echo template::hidden('pageEditParentPageId', [
</h4> 'value' => $this->getData(['page', $this->getUrl(2), 'parentPageId'])
<div class="blockContainer"> ]); ?>
<div class="row"> <?php else: ?>
<div class="col6"> <?php echo template::select('pageEditParentPageId', $module::$pagesNoParentId, [
<?php echo template::select('pageEditPosition', [], [ 'label' => 'Page parent',
'label' => 'Position', 'selected' => $this->getData(['page', $this->getUrl(2), 'parentPageId'])
'help' => '\'Ne pas afficher\' crée une page orpheline non accessible par le biais des menus.' ]); ?>
]); ?> <?php endif; ?>
</div> </div>
<div class="col6"> </div>
<?php if($this->getHierarchy($this->getUrl(2), false)): ?>
<?php echo template::hidden('pageEditParentPageId', [ <div class="row">
'value' => $this->getData(['page', $this->getUrl(2), 'parentPageId']) <div class="col6">
]); ?> <?php echo template::checkbox('pageEditDisable', true, 'Désactivée', [
<?php else: ?> 'checked' => $this->getData(['page', $this->getUrl(2), 'disable']),
<?php echo template::select('pageEditParentPageId', $module::$pagesNoParentId, [ 'help' => 'Une page désactivée n\'est pas cliquable en mode déconnecté, les pages enfants sont visibles et accessibles. La page d\'accueil n\'est pas désactivable.'
'label' => 'Page parent', ]); ?>
'selected' => $this->getData(['page', $this->getUrl(2), 'parentPageId']) </div>
]); ?> <div class="col6">
<?php endif; ?> <?php echo template::checkbox('pageEditTargetBlank', true, 'Nouvel onglet', [
</div> 'checked' => $this->getData(['page', $this->getUrl(2), 'targetBlank'])
</div> ]); ?>
</div>
<div class="row"> </div>
<div class="col6"> <div class="row">
<?php echo template::checkbox('pageEditDisable', true, 'Désactivée', [ <div class="col6">
'checked' => $this->getData(['page', $this->getUrl(2), 'disable']), <?php echo template::checkbox('pageEditHideTitle', true, 'Titre masqué', [
'help' => 'Une page désactivée n\'est pas cliquable en mode déconnecté, les pages enfants sont visibles et accessibles. La page d\'accueil n\'est pas désactivable.' 'checked' => $this->getData(['page', $this->getUrl(2), 'hideTitle'])
]); ?> ]); ?>
</div> </div>
<div class="col6"> <div class="col6">
<?php echo template::checkbox('pageEditTargetBlank', true, 'Nouvel onglet', [ <?php echo template::checkbox('pageEditbreadCrumb', true, 'Fil d\'Ariane', [
'checked' => $this->getData(['page', $this->getUrl(2), 'targetBlank']) 'checked' => $this->getData(['page', $this->getUrl(2), 'breadCrumb']),
]); ?> 'help' => 'Affiche le nom de la page parente suivi du nom de la page, le titre ne doit pas être masqué.'
</div> ]); ?>
</div> </div>
<div class="row"> </div>
<div class="col6"> </div>
<?php echo template::checkbox('pageEditHideTitle', true, 'Titre masqué', [ </div>
'checked' => $this->getData(['page', $this->getUrl(2), 'hideTitle']) </div>
]); ?> </div>
</div> <div class='row' id="pageEditAdvancedWrapper">
<div class="col6"> <div class="col12">
<?php echo template::checkbox('pageEditbreadCrumb', true, 'Fil d\'Ariane', [ <div class="block">
'checked' => $this->getData(['page', $this->getUrl(2), 'breadCrumb']), <h4>Options d'emplacement avancées
'help' => 'Affiche le nom de la page parente suivi du nom de la page, le titre ne doit pas être masqué.' <span id="advancedHelpButton" class="helpDisplayButton">
]); ?> <a href="https://doc.zwiicms.fr/options-d-emplacement-avancee" target="_blank">
</div> <?php echo template::ico('help', 'left');?>
</div> </a>
</div> </span>
</div> </h4>
</div> <div class="blockContainer">
</div> <div class="row">
<div class='row' id="pageEditAdvancedWrapper"> <div class="col6">
<div class="col12"> <?php echo template::checkbox('pageEditHideMenuChildren', true, 'Masquer les pages enfants dans le menu horizontal', [
<div class="block" id="advanced"> 'checked' => $this->getData(['page', $this->getUrl(2), 'hideMenuChildren'])
<h4>Options d'emplacement avancées ]); ?>
<span id="advancedHelpButton" class="helpDisplayButton"> </div>
<a href="https://doc.zwiicms.fr/options-d-emplacement-avancee" target="_blank"> <div class="col6">
<?php echo template::ico('help', 'left');?> <?php echo template::checkbox('pageEditHideMenuSide', true, 'Masquer la page et les pages enfants dans le menu d\'une barre latérale' , [
</a> 'checked' => $this->getData(['page', $this->getUrl(2), 'hideMenuSide']),
</span> 'help' => 'La page est affichée dans un menu horizontal mais pas dans le menu vertical d\'une barre latérale.'
<div class="openClose"> ]); ?>
<?php </div>
echo template::ico('plus-circled','right'); </div>
echo template::ico('minus-circled','right'); </div>
?> </div>
</div> </div>
</h4> </div>
<div class="blockContainer"> <div class='row' id="pageEditSeoWrapper">
<div class="row"> <div class="col12">
<div class="col6"> <div class="block">
<?php echo template::checkbox('pageEditHideMenuChildren', true, 'Masquer les pages enfants dans le menu horizontal', [ <h4>Permission et référencement
'checked' => $this->getData(['page', $this->getUrl(2), 'hideMenuChildren']) <span id="seoHelpButton" class="helpDisplayButton">
]); ?> <a href="https://doc.zwiicms.fr/permission-et-referencement" target="_blank">
</div> <?php echo template::ico('help', 'left');?>
<div class="col6"> </a>
<?php echo template::checkbox('pageEditHideMenuSide', true, 'Masquer la page et les pages enfants dans le menu d\'une barre latérale' , [ </span>
'checked' => $this->getData(['page', $this->getUrl(2), 'hideMenuSide']), </h4>
'help' => 'La page est affichée dans un menu horizontal mais pas dans le menu vertical d\'une barre latérale.' <div class="blockContainer">
]); ?> <div class="row">
</div> <div class='col6'>
</div> <?php echo template::select('pageEditGroup', self::$groupPublics, [
</div> 'label' => 'Groupe requis pour accéder à la page :',
</div> 'selected' => $this->getData(['page', $this->getUrl(2), 'group'])
</div> ]); ?>
</div> </div>
<div class='row' id="pageEditSeoWrapper"> <div class='col12'>
<div class="col12"> <?php echo template::text('pageEditMetaTitle', [
<div class="block" id="seo"> 'label' => 'Méta-titre',
<h4>Permission et référencement 'value' => $this->getData(['page', $this->getUrl(2), 'metaTitle'])
<span id="seoHelpButton" class="helpDisplayButton"> ]); ?>
<a href="https://doc.zwiicms.fr/permission-et-referencement" target="_blank"> <?php echo template::textarea('pageEditMetaDescription', [
<?php echo template::ico('help', 'left');?> 'label' => 'Méta-description',
</a> //'maxlength' => '500',
</span> 'value' => $this->getData(['page', $this->getUrl(2), 'metaDescription'])
<div class="openClose"> ]); ?>
<?php </div>
echo template::ico('plus-circled','right'); </div>
echo template::ico('minus-circled','right'); </div>
?> </div>
</div> </div>
</h4> </div>
<div class="blockContainer"> <?php echo template::formClose(); ?>
<div class="row">
<div class='col6'>
<?php echo template::select('pageEditGroup', self::$groupPublics, [
'label' => 'Groupe requis pour accéder à la page :',
'selected' => $this->getData(['page', $this->getUrl(2), 'group'])
]); ?>
</div>
<div class='col12'>
<?php echo template::text('pageEditMetaTitle', [
'label' => 'Méta-titre',
'value' => $this->getData(['page', $this->getUrl(2), 'metaTitle'])
]); ?>
<?php echo template::textarea('pageEditMetaDescription', [
'label' => 'Méta-description',
//'maxlength' => '500',
'value' => $this->getData(['page', $this->getUrl(2), 'metaDescription'])
]); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>