forked from ZwiiCMS-Team/ZwiiCMS
redirection and gallery multiliguisme
This commit is contained in:
parent
c5683c0a81
commit
ce1a0d4b30
@ -1,3 +1,5 @@
|
||||
# Version 3.7
|
||||
- Multilinguisme
|
||||
# Version 3.61
|
||||
- Corrige le retour de $success en lecture écriture de fichier
|
||||
# Version 3.6
|
||||
|
@ -17,7 +17,7 @@
|
||||
class gallery extends common {
|
||||
|
||||
|
||||
const VERSION = '3.61';
|
||||
const VERSION = '3.7';
|
||||
const REALNAME = 'Galerie';
|
||||
const DATADIRECTORY = self::DATA_DIR . 'gallery/';
|
||||
|
||||
|
2
module/redirection/changes.md
Normal file
2
module/redirection/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# Version 1.6
|
||||
- Multilinguisme
|
@ -15,7 +15,7 @@
|
||||
|
||||
class redirection extends common {
|
||||
|
||||
const VERSION = '1.5';
|
||||
const VERSION = '1.6';
|
||||
const REALNAME = 'Redirection';
|
||||
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||
|
||||
|
@ -15,8 +15,9 @@
|
||||
|
||||
if (document.referrer.indexOf("edit") === -1)
|
||||
{
|
||||
var message = "<?php echo helper::translate('OUI : éditer la page | NON : tester la redirection'); ?>";
|
||||
core.confirm(
|
||||
"OUI : éditer la page | NON : tester la redirection.",
|
||||
message,
|
||||
function() {
|
||||
$(location).attr("href", "<?php echo helper::baseUrl(); ?>page/edit/<?php echo $this->getUrl(0); ?>");
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user