forked from ZwiiCMS-Team/ZwiiCMS
Variables names
This commit is contained in:
parent
529f495f3d
commit
ce610b2d0a
@ -118,7 +118,7 @@ class blog extends common {
|
|||||||
'state' => $this->getInput('blogAddState', helper::FILTER_BOOLEAN),
|
'state' => $this->getInput('blogAddState', helper::FILTER_BOOLEAN),
|
||||||
'title' => $this->getInput('blogAddTitle', helper::FILTER_STRING_SHORT, true),
|
'title' => $this->getInput('blogAddTitle', helper::FILTER_STRING_SHORT, true),
|
||||||
'userId' => $newuserid,
|
'userId' => $newuserid,
|
||||||
'maxlengthcomment' => $this->getInput('blogAddlength', null)
|
'commentMaxlength' => $this->getInput('blogAddlength', null)
|
||||||
]]);
|
]]);
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
@ -363,7 +363,7 @@ class blog extends common {
|
|||||||
'state' => $this->getInput('blogEditState', helper::FILTER_BOOLEAN),
|
'state' => $this->getInput('blogEditState', helper::FILTER_BOOLEAN),
|
||||||
'title' => $this->getInput('blogEditTitle', helper::FILTER_STRING_SHORT, true),
|
'title' => $this->getInput('blogEditTitle', helper::FILTER_STRING_SHORT, true),
|
||||||
'userId' => $newuserid,
|
'userId' => $newuserid,
|
||||||
'maxlengthcomment' => $this->getInput('blogEditLength'),
|
'commentMaxlength' => $this->getInput('blogEditCommentMaxlength'),
|
||||||
'commentApprove' => $this->getInput('blogEditCommentApprove')
|
'commentApprove' => $this->getInput('blogEditCommentApprove')
|
||||||
]]);
|
]]);
|
||||||
// Supprime l'ancien article
|
// Supprime l'ancien article
|
||||||
|
@ -65,10 +65,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php echo template::textarea('blogArticleContent', [
|
<?php echo template::textarea('blogArticleContent', [
|
||||||
'label' => 'Commentaire avec maximum '.$this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'maxlengthcomment']).' caractères',
|
'label' => 'Commentaire avec maximum '.$this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'commentMaxlength']).' caractères',
|
||||||
'class' => 'editorWysiwygComment',
|
'class' => 'editorWysiwygComment',
|
||||||
'noDirty' => true,
|
'noDirty' => true,
|
||||||
'maxlength' => $this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'maxlengthcomment'])
|
'maxlength' => $this->getData(['module', $this->getUrl(0), $this->getUrl(1), 'commentMaxlength'])
|
||||||
]); ?>
|
]); ?>
|
||||||
<div id="blogArticleContentAlarm"> </div>
|
<div id="blogArticleContentAlarm"> </div>
|
||||||
<?php if($this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')): ?>
|
<?php if($this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')): ?>
|
||||||
|
@ -84,10 +84,10 @@
|
|||||||
<div class="col5">
|
<div class="col5">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h4>Options de publication</h4>
|
<h4>Options de publication</h4>
|
||||||
<?php echo template::select('blogEditLength', $module::$longueur_comment,[
|
<?php echo template::select('blogEditCommentMaxlength', $module::$longueur_comment,[
|
||||||
'help' => 'Choix du nombre maximum de caractères pour chaque commentaire de l\'article, mise en forme html comprise.',
|
'help' => 'Choix du nombre maximum de caractères pour chaque commentaire de l\'article, mise en forme html comprise.',
|
||||||
'label' => 'Caractères par commentaire',
|
'label' => 'Caractères par commentaire',
|
||||||
'selected' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'maxlengthcomment'])
|
'selected' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'commentMaxlength'])
|
||||||
]); ?>
|
]); ?>
|
||||||
<?php echo template::select('blogEditUserId', $module::$users, [
|
<?php echo template::select('blogEditUserId', $module::$users, [
|
||||||
'label' => 'Auteur',
|
'label' => 'Auteur',
|
||||||
|
Loading…
Reference in New Issue
Block a user