authorizations

This commit is contained in:
Fred Tempez 2023-07-19 17:17:16 +02:00
parent b7655ec501
commit 79cc6137ad
3 changed files with 266 additions and 8 deletions

View File

@ -75,11 +75,6 @@ class install extends common
self::$i18nFiles[$lang] = self::$languages[$lang];
}
}
// Effacer le cookie de l'UI et de contenu
unset($_SESSION['ZWII_UI']);
unset($_SESSION['ZWII_CONTENT']);
setcookie('ZWII_UI', '', time() - 3600, helper::baseUrl(false, false));
$this->addOutput([
'display' => self::DISPLAY_LAYOUT_LIGHT,

View File

@ -633,14 +633,14 @@
"Ajouter": "Add",
"Effacer": "Delete",
"Renommer": "Rename",
"Droits sur les dossiers": "Folder Rights",
"Droits sur les dossiers": "Folder authorizations",
"Permissions sur les fichiers": "File Permissions",
"Téléverser": "Upload",
"Prévisualier": "Preview",
"Dupliquer": "Duplicate",
"Extraire": "Extract",
"Presse papier": "Clipboard",
"Droits sur les fichiers": "File Rights",
"Droits sur les fichiers": "File authorizations",
"Editeur": "Editor",
"Permissions sur les pages": "Page Permissions",
"Permissions sur le module": "Module Permissions",

View File

@ -658,5 +658,268 @@
"Configurer": "",
"Recherche": "",
"Presse Papier": "",
"Prévisualiser": ""
"Prévisualiser": "",
"ZwiiCMS Installation": "",
"Français": "",
"Español": "",
"English": "",
"Suivant": "",
"<span>Ne pas charger l'exemple de site (utilisateurs avancés)</span>": "",
"TCP": "",
"HTTP": "",
"Le thème par défaut, ambiance bleu et montagne": "",
"Thème avec la nouvelle bannière personnalisable": "",
"Thème affaire, bannière centre d'appel, ambiance prune": "",
"Thème de nuit, ambiance nocturne": "",
"Thème Facebook ancienne génération, pas de bannière, menu fixe fond bleu": "",
"<span class=\"zwiico-left\" style=\"font-size:1em\"><!----></span>": "",
"First name": "",
"Last Name": "",
"Identifier": "",
"email address": "",
"Password": "",
"Proxy type": "",
"Proxy address": "",
"Proxy port": "",
"Theme": "",
"<span id=\"passwordLabel\">Password</span><span id=\"passwordIcon\"><span class=\"zwiico-eye\" style=\"font-size:1em\"><!----></span></span>": "",
"<img class=\"captchaNum\" src=\"http://localhost/ZwiiCMS/site/tmp/64b7fde87ef25.png\" />&nbsp;<strong><span class=\"zwiico-plus\" style=\"font-size:1em\"><!----></span></strong>&nbsp;<img class=\"captchaNum\" src=\"http://localhost/ZwiiCMS/site/tmp/64b7fde87ef29.png\" /><span class=\"zwiico-eq\" style=\"font-size:1em\"><!----></span>": "",
"<span>Stay connected on this browser</span>": "",
"<span class=\"zwiico-home\" style=\"font-size:1em\"><!----></span>": "",
"Favicon": "",
"Remember to delete your browser's cache if the favicon does not change.": "",
"<span class=\"zwiico-cancel\" style=\"font-size:1em\"><!----></span>": "",
"Select an icon adapted to a dark theme. <br> Remember to delete your browser's cache if the favicon does not change.": "",
"Time zone": "",
"The time zone is useful for the right SEO": "",
"(GMT-11:00) Midway Island": "",
"(GMT-11:00) Samoa": "",
"(GMT-10:00) Hawaii": "",
"(GMT-09:00) Alaska": "",
"(GMT-08:00) Pacific Time (US &amp; Canada)": "",
"(GMT-08:00) Tijuana": "",
"(GMT-07:00) Arizona": "",
"(GMT-07:00) Mountain Time (US &amp; Canada)": "",
"(GMT-07:00) Chihuahua": "",
"(GMT-07:00) Mazatlan": "",
"(GMT-06:00) Mexico City": "",
"(GMT-06:00) Monterrey": "",
"(GMT-06:00) Saskatchewan": "",
"(GMT-06:00) Central Time (US &amp; Canada)": "",
"(GMT-05:00) Eastern Time (US &amp; Canada)": "",
"(GMT-05:00) Indiana (East)": "",
"(GMT-05:00) Bogota": "",
"(GMT-05:00) Lima": "",
"(GMT-04:30) Caracas": "",
"(GMT-04:00) Atlantic Time (Canada)": "",
"(GMT-04:00) La Paz": "",
"(GMT-04:00) Santiago": "",
"(GMT-03:30) Newfoundland": "",
"(GMT-03:00) Buenos Aires": "",
"(GMT-03:00) Greenland": "",
"(GMT-02:00) Stanley": "",
"(GMT-01:00) Azores": "",
"(GMT-01:00) Cape Verde Is.": "",
"(GMT) Casablanca": "",
"(GMT) Dublin": "",
"(GMT) Lisbon": "",
"(GMT) London": "",
"(GMT) Monrovia": "",
"(GMT+01:00) Amsterdam": "",
"(GMT+01:00) Belgrade": "",
"(GMT+01:00) Berlin": "",
"(GMT+01:00) Bratislava": "",
"(GMT+01:00) Brussels": "",
"(GMT+01:00) Budapest": "",
"(GMT+01:00) Copenhagen": "",
"(GMT+01:00) Ljubljana": "",
"(GMT+01:00) Madrid": "",
"(GMT+01:00) Paris": "",
"(GMT+01:00) Prague": "",
"(GMT+01:00) Rome": "",
"(GMT+01:00) Sarajevo": "",
"(GMT+01:00) Skopje": "",
"(GMT+01:00) Stockholm": "",
"(GMT+01:00) Vienna": "",
"(GMT+01:00) Warsaw": "",
"(GMT+01:00) Zagreb": "",
"(GMT+02:00) Athens": "",
"(GMT+02:00) Bucharest": "",
"(GMT+02:00) Cairo": "",
"(GMT+02:00) Harare": "",
"(GMT+02:00) Helsinki": "",
"(GMT+02:00) Istanbul": "",
"(GMT+02:00) Jerusalem": "",
"(GMT+02:00) Kyiv": "",
"(GMT+02:00) Minsk": "",
"(GMT+02:00) Riga": "",
"(GMT+02:00) Sofia": "",
"(GMT+02:00) Tallinn": "",
"(GMT+02:00) Vilnius": "",
"(GMT+03:00) Baghdad": "",
"(GMT+03:00) Kuwait": "",
"(GMT+03:00) Moscow": "",
"(GMT+03:00) Nairobi": "",
"(GMT+03:00) Riyadh": "",
"(GMT+03:00) Volgograd": "",
"(GMT+03:30) Tehran": "",
"(GMT+04:00) Baku": "",
"(GMT+04:00) Muscat": "",
"(GMT+04:00) Tbilisi": "",
"(GMT+04:00) Yerevan": "",
"(GMT+04:30) Kabul": "",
"(GMT+05:00) Ekaterinburg": "",
"(GMT+05:00) Karachi": "",
"(GMT+05:00) Tashkent": "",
"(GMT+05:30) Kolkata": "",
"(GMT+05:45) Kathmandu": "",
"(GMT+06:00) Almaty": "",
"(GMT+06:00) Dhaka": "",
"(GMT+06:00) Novosibirsk": "",
"(GMT+07:00) Bangkok": "",
"(GMT+07:00) Jakarta": "",
"(GMT+07:00) Krasnoyarsk": "",
"(GMT+08:00) Chongqing": "",
"(GMT+08:00) Hong Kong": "",
"(GMT+08:00) Irkutsk": "",
"(GMT+08:00) Kuala Lumpur": "",
"(GMT+08:00) Perth": "",
"(GMT+08:00) Singapore": "",
"(GMT+08:00) Taipei": "",
"(GMT+08:00) Ulaan Bataar": "",
"(GMT+08:00) Urumqi": "",
"(GMT+09:00) Seoul": "",
"(GMT+09:00) Tokyo": "",
"(GMT+09:00) Yakutsk": "",
"(GMT+09:30) Adelaide": "",
"(GMT+09:30) Darwin": "",
"(GMT+10:00) Brisbane": "",
"(GMT+10:00) Canberra": "",
"(GMT+10:00) Guam": "",
"(GMT+10:00) Hobart": "",
"(GMT+10:00) Melbourne": "",
"(GMT+10:00) Port Moresby": "",
"(GMT+10:00) Sydney": "",
"(GMT+10:00) Vladivostok": "",
"(GMT+11:00) Magadan": "",
"(GMT+12:00) Auckland": "",
"(GMT+12:00) Fiji": "",
"(GMT+12:00) Kamchatka": "",
"<span>Cookie consent message</span>": "",
"Compulsory activation according to French laws unless you use your own consent system.": "",
"<span>Intelligent Apache URL</span>": "",
"Deletes the question mark in the URLs, the option is unavailable with other web servers": "",
"<span>Search for an online update</span>": "",
"The verification is daily. Option deactivated if the server configuration does not allow it.": "",
"<span>Preserve the root htaccess file</span>": "",
"During an automatic update, keeps the htaccess file of the site root.": "",
"Search frequency": "",
"1 day": "",
"2 days": "",
"4 days": "",
"7 days": "",
"14 days": "",
"<span>Daily automatic backup of the site</span>": "",
"An archive of the file /site/data is kept for 30 days. Recommended activation": "",
"<span>Site under maintenance</span>": "",
"API key <a href=\"https://app.screenshotapi.net/\" target=\"_blank\">ScreenShotApi</a>": "",
"Create a free account, copy the key, then validate the form before clicking the generation button": "",
"<span>Allow robots to reference the site</span>": "",
"<span class=\"zwiico-facebook zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Facebook": "",
"Enter your ID: https://www.facebook.com/).": "",
"<span class=\"zwiico-instagram zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Instagram": "",
"Enter your ID: https://www.instagram.com/ [ID].": "",
"<span class=\"zwiico-twitter zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Twitter": "",
"Enter your ID: https://twitter.com/[ID].": "",
"<span class=\"zwiico-reddit zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Reddit": "",
"Saisissez votre ID Reddit : https://www.reddit.com/user/[ID].": "",
"<span class=\"zwiico-youtube zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Chaîne Youtube": "",
"Channel ID: https://www.youtube.com/channel/ [ID].": "",
"<span class=\"zwiico-youtube zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Youtube": "",
"Enter your user ID: https://www.youtube.com/user/ [ID].": "",
"<span class=\"zwiico-vimeo zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Vimeo": "",
"Saisissez votre ID Viemo : https://vimeo.com/[ID].": "",
"<span class=\"zwiico-pinterest zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Pinterest": "",
"Enter your ID: https://pinterest.com/[ID].": "",
"<span class=\"zwiico-linkedin zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Linkedin": "",
"Enter your LinkedIn ID: https://fr.linkedin.com/in/[ID].": "",
"<span class=\"zwiico-github zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Github": "",
"Enter your GitHub ID: https://github.com/[ID].": "",
"<span class=\"zwiico-twitch zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Twitch": "",
"Saisissez votre ID Twitch : https://www.twitch.tv/[ID].": "",
"<span class=\"zwiico-steam zwiico-margin-right\" style=\"font-size:1em\"><!----></span>Steam": "",
"Saisissez votre ID Viemo : https://steamcommunity.com/id/[ID].": "",
"<span>Reveal the password</span>": "",
"Flyover of an icon on the connection screen temporarily displays the password.": "",
"<span>Automatic disconnection</span>": "",
"Disconnects the previously opened sessions on other browsers or terminals. Recommended activation.": "",
"<span>Redirection to connection</span>": "",
"This redirection only concerns the administration pages of the site.": "",
"Limitation of attempts": "",
"Blocking after chess": "",
"<span>Captcha at connecting</span>": "",
"<span>Complex captcha</span>": "",
"Recommended option to secure the connection. Applies to all the Captchas of the site. Simple Captcha is limited to an addition of numbers from 0 to 10. Complex Captcha uses four numbers of 0 to 20. Recommended activation.": "",
"Type of Captcha": "",
"<span>Activate journalization</span>": "",
"Anonymity of IP addresses": "",
"French regulations require level 2 anonymity": "",
"From": "",
"<span>Custom SMTP</span>": "",
"Settings to use when your host does not offer the mail sending feature.": "",
"SMTP Address": "",
"SMTP port": "",
"Authentication": "",
"Username": "",
"Security": "",
"START TLS": "",
"SSL/TLS": "",
"<span class=\"zwiico-pencil\" style=\"font-size:1em\"><!----></span>": "",
"<span class=\"zwiico-trash\" style=\"font-size:1em\"><!----></span>": "",
"<span class=\"zwiico-upload\" style=\"font-size:1em\"><!----></span>": "",
"<span class=\"zwiico-lock\" style=\"font-size:1em\"><!----></span>": "",
"Gestion des profils": "",
"<span class=\"zwiico-plus\" style=\"font-size:1em\"><!----></span>": "",
"Profil": "",
"#": "",
"Profile Name": "",
"Associated Group": "",
"Comment": "",
"<span>Add</span>": "",
"<span>Edit</span>": "",
"<span>Delete</span>": "",
"<span>Duplicate</span>": "",
"Gérer Module": "",
"<span>Gérer Module</span>": "",
"<span>CSS editor</span>": "",
"<span>JS editor</span>": "",
"<span>Options</span>": "",
"Gérer les commentaires": "",
"<span>Gérer les commentaires</span>": "",
"<span>Approve Comments</span>": "",
"<span>Delete Comments</span>": "",
"<span>Clean Comments</span>": "",
"Galerie": "",
"<span>Theme</span>": "",
"<span>Manage Data</span>": "",
"<span>Export CSV</span>": "",
"<span>Clear All</span>": "",
"<span>Configure</span>": "",
"<span>Allowed</span>": "",
"Folder": "",
"Backup": "",
"Data": "",
"Fonts": "",
"Galerie/landscape": "",
"Galerie/space": "",
"Icones": "",
"Partage": "",
"<span>Rename</span>": "",
"<span>Clipboard</span>": "",
"<span>Folder Rights</span>": "",
"<span>Download</span>": "",
"<span>Upload</span>": "",
"<span>Preview</span>": "",
"<span>Extract</span>": "",
"<span>File Rights</span>": ""
}