forked from ZwiiCMS-Team/ZwiiCMS
10.3.07 petits correctifs
This commit is contained in:
parent
3ba789dde2
commit
2b207f0499
@ -40,7 +40,7 @@ class common {
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.3.06';
|
||||
const ZWII_VERSION = '10.3.07';
|
||||
const ZWII_UPDATE_CHANNEL = "v10";
|
||||
|
||||
public static $actions = [];
|
||||
@ -1896,7 +1896,7 @@ class core extends common {
|
||||
'title' => $title,
|
||||
// Meta description = 160 premiers caractères de l'article
|
||||
'metaDescription' => $this->getData(['page',$this->getUrl(0),'moduleId']) === 'blog' && !empty($this->getUrl(1))
|
||||
? strip_tags(substr($this->getData(['module',$this->getUrl(0),$this->getUrl(1),'content']) ,0,159))
|
||||
? strip_tags(substr($this->getData(['module',$this->getUrl(0),'posts',$this->getUrl(1),'content']) ,0,159))
|
||||
: $this->getData(['page', $this->getUrl(0), 'metaDescription']),
|
||||
'metaTitle' => $this->getData(['page', $this->getUrl(0), 'metaTitle']),
|
||||
'typeMenu' => $this->getData(['page', $this->getUrl(0), 'typeMenu']),
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
<?php
|
||||
foreach($this->getData(['module',$childId]) as $articleId => $article): ?>
|
||||
<?php if($this->getData(['module',$childId,$articleId,'state']) === true) {?>
|
||||
<?php if($this->getData(['module',$childId,'posts',$articleId,'state']) === true) {?>
|
||||
<li>
|
||||
<a href="<?php echo helper::baseUrl() . $childId . '/' . $articleId;?>"><?php echo $article['title']; ?></a>
|
||||
</li>
|
||||
@ -42,7 +42,7 @@
|
||||
<?php if ($this->getData(['page', $parentId, 'moduleId']) === 'blog' &&
|
||||
!empty($this->getData(['module',$parentId])) ) { ?>
|
||||
<?php foreach($this->getData(['module',$parentId]) as $articleId => $article): ?>
|
||||
<?php if($this->getData(['module',$parentId,$articleId,'state']) === true ): ?>
|
||||
<?php if($this->getData(['module',$parentId,'posts',$articleId,'state']) === true ): ?>
|
||||
<li>
|
||||
<a href="<?php echo helper::baseUrl() . $parentId. '/' . $articleId;?>"><?php echo $article['title']; ?></a>
|
||||
</li>
|
||||
|
2
core/vendor/tinymce/init.js
vendored
2
core/vendor/tinymce/init.js
vendored
@ -20,7 +20,7 @@ tinymce.init({
|
||||
// Plugins
|
||||
plugins: "advlist anchor autolink autoresize autosave codemirror colorpicker contextmenu fullscreen hr image imagetools link lists media paste searchreplace stickytoolbar tabfocus table template textcolor emoticons nonbreaking",
|
||||
// Contenu de la barre d'outils
|
||||
toolbar: "restoredraft | undo redo | bold italic underline forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist emoticons | table template | image media link | code fullscreen",
|
||||
toolbar: "restoredraft | undo redo | formatselect bold italic underline forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist emoticons | table template | image media link | code fullscreen",
|
||||
// Emoticons
|
||||
emoticons_append: {
|
||||
custom_mind_explode: {
|
||||
|
Loading…
Reference in New Issue
Block a user