RFM data-lity

This commit is contained in:
Fred Tempez 2023-03-08 15:59:02 +01:00
parent c069f384c1
commit 8384602674
2 changed files with 11 additions and 8 deletions

View File

@ -13,6 +13,15 @@
* @link http://zwiicms.fr/
*/
/**
* Chargement des classes filles
* layout : composition des écrans
* router : aiguillage des pages
*/
require_once('include/layout.class.php');
require_once('include/router.class.php');
class common
{
@ -1269,10 +1278,3 @@ class common
}
}
/**
* Chargement des classes
* layout : composition des écrans
* router : aiguillage des pages
*/
require_once('include/layout.class.php');
require_once('include/router.class.php');

View File

@ -963,7 +963,8 @@ class layout extends common
if ($this->getUser('group') >= self::GROUP_MODERATOR) {
$rightItems .= '<li>' . template::ico('folder', [
'help' => 'Gérer les fichiers',
'href' => helper::baseUrl(false) . 'core/vendor/filemanager/dialog.php?type=0&akey=' . md5_file(self::DATA_DIR . 'core.json') . '&lang=' . $this->getData(['user', $this->getUser('id'), 'language'])
'href' => helper::baseUrl(false) . 'core/vendor/filemanager/dialog.php?type=0&akey=' . md5_file(self::DATA_DIR . 'core.json') . '&lang=' . $this->getData(['user', $this->getUser('id'), 'language']),
'attr' => 'data-lity'
]) . '</li>';
}
if ($this->getUser('group') >= self::GROUP_ADMIN) {