1.10.06 mise à jour module News

This commit is contained in:
Fred Tempez 2024-07-30 21:17:55 +02:00
parent 3d1d4be997
commit 893db4034d
5 changed files with 7 additions and 5 deletions

View File

@ -51,7 +51,7 @@ class common
const ACCESS_TIMER = 1800; const ACCESS_TIMER = 1800;
// Numéro de version // Numéro de version
const ZWII_VERSION = '1.10.05'; const ZWII_VERSION = '1.10.06';
// URL autoupdate // URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';

View File

@ -1,3 +1,5 @@
# Versions 5.9
- Largeur d'un bouton de retour.
# Versions 5.7 - 5.8 # Versions 5.7 - 5.8
- Le flux RSS ne fonctionne pas si les méta de la page sont vides. - Le flux RSS ne fonctionne pas si les méta de la page sont vides.
# Version 5.6 # Version 5.6

View File

@ -1 +1 @@
{"name":"news","realName":"News","version":"5.0","update":"0.0","delete":true,"dataDirectory":"site\/data\/news\/"} {"name":"news","realName":"News","version":"5.9","update":"0.0","delete":true,"dataDirectory":"site\/data\/news\/"}

View File

@ -16,7 +16,7 @@
class news extends common class news extends common
{ {
const VERSION = '5.8'; const VERSION = '5.9';
const REALNAME = 'News'; const REALNAME = 'News';
const DATADIRECTORY = self::DATA_DIR . 'news/'; const DATADIRECTORY = self::DATA_DIR . 'news/';

View File

@ -1,13 +1,13 @@
<?php echo template::formOpen('newsEditForm'); ?> <?php echo template::formOpen('newsEditForm'); ?>
<div class="row"> <div class="row">
<div class="col2"> <div class="col1">
<?php echo template::button('newsEditBack', [ <?php echo template::button('newsEditBack', [
'class' => 'buttonGrey', 'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0) . '/config', 'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
'value' => template::ico('left') 'value' => template::ico('left')
]); ?> ]); ?>
</div> </div>
<div class="col2 offset6"> <div class="col2 offset7">
<?php echo template::button('newsEditDraft', [ <?php echo template::button('newsEditDraft', [
'uniqueSubmission' => true, 'uniqueSubmission' => true,
'value' => helper::translate('Brouillon') 'value' => helper::translate('Brouillon')