This commit is contained in:
Deltacms 2023-03-22 14:54:21 +01:00
parent 5d95abdcf0
commit f0c42b9ded
139 changed files with 385 additions and 1418 deletions

View File

@ -1,5 +1,16 @@
# Changelog # Changelog
## Version 4.4.06 de Deltacms
- Modifications :
- Thème / Footer : nouvelle option 'Qui est en ligne ?', affiche le nombre de visiteurs ou d'utilisateurs connectés,
- Réécriture du layout, l'affichage des pages est plus rapide,
- Module Form : un brouillon trop ancien est effacé pour détruire les traces de robots malveillants,
- Configuration / configuration : message de confirmation avant une mise à jour de DeltaCMS.
- Corrections :
- Module Form : messages liés au captcha,
- Thème / menu : l'aperçu en direct pendant sa configuration est amélioré,
- Configuration / configuration : lien du bouton Réinstaller neutralisé si le bouton est désactivé.
## Version 4.4.05 de Deltacms ## Version 4.4.05 de Deltacms
- Modifications : - Modifications :
- Chargement ordonné des scripts javascript et des styles, l'affichage des pages est plus rapide, - Chargement ordonné des scripts javascript et des styles, l'affichage des pages est plus rapide,

View File

@ -1,12 +1,12 @@
# DeltaCMS 4.4.05 # DeltaCMS 4.4.06
DeltaCMS est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation. DeltaCMS est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.
L'administration du site est bilingue anglais ou français, le site peut être rédigé dans une des principales langues européennes. L'administration du site est bilingue anglais ou français, le site peut être rédigé dans une langue quelconque.
2 modes de traduction sont proposés : traduction rédigée, assistée (conseillée) ou à défaut traduction automatique par script. 2 modes de traduction sont proposés : traduction rédigée, assistée (conseillée) ou à défaut traduction automatique par script.
DeltaCMS is a database-less (flat-file) CMS that allows you to easily create and manage a website without any programming knowledge. DeltaCMS is a database-less (flat-file) CMS that allows you to easily create and manage a website without any programming knowledge.
The administration of the site is bilingual English or French, the site can be written in one of the main European languages. The administration of the site is bilingual English or French, the site can be written in any language.
2 translation modes are available: written and assisted translation (recommended) or automatic translation by script. 2 translation modes are available: written and assisted translation (recommended) or automatic translation by script.
[Site](http://deltacms.fr/) [Site](http://deltacms.fr/)

View File

@ -3,7 +3,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *
@ -49,7 +49,7 @@ class common {
// Numéro de version // Numéro de version
const DELTA_UPDATE_URL = 'https://update.deltacms.fr/master/'; const DELTA_UPDATE_URL = 'https://update.deltacms.fr/master/';
const DELTA_VERSION = '4.4.05'; const DELTA_VERSION = '4.4.06';
const DELTA_UPDATE_CHANNEL = "v4"; const DELTA_UPDATE_CHANNEL = "v4";
public static $actions = []; public static $actions = [];
@ -221,7 +221,8 @@ class common {
'admin' => '', 'admin' => '',
'blacklist' => '', 'blacklist' => '',
'locale' => '', 'locale' => '',
'fonts' => '' 'fonts' => '',
'session' =>''
]; ];
/** /**
@ -1509,6 +1510,40 @@ class common {
$label = empty($this->getData(['locale', 'cookies', 'cookiesFooterText'])) ? 'Cookies' : $this->getData(['locale', 'cookies', 'cookiesFooterText']) ; $label = empty($this->getData(['locale', 'cookies', 'cookiesFooterText'])) ? 'Cookies' : $this->getData(['locale', 'cookies', 'cookiesFooterText']) ;
$items .= '<wbr>&nbsp;|&nbsp;<a href="javascript:void(0)" class="skiptranslate" id="footerLinkCookie">'. $label .'</a>'; $items .= '<wbr>&nbsp;|&nbsp;<a href="javascript:void(0)" class="skiptranslate" id="footerLinkCookie">'. $label .'</a>';
$items .= '</span>'; $items .= '</span>';
// Enregistrement et affichage des personnes en ligne
if( $this->getData(['theme', 'footer', 'displayWhois']) === true ){
// ajouter 'session' à la liste des descripteurs d'E/S ligne 225
if( ! file_exists(self::DATA_DIR . 'session.json')) file_put_contents(self::DATA_DIR . 'session.json', '{}');
$user_type = $this->getUser('id') ? $this->getData(['user', $this->getUser('id'), 'group']) : 0 ;
$this->setData(['session', session_id(), 'user_type', $user_type ]);
$this->setData(['session', session_id(), 'time', time() ]);
// Lexique
include('./core/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_core.php');
$file = file_get_contents('site/data/session.json');
$session_tab = json_decode( $file, true);
$whoIs = [0 => 0,1 => 0,2 => 0, 3 => 0,4=> 0];
foreach( $session_tab as $key1=>$session_id){
foreach($session_id as $key2=>$value){
// Temps d'inactivité réglé ici à 300 secondes
if( time() > $value["time"] + 300){
$session_tab[$key1]=[];
} else {
$whoIs[$value['user_type']]++;
}
}
}
$file = json_encode( $session_tab);
file_put_contents('site/data/session.json', $file);
// Affichage
$textWhoIs ='';
foreach( $whoIs as $key=>$value ){
if( $value !== 0){
$textWhoIs .= ' '. $value.'&nbsp;'. $groupWhoIs[$key];
$textWhoIs .= $value > 1 ? 's ':' ';
}
}
$items .= ' | '.$textWhoIs;
}
// Affichage du lien de connexion // Affichage du lien de connexion
if( if(
( (
@ -1619,27 +1654,71 @@ class common {
/** /**
* Affiche le menu * Affiche le menu
*/ */
public function showMenu() { public function showMenu( $position ='') {
// Lexique // Lexique
include('./core/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_core.php'); include('./core/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_core.php');
switch ($position) {
case 'top':
// Détermine si le menu est fixe en haut de page lorsque l'utilisateur n'est pas connecté
if ( $this->getData(['theme', 'menu', 'position']) === 'top' AND $this->getData(['theme', 'menu', 'fixed']) === true ){
if( $this->getUser('password') === $this->getInput('DELTA_USER_PASSWORD') AND $this->getUser('group') > self::GROUP_MEMBER) {
echo '<nav id="navfixedconnected" >';
} else {
echo '<nav id="navfixedlogout" >';
}
} else {
echo '<nav>';
}
$menuClass = $this->getData(['theme', 'menu', 'wide']) === 'none' ? 'class="container-large"' : 'class="container"';
break;
case 'body-first' :
// Limitation de la largeur du bandeau menu pour une bannière body et container
$navStyle = $this->getData(['theme', 'header', 'wide'])==='container'? $navStyle = 'class="container"' : '';
echo '<nav '.$navStyle.'>';
$menuClass = $this->getData(['theme', 'menu', 'wide']) === 'none' ? 'class="container-large"' : 'class="container"';
break;
case 'body-second' :
$navStyle = $this->getData(['theme', 'header', 'wide'])==='container'? $navStyle = 'class="container"' : '';
echo '<nav '.$navStyle.'>';
$menuClass = $this->getData(['theme', 'menu', 'wide']) === 'none' ? 'class="container-large"' : 'class="container"';
break;
case 'site-first' :
echo '<nav>';
break;
case 'site-second' :
echo '<nav>';
break;
case 'site' :
echo '<nav>';
break;
case 'hide' :
?> <nav <?php if($this->getData(['theme', 'menu', 'position']) === 'hide'): ?> class="displayNone" <?php endif; ?>> <?php
break;
}
//Menu burger
$fileLogo = './site/file/source/'. $this->getData(['theme', 'menu', 'burgerLogo']);
$widthLogo = $this->getData([ 'theme', 'menu', 'widthLogo']);
$heightLogo = $this->getData([ 'theme', 'menu', 'heightLogo']); ;
?> <div id="toggle">
<?php echo $this->getData(['theme','menu','burgerContent']) === 'title' ? '<div class="notranslate" id="burgerText">' . $this->getData(['locale', 'title']) . '</div>' : '' ;?>
<?php echo $this->getData(['theme','menu','burgerContent']) === 'logo' ? '<div class="notranslate" id="burgerLogo"><img src="'. $fileLogo .'" width="'. $widthLogo.'" height="'. $heightLogo .'"></div>' : '' ;?>
<?php echo template::ico('menu',null,null,'2em'); ?></div>
<div id="menu" <?php echo $menuClass; ?> > <?php
// Met en forme les items du menu // Met en forme les items du menu
$itemsLeft = ''; $itemsLeft = '';
$currentPageId = $this->getData(['page', $this->getUrl(0)]) ? $this->getUrl(0) : $this->getUrl(2); $currentPageId = $this->getData(['page', $this->getUrl(0)]) ? $this->getUrl(0) : $this->getUrl(2);
// Tableaux des pages parent et de toutes les pages utilisés par core.js.php pour régler la largeur minimale des onglets et la largeur des sous-menus
?> ?>
<script> var parentPage=[]; var allPage=[]; </script> <script> var parentPage=[]; var allPage=[]; <?php foreach($this->getHierarchy() as $parentPageId => $childrenPageIds) { if( $childrenPageIds !== [] ){ ?> parentPage.push('<?php echo $parentPageId; ?>'); <?php } ?> allPage.push('<?php echo $parentPageId; ?>'); <?php } ?> </script>
<?php <?php
foreach($this->getHierarchy() as $parentPageId => $childrenPageIds) { foreach($this->getHierarchy() as $parentPageId => $childrenPageIds) {
// Passer les entrées masquées // Passer les entrées masquées
// Propriétés de l'item // Propriétés de l'item
$active = ($parentPageId === $currentPageId OR in_array($currentPageId, $childrenPageIds)) ? 'active ' : ''; $active = ($parentPageId === $currentPageId OR in_array($currentPageId, $childrenPageIds)) ? 'active ' : '';
$targetBlank = $this->getData(['page', $parentPageId, 'targetBlank']) ? ' target="_blank"' : ''; $targetBlank = $this->getData(['page', $parentPageId, 'targetBlank']) ? ' target="_blank"' : '';
// Tableaux des pages parent et de toutes les pages utilisés par core.js.php pour régler la largeur minimale des onglets et la largeur des sous-menus
if( $childrenPageIds !== [] ){ ?>
<script> parentPage.push('<?php echo $parentPageId; ?>'); </script>
<?php } ?>
<script> allPage.push('<?php echo $parentPageId; ?>'); </script>
<?php
// Mise en page de l'item // Mise en page de l'item
$itemsLeft .= '<li>'; $itemsLeft .= '<li>';
if ( ( $this->getData(['page',$parentPageId,'disable']) === true if ( ( $this->getData(['page',$parentPageId,'disable']) === true
@ -1830,7 +1909,7 @@ class common {
if( $itemsRight === '' && $flagVisible === true ) echo $space2Menu; if( $itemsRight === '' && $flagVisible === true ) echo $space2Menu;
if( $flagVisible === true) echo $this->showi18n(); if( $flagVisible === true) echo $this->showi18n();
} }
echo '</ul>'; echo '</ul></div></nav>';
} }
/** /**
@ -2113,7 +2192,22 @@ class common {
/** /**
* Affiche la bannière * Affiche la bannière
*/ */
public function showHeader( $homePageOnly, $headerClass){ public function showHeader( $position = ''){
$homePageOnly = false;
if( $this->getUrl(0) !== 'theme' ){
if( $this->getUrl(0) !== $this->getData(['locale', 'homePageId' ]) && $this->getData(['theme','header','homePageOnly']) === true) $homePageOnly = true;
}
$headerClass = ($this->getData(['theme', 'header', 'position']) === 'hide' || $homePageOnly === true) ? 'displayNone' : '';
$headerClass .= $this->getData(['theme', 'header', 'tinyHidden']) ? ' bannerDisplay ' : '';
switch ($position){
case 'body' :
$headerClass .= $this->getData(['theme', 'header', 'wide']) === 'none' ? '' : 'container';
break;
case 'site' :
break;
}
?><header <?php echo empty($headerClass) ? '' : 'class="' . $headerClass . '"'; ?> > ?><header <?php echo empty($headerClass) ? '' : 'class="' . $headerClass . '"'; ?> >
<?php if ($this->getData(['theme','header','feature']) === 'wallpaper' ) { <?php if ($this->getData(['theme','header','feature']) === 'wallpaper' ) {
echo ($this->getData(['theme','header','linkHomePage']) ) ? '<a class="headertitle" href="' . helper::baseUrl(false) . '">' : ''; echo ($this->getData(['theme','header','linkHomePage']) ) ? '<a class="headertitle" href="' . helper::baseUrl(false) . '">' : '';
@ -2255,6 +2349,10 @@ class common {
$_SESSION["innerWidth"] = 'done'; $_SESSION["innerWidth"] = 'done';
} }
} }
// Pour capture d'écran
if( $type === 'jshead' && isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ){
?> <script src="core/vendor/screenshot/html2canvas.min.js"></script> <?php
}
switch ($type) { switch ($type) {
case 'css' : case 'css' :
$vendorPath = self::$cssVendorPath; $vendorPath = self::$cssVendorPath;
@ -2595,7 +2693,7 @@ class core extends common {
} }
$css .= '#toggle span,#menu a{padding:' . $this->getData(['theme', 'menu', 'height']) .';font-family:"' . $this->getData(['fonts', $this->getData(['theme', 'menu', 'font']), 'name']) . '",sans-serif;font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'menu', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}'; $css .= '#toggle span,#menu a{padding:' . $this->getData(['theme', 'menu', 'height']) .';font-family:"' . $this->getData(['fonts', $this->getData(['theme', 'menu', 'font']), 'name']) . '",sans-serif;font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'menu', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}';
// Pied de page // Pied de page
$colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor'])); $colors = helper::colorVariants($this->getData(['theme', 'footer', 'backgroundColor']));
if($this->getData(['theme', 'footer', 'margin'])) { if($this->getData(['theme', 'footer', 'margin'])) {

View File

@ -112,8 +112,12 @@ if ($this->getData(['core', 'dataVersion']) < 4404) {
// Mise à jour // Mise à jour
$this->setData(['core', 'dataVersion', 4404]); $this->setData(['core', 'dataVersion', 4404]);
} }
if ($this->getData(['core', 'dataVersion']) < 4405) { if ($this->getData(['core', 'dataVersion']) < 4406) {
if( ! file_exists(self::DATA_DIR . 'session.json')) file_put_contents(self::DATA_DIR . 'session.json', '{}');
$this->setData(['theme', 'footer', 'displayWhois', false]);
$this->setData(['theme', 'menu', 'widthLogo', '30px' ]);
$this->setData(['theme', 'menu', 'heightLogo', 'auto' ]);
// Mise à jour // Mise à jour
$this->setData(['core', 'dataVersion', 4405]); $this->setData(['core', 'dataVersion', 4406]);
} }
?> ?>

View File

@ -31,8 +31,13 @@ $text['core']['router'][3] = 'Access denied';
$text['core']['router'][4] = 'You are not authorised to view this page (error 403)'; $text['core']['router'][4] = 'You are not authorised to view this page (error 403)';
$text['core']['router'][5] = 'Page unavailable'; $text['core']['router'][5] = 'Page unavailable';
$text['core']['router'][6] = 'Oops! The requested page does not exist or cannot be found (error 404)'; $text['core']['router'][6] = 'Oops! The requested page does not exist or cannot be found (error 404)';
$groupWhoIs = [
0 => 'visitor',
1 => 'member',
2 => 'editor',
3 => 'moderator',
4 => 'administrator'
];
// core.js.php // core.js.php
$text['core_js'][0] = "Updating ?"; $text['core_js'][0] = "Updating ?";
// Select File // Select File

View File

@ -31,7 +31,13 @@ $text['core']['router'][3] = 'Accès interdit';
$text['core']['router'][4] = 'Vous n\'êtes pas autorisé à consulter cette page (erreur 403)'; $text['core']['router'][4] = 'Vous n\'êtes pas autorisé à consulter cette page (erreur 403)';
$text['core']['router'][5] = 'Page indisponible'; $text['core']['router'][5] = 'Page indisponible';
$text['core']['router'][6] = 'Oups ! La page demandée n\'existe pas ou est introuvable (erreur 404)'; $text['core']['router'][6] = 'Oups ! La page demandée n\'existe pas ou est introuvable (erreur 404)';
$groupWhoIs = [
0 => 'visiteur',
1 => 'membre',
2 => 'éditeur',
3 => 'modérateur',
4 => 'administrateur'
];
// core.js.php // core.js.php
$text['core_js'][0] = "Effectuer la mise à jour ?"; $text['core_js'][0] = "Effectuer la mise à jour ?";
// Select File // Select File

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
html, html,
@ -294,6 +282,10 @@ header #featureContent {
overflow: hidden; overflow: hidden;
margin: 0 10px; margin: 0 10px;
} }
/* Menu */
nav {
padding: 0 10px;
}
/* Items du menu */ /* Items du menu */
nav a > img { nav a > img {
margin: -4px 0; margin: -4px 0;
@ -887,6 +879,10 @@ input[type="checkbox"]:disabled + label:before {
margin: 0 -10px; margin: 0 -10px;
font-size: 0; font-size: 0;
} }
/* Pour les pages de configuration */
.row.siteContainer{
margin: 0;
}
/* Supprime les margins du premier et du dernier élément d'un col, utile pour les cols générés depuis l'éditeur de texte. (Ne s'applique pas aux rows pour ne pas supprimer les margins négatifs) */ /* Supprime les margins du premier et du dernier élément d'un col, utile pour les cols générés depuis l'éditeur de texte. (Ne s'applique pas aux rows pour ne pas supprimer les margins négatifs) */
.row > div > :first-child:not(.row) { .row > div > :first-child:not(.row) {
margin-top: 0; margin-top: 0;

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -16,8 +16,8 @@ else { echo '<html lang="'.$lang.'">'; }
<base href="<?php echo helper::baseUrl(true); ?>"> <base href="<?php echo helper::baseUrl(true); ?>">
<link rel="stylesheet" href="core/vendor/normalize/normalize.min.css"> <link rel="stylesheet" href="core/vendor/normalize/normalize.min.css">
<link rel="stylesheet" href="core/layout/common.css"> <link rel="stylesheet" href="core/layout/common.css">
<link rel="stylesheet" href="core/layout/mediaqueries.css">
<link rel="stylesheet" href="<?php echo self::DATA_DIR; ?>theme.css"> <link rel="stylesheet" href="<?php echo self::DATA_DIR; ?>theme.css">
<link rel="stylesheet" href="core/layout/mediaqueries.css">
<?php $this->showStyle(); <?php $this->showStyle();
$this->showSharedVariables(); $this->showSharedVariables();
$this->sortVendor(); $this->sortVendor();
@ -27,188 +27,76 @@ else { echo '<html lang="'.$lang.'">'; }
$this->showFavicon(); $this->showFavicon();
$this->showVendor('jshead'); $this->showVendor('jshead');
// Détection RSS // Détection RSS
if ( ( $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'blog' if ( ( $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'blog'
OR $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'news' ) OR $this->getData(['page', $this->getUrl(0), 'moduleId']) === 'news' )
AND $this->getData(['module', $this->getUrl(0), 'config', 'feeds']) === TRUE ): ?> AND $this->getData(['module', $this->getUrl(0), 'config', 'feeds']) === TRUE ): ?>
<link rel="alternate" type="application/rss+xml" href="'<?php echo helper::baseUrl(). $this->getUrl(0) . '/rss';?>" title="fLUX rss"> <link rel="alternate" type="application/rss+xml" href="'<?php echo helper::baseUrl(). $this->getUrl(0) . '/rss';?>" title="fLUX rss">
<?php endif; ?> <?php endif;
<?php if (file_exists(self::DATA_DIR .'head.inc.html')) { if (file_exists(self::DATA_DIR .'head.inc.html')) include(self::DATA_DIR .'head.inc.html'); ?>
include(self::DATA_DIR .'head.inc.html');
}?>
<?php
if( isset ($_SESSION['screenshot'] )){
if( $_SESSION['screenshot'] === 'on'){?>
<script src="core/vendor/screenshot/html2canvas.min.js"></script>
<?php } }?>
</head> </head>
<body> <body>
<!-- Barre d'administration --> <!-- Barre d'administration -->
<?php if($this->getUser('group') > self::GROUP_MEMBER): ?> <?php if($this->getUser('group') > self::GROUP_MEMBER) $this->showBar(); ?>
<?php $this->showBar(); ?>
<?php endif;?>
<!-- Notifications --> <!-- Notifications -->
<?php $this->showNotification(); ?> <?php $this->showNotification();
<!-- Taille du Logo pour le menu burger --> // div screenshot
<?php $fileLogo = './site/file/source/'. $this->getData(['theme', 'menu', 'burgerLogo']); if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ) { ?> <div id="main_screenshot"> <?php } ?>
if( $this->getData(['theme','menu','burgerContent']) === 'logo'
&& file_exists( $fileLogo)
&& $this->getData(['theme', 'menu', 'burgerLogo']) !== '' ){
$fontsize = $this->getData(['theme', 'text', 'fontSize']);
$pospx = strpos($fontsize, 'px');
$fontsize = (int) substr( $fontsize, 0, $pospx);
$height = $this->getData(['theme', 'menu', 'height']);
$pospx = strpos($height, 'px');
$height = (int) substr( $height, 0, $pospx);
$heightLogo = 2*($height + $fontsize) - 4;
$arrayImage = getimagesize( $fileLogo );
$heightImage = $arrayImage[1];
$widthImage = $arrayImage[0];
if( $heightImage !== 0 && $heightImage !== null){
$widthLogo = (int) ($widthImage * ( ($heightLogo - 1) / $heightImage));
}
else
{
$widthLogo = 30;
}
} ?>
<!-- div screenshot --> <!-- Menu en dehors du site -->
<?php if( isset ($_SESSION['screenshot'] )){ <?php if ( $this->getData(['theme', 'menu', 'position']) === 'top') $this->showMenu( 'top'); ?>
if( $_SESSION['screenshot'] === 'on'){ ?>
<div id="main_screenshot"> <!-- Menu avant la bannière, bannière au dessus du site -->
<?php }} ?> <?php if($this->getData(['theme', 'menu', 'position']) === 'body-first') $this->showMenu( 'body-first'); ?>
<!-- Menu dans en dehors du site ou avant la bannière, au dessus du site --> <!-- Bannière au dessus du site -->
<?php if($this->getData(['theme', 'menu', 'position']) === 'body-first' || $this->getData(['theme', 'menu', 'position']) === 'top' ): <?php if($this->getData(['theme', 'header', 'position']) === 'body') $this->showHeader('body'); ?>
// Menu dans le fond du site avant la bannière et bannière limitée au site
$navStyle = '';
?> <!-- Détermine si le menu est fixe en haut de page lorsque l'utilisateur n'est pas connecté --> <?php
if ( $this->getData(['theme', 'menu', 'position']) === 'top'
AND $this->getData(['theme', 'menu', 'fixed']) === true
AND $this->getUser('password') === $this->getInput('DELTA_USER_PASSWORD')
AND $this->getUser('group') > self::GROUP_MEMBER) {
echo '<nav '.$navStyle.' id="navfixedconnected" >';
} else {
echo '<nav '.$navStyle.' id="navfixedlogout" >';
}
?>
<!-- Menu Burger -->
<div id="toggle">
<?php echo $this->getData(['theme','menu','burgerContent']) === 'title' ? '<div class="notranslate" id="burgerText">' . $this->getData(['locale', 'title']) . '</div>' : '' ;?>
<?php echo $this->getData(['theme','menu','burgerContent']) === 'logo' ? '<div class="notranslate" id="burgerLogo"><img src="'. $fileLogo .'" width="'. $widthLogo.'" height="'. $heightLogo .'"></div>' : '' ;?>
<?php echo template::ico('menu',null,null,'2em'); ?></div>
<!-- fin du menu burger -->
<?php
$menuClass = $this->getData(['theme', 'menu', 'position']) === 'top' ? 'class="container-large"' : 'class="container"';
$menuClass = $this->getData(['theme', 'menu', 'wide']) === 'none' ? 'class="container-large"' : 'class="container"';
?>
<div id="menu" <?php echo $menuClass; ?> >
<?php $this->showMenu(); ?>
</div> <!--fin menu -->
</nav>
<?php endif; ?>
<!-- Bannière dans le fond du site --> <!-- Menu après la bannière, bannière au dessus du site -->
<?php $homePageOnly = false; <?php if($this->getData(['theme', 'menu', 'position']) === 'body-second') $this->showMenu( 'body-second'); ?>
if( $this->getUrl(0) !== 'theme' ){
if( $this->getUrl(0) !== $this->getData(['locale', 'homePageId' ]) && $this->getData(['theme','header','homePageOnly']) === true) $homePageOnly = true;
}
if($this->getData(['theme', 'header', 'position']) === 'body'){
$headerClass = ($this->getData(['theme', 'header', 'position']) === 'hide' || $homePageOnly === true) ? 'displayNone' : '';
$headerClass .= $this->getData(['theme', 'header', 'tinyHidden']) ? ' bannerDisplay ' : '';
$headerClass .= $this->getData(['theme', 'header', 'wide']) === 'none' ? '' : 'container';
$this->showHeader($homePageOnly, $headerClass);
}?>
<!-- Menu dans le fond du site après la bannière --> <!-- Site -->
<?php if($this->getData(['theme', 'menu', 'position']) === 'body-second'): <div id="site" class="container">
// Menu dans le fond du site après la bannière et bannière limitée au site
$navStyle = ''; <!-- Menu dans le site avant la bannière -->
?> <?php if($this->getData(['theme', 'menu', 'position']) === 'site-first') $this->showMenu( 'site-first'); ?>
<nav <?php echo $navStyle; ?> >
<!-- Menu burger -->
<div id="toggle">
<?php echo $this->getData(['theme','menu','burgerContent']) === 'title' ? '<div class="notranslate" id="burgerText">' . $this->getData(['locale', 'title']) . '</div>' : '' ;?>
<?php echo $this->getData(['theme','menu','burgerContent']) === 'logo' ? '<div class="notranslate" id="burgerLogo"><img src="'. $fileLogo .'" width="'. $widthLogo.'" height="'. $heightLogo .'"></div>' : '' ;?>
<?php echo template::ico('menu',null,null,'2em'); ?></div>
<!-- fin du menu burger -->
<?php
$menuClass = $this->getData(['theme', 'menu', 'wide']) === 'none' ? 'class="container-large"' : 'class="container"';
?>
<div id="menu" <?php echo $menuClass; ?> >
<?php $this->showMenu(); ?></div>
</nav>
<?php endif; ?>
<!-- Site --> <!-- Bannière dans le site -->
<div id="site" class="container"> <?php if( $this->getData(['theme', 'header', 'position']) === 'site'
<?php if($this->getData(['theme', 'menu', 'position']) === 'site-first'): ?> OR ( $this->getData(['theme', 'header', 'position']) === 'hide' AND $this->getUrl(0) === 'theme' ) )
<!-- Menu dans le site avant la bannière --> $this->showHeader( 'site' ); ?>
<nav>
<div id="toggle"> <!-- Menu après la bannière, bannière dans le site -->
<?php echo $this->getData(['theme','menu','burgerContent']) === 'title' ? '<div class="notranslate" id="burgerText">' . $this->getData(['locale', 'title']) . '</div>' : '' ;?> <?php if( $this->getData(['theme', 'menu', 'position']) === 'site-second' ) $this->showMenu( 'site-second'); ?>
<?php echo $this->getData(['theme','menu','burgerContent']) === 'logo' ? '<div class="notranslate" id="burgerLogo"><img src="'. $fileLogo .'" width="'. $widthLogo.'" height="'. $heightLogo .'"></div>' : '' ;?>
<?php echo template::ico('menu',null,null,'2em'); ?></div> <!-- Menu dans le site, bannière au dessus du site -->
<div id="menu" class="container"><?php $this->showMenu(); ?></div> <?php if( $this->getData(['theme', 'menu', 'position']) === 'site' ) $this->showMenu( 'site'); ?>
</nav>
<?php endif; <!-- Menu caché -->
if( <?php if( $this->getData(['theme', 'menu', 'position']) === 'hide') $this->showMenu( 'hide'); ?>
$this->getData(['theme', 'header', 'position']) === 'site'
// Affiche toujours la bannière pour l'édition du thème
OR (
$this->getData(['theme', 'header', 'position']) === 'hide'
AND $this->getUrl(0) === 'theme'
)
): ?>
<!-- Bannière dans le site -->
<?php
$headerClass = ($this->getData(['theme', 'header', 'position']) === 'hide' || $homePageOnly === true) ? 'displayNone' : '';
$headerClass .= $this->getData(['theme', 'header', 'tinyHidden']) ? ' bannerDisplay ' : '';
$this->showHeader($homePageOnly, $headerClass);
endif;
if(
$this->getData(['theme', 'menu', 'position']) === 'site-second' ||
$this->getData(['theme', 'menu', 'position']) === 'site'
// Affiche toujours le menu pour l'édition du thème
OR (
$this->getData(['theme', 'menu', 'position']) === 'hide'
AND $this->getUrl(0) === 'theme'
)
): ?>
<!-- Menu dans le site après la bannière -->
<nav <?php if($this->getData(['theme', 'menu', 'position']) === 'hide'): ?>class="displayNone"<?php endif; ?>>
<div id="toggle">
<?php echo $this->getData(['theme','menu','burgerContent']) === 'title' ? '<div class="notranslate" id="burgerText">' . $this->getData(['locale', 'title']) . '</div>' : '' ;?>
<?php echo $this->getData(['theme','menu','burgerContent']) === 'logo' ? '<div class="notranslate" id="burgerLogo"><img src="'. $fileLogo .'" width="'. $widthLogo.'" height="'. $heightLogo .'"></div>' : '' ;?>
<?php echo template::ico('menu',null,null,'2em'); ?></div>
<div id="menu" class="container"><?php $this->showMenu(); ?></div>
</nav>
<?php endif; ?>
<!-- Corps de page --> <!-- Corps de page -->
<?php $this->showSection();?> <?php $this->showSection();?>
<!-- footer --> <!-- footer -->
<?php $this->showFooter();?> <?php $this->showFooter();?>
<!-- Fin du site --> <!-- Fin du site -->
<?php echo $this->getData(['theme', 'footer', 'position']) === 'site'? '</div>' : '';?> <?php echo $this->getData(['theme', 'footer', 'position']) === 'site'? '</div>' : '';
<!-- fin de la div main_screenshot et bouton screenshot --> // fin de la div main_screenshot et bouton screenshot
<?php if( isset ($_SESSION['screenshot'] )){ if( isset($_SESSION['screenshot'] ) && $_SESSION['screenshot'] === 'on' ){ ?> </div><div><button id="screenshot" class="buttonScreenshot" type="button" >
if( $_SESSION['screenshot'] === 'on'){ ?> <img src="<?php echo helper::baseUrl(false); ?>core/vendor/screenshot/appareil_photo.png" width="100px"/></button></div> <?php } ?>
</div>
<div><button id="screenshot" class="buttonScreenshot" type="button" ><img src="<?php echo helper::baseUrl(false); ?>core/vendor/screenshot/appareil_photo.png" width="100px"/></button></div>
<?php }}?>
<!-- Lien remonter en haut --> <!-- Lien remonter en haut -->
<div id="backToTop"><?php echo template::ico('up'); ?></div> <div id="backToTop"><?php echo template::ico('up'); ?></div>
<!-- Affichage du consentement aux cookies--> <!-- Affichage du consentement aux cookies-->
<?php $this->showCookies(); ?> <?php $this->showCookies(); ?>
<!-- Les scripts --> <!-- Les scripts -->
<?php $this->showVendor('jsbody'); ?> <?php $this->showVendor('jsbody');
<?php $this->showScript();?> $this->showScript();?>
</body> </body>
</html> </html>

View File

@ -1,25 +1,10 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/* Ecrans >= 800px */ /* Ecrans >= 800px */
@media (min-width: 800px) { @media (min-width: 800px) {
body {
margin: 0;
}
/* Barre de membre */ /* Barre de membre */
#bar #barLeft { #bar #barLeft {
float: left; float: left;
@ -29,9 +14,6 @@
font-size: 12px; font-size: 12px;
} }
/* Bannière */ /* Bannière */
body > header {
margin: 0;
}
header { header {
margin: 0; margin: 0;
} }
@ -255,6 +237,10 @@
.bannerDisplay { .bannerDisplay {
display: none; display: none;
} }
/* Largeur du menu */
.navBodyWidth {
width: 100%;
}
} }
/* Autres tailles d'écrans */ /* Autres tailles d'écrans */

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,16 +1,4 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -155,6 +155,7 @@ $text['core_config_view']['setup'][38] = "Transmission of a malfunction";
$text['core_config_view']['setup'][39] = "1 - Log in or register at "; $text['core_config_view']['setup'][39] = "1 - Log in or register at ";
$text['core_config_view']['setup'][40] = "2 - In Configuration or Modules create a new topic, explain your problem"; $text['core_config_view']['setup'][40] = "2 - In Configuration or Modules create a new topic, explain your problem";
$text['core_config_view']['setup'][41] = "3 - Copy and paste the information into your post"; $text['core_config_view']['setup'][41] = "3 - Copy and paste the information into your post";
$text['core_config_view']['setup'][42] = "Do you confirm the upgrade of DeltaCMS to the version ";
$text['core_config_view']['social'][0] = 'Settings'; $text['core_config_view']['social'][0] = 'Settings';
$text['core_config_view']['social'][1] = 'Disable Open Graph capture mode'; $text['core_config_view']['social'][1] = 'Disable Open Graph capture mode';
$text['core_config_view']['social'][2] = 'Enable Open Graph capture mode'; $text['core_config_view']['social'][2] = 'Enable Open Graph capture mode';

View File

@ -155,6 +155,7 @@ $text['core_config_view']['setup'][38] = "Transmission d'un dysfonctionnement";
$text['core_config_view']['setup'][39] = "1 - Connectez-vous ou inscrivez-vous sur "; $text['core_config_view']['setup'][39] = "1 - Connectez-vous ou inscrivez-vous sur ";
$text['core_config_view']['setup'][40] = "2 - Dans Configuration ou Modules créez un nouveau sujet, expliquez votre problème"; $text['core_config_view']['setup'][40] = "2 - Dans Configuration ou Modules créez un nouveau sujet, expliquez votre problème";
$text['core_config_view']['setup'][41] = "3 - Copiez puis collez les informations dans votre message"; $text['core_config_view']['setup'][41] = "3 - Copiez puis collez les informations dans votre message";
$text['core_config_view']['setup'][42] = "Confirmez-vous la mise à jour de DeltaCMS vers la version ";
$text['core_config_view']['social'][0] = 'Paramètres'; $text['core_config_view']['social'][0] = 'Paramètres';
$text['core_config_view']['social'][1] = 'Désactiver le mode de capture Open Graph'; $text['core_config_view']['social'][1] = 'Désactiver le mode de capture Open Graph';
$text['core_config_view']['social'][2] = 'Activer le mode de capture Open Graph'; $text['core_config_view']['social'][2] = 'Activer le mode de capture Open Graph';

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
$( document).ready(function() { $( document).ready(function() {

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
$( document).ready(function() { $( document).ready(function() {
@ -300,3 +288,12 @@ $("#buttonHtmlToClipboard").on("click", function() {
document.execCommand("copy"); document.execCommand("copy");
document.body.removeChild(infoTextarea); document.body.removeChild(infoTextarea);
}); });
// Confirmation d'update
$(".configUpdate").on("click", function() {
var _this = $(this);
return core.confirm(textConfirm, function() {
$(location).attr("href", _this.attr("href"));
});
});

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
$( document).ready(function() { $( document).ready(function() {

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -67,10 +67,10 @@ include('./core/module/config/lang/'. $this->getData(['config', 'i18n', 'langAdm
</div> </div>
<?php <?php
if( $this->getData(['config', 'autoUpdate']) === true){ if( $this->getData(['config', 'autoUpdate']) === true){
$updateError = helper::urlGetContents(common::DELTA_UPDATE_URL . common::DELTA_UPDATE_CHANNEL . '/version'); $updateVersion = helper::urlGetContents(common::DELTA_UPDATE_URL . common::DELTA_UPDATE_CHANNEL . '/version');
if( $updateError === false) $this->setData(['config', 'autoUpdate', false]); if( $updateVersion === false) $this->setData(['config', 'autoUpdate', false]);
} else { } else {
$updateError = false; $updateVersion = false;
}?> }?>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
@ -83,16 +83,16 @@ include('./core/module/config/lang/'. $this->getData(['config', 'i18n', 'langAdm
<?php echo template::checkbox('configAutoUpdateHtaccess', true, $text['core_config_view']['setup'][15], [ <?php echo template::checkbox('configAutoUpdateHtaccess', true, $text['core_config_view']['setup'][15], [
'checked' => $this->getData(['config', 'autoUpdateHtaccess']), 'checked' => $this->getData(['config', 'autoUpdateHtaccess']),
'help' => $text['core_config_view']['setup'][16], 'help' => $text['core_config_view']['setup'][16],
'disabled' => !$updateError 'disabled' => !$updateVersion
]); ?> ]); ?>
</div> </div>
<div class="col2 offset1"> <div class="col2 offset1">
<?php echo template::button('configUpdateForced', [ <?php echo template::button('configUpdateForced', [
'ico' => 'download-cloud', 'ico' => 'download-cloud',
'href' => helper::baseUrl() . 'install/update', 'href' => $updateVersion === false ? 'javascript:void(0);' : helper::baseUrl() . 'install/update',
'value' => $text['core_config_view']['setup'][17], 'value' => $text['core_config_view']['setup'][17],
'class' => 'buttonRed', 'class' => $updateVersion === false ? 'buttonRed' : 'configUpdate buttonRed',
'disabled' => !$updateError 'disabled' => !$updateVersion
]); ?> ]); ?>
</div> </div>
</div> </div>
@ -255,3 +255,6 @@ include('./core/module/config/lang/'. $this->getData(['config', 'i18n', 'langAdm
</div> </div>
</div> </div>
</div> </div>
<script>
var textConfirm = <?php echo '"'.$text['core_config_view']['setup'][42].$updateVersion.' ?"'; ?>;
</script>

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -141,7 +141,7 @@
"logoUrl": "", "logoUrl": "",
"logoWidth": "40", "logoWidth": "40",
"maxSizeUpload": "500000", "maxSizeUpload": "500000",
"versionData": "4.7", "versionData": "4.8",
"uploadJpg": true, "uploadJpg": true,
"uploadPng": true, "uploadPng": true,
"uploadPdf": false, "uploadPdf": false,

View File

@ -141,7 +141,7 @@
"logoUrl": "", "logoUrl": "",
"logoWidth": "40", "logoWidth": "40",
"maxSizeUpload": "1000000", "maxSizeUpload": "1000000",
"versionData": "4.7", "versionData": "4.8",
"uploadJpg": true, "uploadJpg": true,
"uploadPng": true, "uploadPng": true,
"uploadPdf": false, "uploadPdf": false,

View File

@ -69,7 +69,7 @@ class init extends common {
] ]
], ],
'core' => [ 'core' => [
'dataVersion' => 4405, 'dataVersion' => 4406,
'lastBackup' => 0, 'lastBackup' => 0,
'lastClearTmp' => 0, 'lastClearTmp' => 0,
'lastAutoUpdate' => 0, 'lastAutoUpdate' => 0,
@ -372,7 +372,9 @@ class init extends common {
'burgerFontSize' => '1.5em', 'burgerFontSize' => '1.5em',
'burgerTextColor' => '#DDD', 'burgerTextColor' => '#DDD',
'minWidthTab' => 'auto', 'minWidthTab' => 'auto',
'minWidthParentOrAll' => false 'minWidthParentOrAll' => false,
'widthLogo' => '30px',
'heightLogo' => 'auto'
], ],
'site' => [ 'site' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)', 'backgroundColor' => 'rgba(255, 255, 255, 1)',

View File

@ -1,18 +1,6 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
#siteMap ul { #siteMap ul {

View File

@ -128,6 +128,8 @@ $text['core_theme_view']['footer'][46] = "{
2: {'hide': 'Hidden', 'left': 'Left', 'right': 'Right'} , 2: {'hide': 'Hidden', 'left': 'Left', 'right': 'Right'} ,
1: {'hide': 'Hidden', 'mcenter': 'Display'} 1: {'hide': 'Hidden', 'mcenter': 'Display'}
}"; }";
$text['core_theme_view']['footer'][47] = 'Who is online?';
$text['core_theme_view']['footer'][48] = 'Displays the number of visitors or users currently online';
$text['core_theme_view']['header'][0] = 'Back'; $text['core_theme_view']['header'][0] = 'Back';
$text['core_theme_view']['header'][1] = 'Help'; $text['core_theme_view']['header'][1] = 'Help';
$text['core_theme_view']['header'][2] = 'Settings'; $text['core_theme_view']['header'][2] = 'Settings';

View File

@ -128,6 +128,8 @@ $text['core_theme_view']['footer'][46] = "{
2: {'hide': 'Masqué', 'left': 'A gauche', 'right': 'A droite'} , 2: {'hide': 'Masqué', 'left': 'A gauche', 'right': 'A droite'} ,
1: {'hide': 'Masqué', 'mcenter': 'Affiché'} 1: {'hide': 'Masqué', 'mcenter': 'Affiché'}
}"; }";
$text['core_theme_view']['footer'][47] = 'Qui est en ligne ?';
$text['core_theme_view']['footer'][48] = 'Affiche le nombre de visiteurs ou d\'utilisateurs connectés actuellement en ligne';
$text['core_theme_view']['header'][0] = 'Retour'; $text['core_theme_view']['header'][0] = 'Retour';
$text['core_theme_view']['header'][1] = 'Aide'; $text['core_theme_view']['header'][1] = 'Aide';
$text['core_theme_view']['header'][2] = 'Paramètres'; $text['core_theme_view']['header'][2] = 'Paramètres';

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *
@ -387,7 +387,8 @@ class theme extends common {
'displayLegal' => $this->getInput('themeFooterDisplayLegal', helper::FILTER_BOOLEAN), 'displayLegal' => $this->getInput('themeFooterDisplayLegal', helper::FILTER_BOOLEAN),
'displaySearch' => $this->getInput('themeFooterDisplaySearch', helper::FILTER_BOOLEAN), 'displaySearch' => $this->getInput('themeFooterDisplaySearch', helper::FILTER_BOOLEAN),
'displayMemberBar'=> $this->getInput('themeFooterDisplayMemberBar', helper::FILTER_BOOLEAN), 'displayMemberBar'=> $this->getInput('themeFooterDisplayMemberBar', helper::FILTER_BOOLEAN),
'template' => $this->getInput('themeFooterTemplate') 'template' => $this->getInput('themeFooterTemplate'),
'displayWhois' => $this->getInput('themeFooterDisplayWhois', helper::FILTER_BOOLEAN)
]]); ]]);
// Sauvegarder la configuration localisée // Sauvegarder la configuration localisée
@ -583,6 +584,30 @@ class theme extends common {
'minWidthTab' => $this->getInput('themeMenuMinWidthTab'), 'minWidthTab' => $this->getInput('themeMenuMinWidthTab'),
'minWidthParentOrAll' => $this->getInput('themeMenuMinWidthParentOrAll', helper::FILTER_BOOLEAN), 'minWidthParentOrAll' => $this->getInput('themeMenuMinWidthParentOrAll', helper::FILTER_BOOLEAN),
]]); ]]);
// Taille du logo adaptée à la hauteur du menu
$fileLogo = './site/file/source/'. $this->getData(['theme', 'menu', 'burgerLogo']);
$widthLogo = 0; $heightLogo = 0;
if( $this->getData(['theme','menu','burgerContent']) === 'logo'
&& file_exists( $fileLogo ) && $this->getData(['theme', 'menu', 'burgerLogo']) !== '' ){
$fontsize = $this->getData(['theme', 'text', 'fontSize']);
$pospx = strpos($fontsize, 'px');
$fontsize = (int) substr( $fontsize, 0, $pospx);
$height = $this->getData(['theme', 'menu', 'height']);
$pospx = strpos($height, 'px');
$height = (int) substr( $height, 0, $pospx);
$heightLogo = 2*($height + $fontsize) - 4;
$arrayImage = getimagesize( $fileLogo );
$heightImage = $arrayImage[1];
$widthImage = $arrayImage[0];
if( $heightImage !== 0 && $heightImage !== null){
$widthLogo = (int) ($widthImage * ( ($heightLogo - 1) / $heightImage));
} else {
$widthLogo = 30;
}
$this->setData([ 'theme', 'menu', 'widthLogo', $widthLogo]);
$this->setData([ 'theme', 'menu', 'heightLogo', $heightLogo]);
}
// Valeurs en sortie // Valeurs en sortie
$this->addOutput([ $this->addOutput([

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,16 +1,4 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -114,6 +114,12 @@ echo template::formOpen('themeFooterForm');
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col3">
<?php echo template::checkbox('themeFooterDisplayWhois', true, $text['core_theme_view']['footer'][47], [
'checked' => $this->getData(['theme', 'footer', 'displayWhois']),
'help' => $text['core_theme_view']['footer'][48]
]); ?>
</div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('themeFooterLoginLink', true, $text['core_theme_view']['footer'][18], [ <?php echo template::checkbox('themeFooterLoginLink', true, $text['core_theme_view']['footer'][18], [
'checked' => $this->getData(['theme', 'footer', 'loginLink']), 'checked' => $this->getData(['theme', 'footer', 'loginLink']),

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
$(document).ready(function(){ $(document).ready(function(){
@ -129,6 +117,20 @@ $("input, select").on("change", function() {
$("#menu").addClass("container"); $("#menu").addClass("container");
} }
// Largeur du menu quand la bannière est au dessus du site et limitée aus site
if( <?php echo json_encode($this->getData(['theme', 'header', 'position']) === 'body'); ?> && <?php echo json_encode($this->getData(['theme', 'header', 'wide']) === 'container'); ?>){
if( $("#themeMenuPosition").val() === 'body-first' || $("#themeMenuPosition").val() === 'body-second'){
// Menu avant ou après la bannière
$("nav").css("width", "<?php echo $this->getData(['theme', 'site', 'width']); ?>");
$("nav").css("display", "block");
$("nav").css("margin", "auto");
} else {
$("nav").css("width", document.body.clientWidth + 20);
$("nav").css("max-width", document.body.clientWidth + 20);
$("body").css("margin", "0px");
}
}
// Visibilité du select 'disposition' // Visibilité du select 'disposition'
if( <?php echo json_encode($this->getData(['theme', 'site', 'width']) !== '100%'); ?> && ( $("#themeMenuPosition").val() === 'top' || ( <?php echo json_encode($this->getData(['theme', 'header', 'wide']) === 'none'); ?> if( <?php echo json_encode($this->getData(['theme', 'site', 'width']) !== '100%'); ?> && ( $("#themeMenuPosition").val() === 'top' || ( <?php echo json_encode($this->getData(['theme', 'header', 'wide']) === 'none'); ?>
&& ( $("#themeMenuPosition").val() === 'body-first' || $("#themeMenuPosition").val() === 'body-second')) ) ) { && ( $("#themeMenuPosition").val() === 'body-first' || $("#themeMenuPosition").val() === 'body-second')) ) ) {

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** @import url("site/data/admin.css"); */ /** @import url("site/data/admin.css"); */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
$("#translateLangBase").on("change", function() { $("#translateLangBase").on("change", function() {

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -1,21 +1,7 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** @import url("site/data/admin.css"); */
/** NE PAS EFFACER /** NE PAS EFFACER
* admin.css * admin.css
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
@import url("site/data/admin.css"); @import url("site/data/admin.css");

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/* Visibilité du mot de passe */ /* Visibilité du mot de passe */

View File

@ -1,15 +1,3 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *
@ -36,7 +36,7 @@ class agenda extends common {
'index' => self::GROUP_VISITOR 'index' => self::GROUP_VISITOR
]; ];
const VERSION = '5.7'; const VERSION = '5.8';
const REALNAME = 'Agenda'; const REALNAME = 'Agenda';
const DELETE = true; const DELETE = true;
const UPDATE = '4.1'; const UPDATE = '4.1';

View File

@ -1,11 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*/ */

View File

@ -1,15 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
* Utilise le package Fullcalendar
* FullCalendar Core Package v4.3.1
* Docs & License: https://fullcalendar.io/
* (c) 2019 Adam Shaw
**/ **/
$.ajaxSetup({ $.ajaxSetup({

View File

@ -5,7 +5,7 @@
* For full copyright and license information, please see the LICENSE * For full copyright and license information, please see the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr> * @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre * @copyright Copyright (C) 2021, Sylvain Lelièvre
* @license GNU General Public License, version 3 * @license GNU General Public License, version 3
* @link https://deltacms.fr/ * @link https://deltacms.fr/
* *
@ -18,7 +18,7 @@
class blog extends common { class blog extends common {
const VERSION = '6.5'; const VERSION = '6.6';
const REALNAME = 'Blog'; const REALNAME = 'Blog';
const DELETE = true; const DELETE = true;
const UPDATE = '0.0'; const UPDATE = '0.0';

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** /**
* Confirmation de suppression * Confirmation de suppression

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */
/** NE PAS EFFACER /** NE PAS EFFACER

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

View File

@ -1,17 +1,5 @@
/** /**
* This file is part of DeltaCMS. * This file is part of DeltaCMS.
* For full copyright and license information, please see the LICENSE
* file that was distributed with this source code.
* @author Sylvain Lelièvre <lelievresylvain@free.fr>
* @copyright Copyright (C) 2021-2022, Sylvain Lelièvre
* @license GNU General Public License, version 3
* @link https://deltacms.fr/
*
* Delta was created from version 11.2.00.24 of ZwiiCMS
* @author Rémi Jean <remi.jean@outlook.com>
* @copyright Copyright (C) 2008-2018, Rémi Jean
* @author Frédéric Tempez <frederic.tempez@outlook.com>
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
*/ */

Some files were not shown because too many files have changed in this diff Show More