11.2.00.5 aperçu contenu perso en-tête + aspect bloc zone de saisie
This commit is contained in:
parent
863169d32b
commit
f9109bb4a1
@ -45,7 +45,7 @@ class common {
|
|||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
|
||||||
const ZWII_VERSION = '11.2.00.4';
|
const ZWII_VERSION = '11.2.00.5';
|
||||||
const ZWII_UPDATE_CHANNEL = "test";
|
const ZWII_UPDATE_CHANNEL = "test";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
@ -457,7 +457,7 @@ class theme extends common {
|
|||||||
'imageContainer' => $this->getInput('themeHeaderImageContainer'),
|
'imageContainer' => $this->getInput('themeHeaderImageContainer'),
|
||||||
'tinyHidden' => $this->getInput('themeHeaderTinyHidden', helper::FILTER_BOOLEAN),
|
'tinyHidden' => $this->getInput('themeHeaderTinyHidden', helper::FILTER_BOOLEAN),
|
||||||
'feature' => $this->getInput('themeHeaderFeature'),
|
'feature' => $this->getInput('themeHeaderFeature'),
|
||||||
'featureContent' => $this->getInput('themeHeaderContent', null)
|
'featureContent' => $this->getInput('themeHeaderText', null)
|
||||||
]]);
|
]]);
|
||||||
// Modification de la position du menu selon la position de la bannière
|
// Modification de la position du menu selon la position de la bannière
|
||||||
if ( $this->getData(['theme','header','position']) == 'site' )
|
if ( $this->getData(['theme','header','position']) == 'site' )
|
||||||
|
@ -15,4 +15,15 @@
|
|||||||
|
|
||||||
/** NE PAS EFFACER
|
/** NE PAS EFFACER
|
||||||
* admin.css
|
* admin.css
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Titre zone TinyMCE
|
||||||
|
*/
|
||||||
|
.titleWysiwygContent {
|
||||||
|
font-family: "Oswald",sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
text-transform: none;
|
||||||
|
font-size: 1.0em;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
@ -140,14 +140,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block">
|
<?php echo template::textarea('themeFooterText', [
|
||||||
<h4>Contenu personnalisé</h4>
|
'label' => '<div class="titleWysiwygContent">Contenu personnalisé</div>',
|
||||||
<?php echo template::textarea('themeFooterText', [
|
'value' => $this->getData(['theme', 'footer', 'text']),
|
||||||
'label' => '<strong>Texte ou HTML</strong>',
|
'class' => 'editorWysiwyg'
|
||||||
'value' => $this->getData(['theme', 'footer', 'text']),
|
]); ?>
|
||||||
'class' => 'editorWysiwyg'
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -14,4 +14,15 @@
|
|||||||
|
|
||||||
/** NE PAS EFFACER
|
/** NE PAS EFFACER
|
||||||
* admin.css
|
* admin.css
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Titre zone TinyMCE
|
||||||
|
*/
|
||||||
|
.titleWysiwygContent {
|
||||||
|
font-family: "Oswald",sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
text-transform: none;
|
||||||
|
font-size: 1.0em;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
@ -205,15 +205,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row featureContainer">
|
<div class="row featureContainer">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block">
|
<div class="row">
|
||||||
<h4>Contenu personnalisé</h4>
|
<div class="col12">
|
||||||
<div class="row">
|
<?php echo template::textarea('themeHeaderText', [
|
||||||
<div class="col12">
|
'label' => '<div class="titleWysiwygContent">Contenu personnalisé</div>',
|
||||||
<?php echo template::textarea('themeHeaderContent', [
|
'class' => 'editorWysiwyg',
|
||||||
'class' => 'editorWysiwyg',
|
'value' => $this->getData(['theme', 'header', 'featureContent'])
|
||||||
'value' => $this->getData(['theme', 'header', 'featureContent'])
|
]); ?>
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
4
core/vendor/tinymce/init.js
vendored
4
core/vendor/tinymce/init.js
vendored
@ -20,6 +20,10 @@ tinymce.init({
|
|||||||
if (ed.id === 'themeFooterText') {
|
if (ed.id === 'themeFooterText') {
|
||||||
$("#footerText").html(tinyMCE.get('themeFooterText').getContent());
|
$("#footerText").html(tinyMCE.get('themeFooterText').getContent());
|
||||||
}
|
}
|
||||||
|
if (ed.id === 'themeHeaderText') {
|
||||||
|
$("#featureContent").html(tinyMCE.get('themeHeaderText').getContent());
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// Langue
|
// Langue
|
||||||
|
Loading…
Reference in New Issue
Block a user