update + bricole
This commit is contained in:
parent
c9899a7396
commit
25272e1b0b
|
@ -223,7 +223,7 @@ if( ! file_exists( 'core/vendor/tinymce/langs/'.$lang_page.'.js' )){
|
||||||
echo '<script> var lang_admin = "'.$lang_page.'"; </script>';
|
echo '<script> var lang_admin = "'.$lang_page.'"; </script>';
|
||||||
// Vendor tinymce ?>
|
// Vendor tinymce ?>
|
||||||
<script src="core/vendor/tinymce/tinymce.min.js"></script><script src="core/vendor/tinymce/init.js"></script>
|
<script src="core/vendor/tinymce/tinymce.min.js"></script><script src="core/vendor/tinymce/init.js"></script>
|
||||||
|
<br>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col4 offset4">
|
<div class="col4 offset4">
|
||||||
<?php echo template::button('buttonCommentShowForm', [
|
<?php echo template::button('buttonCommentShowForm', [
|
||||||
|
@ -232,7 +232,7 @@ echo '<script> var lang_admin = "'.$lang_page.'"; </script>';
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<br>
|
||||||
<div id="formCommentVisible" style="display: none;">
|
<div id="formCommentVisible" style="display: none;">
|
||||||
<?php // Formulaire
|
<?php // Formulaire
|
||||||
$action = helper::baseUrl().$this->getUrl().'#commentAnchor';
|
$action = helper::baseUrl().$this->getUrl().'#commentAnchor';
|
||||||
|
|
|
@ -180,6 +180,16 @@ if ($this->getData(['core', 'dataVersion']) < 4502) {
|
||||||
$this->setData(['core', 'dataVersion', 4502]);
|
$this->setData(['core', 'dataVersion', 4502]);
|
||||||
}
|
}
|
||||||
if ($this->getData(['core', 'dataVersion']) < 5001) {
|
if ($this->getData(['core', 'dataVersion']) < 5001) {
|
||||||
|
$this->setData([ 'config', 'social', 'comment', 'button', '']);
|
||||||
|
$this->setData([ 'config', 'social', 'comment', 'group', '']);
|
||||||
|
$this->setData([ 'config', 'social', 'comment', 'user', '']);
|
||||||
|
$this->setData([ 'config', 'social', 'comment', 'subject', '']);
|
||||||
|
$this->setData([ 'config', 'social', 'comment', 'captcha', true]);
|
||||||
|
$this->setData([ 'config', 'social', 'comment', 'nbItemPage', '3']);
|
||||||
|
copy ('core/module/install/ressource/database_fr/base/comment.json', self::DATA_DIR . 'base' . '/comment.json');
|
||||||
|
foreach( $this->getData(['config', 'i18n']) as $key => $value){
|
||||||
|
if( $value === 'site') copy ('core/module/install/ressource/database_fr/base/comment.json', self::DATA_DIR . $key . '/comment.json');
|
||||||
|
}
|
||||||
$this->setData(['core', 'dataVersion', 5001]);
|
$this->setData(['core', 'dataVersion', 5001]);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue