forked from ZwiiCMS-Team/ZwiiCMS
Libellés vignette 640 etc..
This commit is contained in:
parent
768cb64c30
commit
17471ed4e0
4
.gitignore
vendored
4
.gitignore
vendored
@ -12,8 +12,8 @@ site/data/fr/*.json
|
||||
|
||||
|
||||
# Fichiers uploadés
|
||||
site/file/source/*
|
||||
site/file/thumb/*
|
||||
site/file/source/
|
||||
site/file/thumb/
|
||||
|
||||
# Dossiers vides dans GitHub
|
||||
!.gitkeep
|
||||
|
@ -33,10 +33,10 @@ class common {
|
||||
|
||||
// Miniatures de la gallery
|
||||
const THUMBS_SEPARATOR = 'mini_';
|
||||
const THUMBS_WIDTH = 320;
|
||||
const THUMBS_WIDTH = 640;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '10.0.064';
|
||||
const ZWII_VERSION = '10.0.065';
|
||||
const ZWII_UPDATE_CHANNEL = "v10";
|
||||
|
||||
public static $actions = [];
|
||||
|
4
core/vendor/filemanager/config/config.php
vendored
4
core/vendor/filemanager/config/config.php
vendored
@ -515,8 +515,8 @@ $config = array(
|
||||
'fixed_path_from_filemanager' => array( '../../../site/file/thumb/' ), //fixed path of the image folder from the current position on upload folder
|
||||
'fixed_image_creation_name_to_prepend' => array( 'mini_' ), //name to prepend on filename
|
||||
'fixed_image_creation_to_append' => array( '' ), //name to appendon filename
|
||||
'fixed_image_creation_width' => array( 320 ), //width of image
|
||||
'fixed_image_creation_height' => array( 240), //height of image
|
||||
'fixed_image_creation_width' => array( 640 ), //width of image
|
||||
'fixed_image_creation_height' => array( 480 ), //height of image
|
||||
/*
|
||||
# $option: 0 / exact = defined size;
|
||||
# 1 / portrait = keep aspect set height;
|
||||
|
@ -29,8 +29,8 @@ class gallery extends common {
|
||||
|
||||
public static $sort = [
|
||||
self::SORT_ASC => 'Alphabétique ',
|
||||
self::SORT_DSC => 'Alphabétique inversé',
|
||||
self::SORT_HAND => 'Tri manuel'
|
||||
self::SORT_DSC => 'Alphabétique inverse',
|
||||
self::SORT_HAND => 'Manuel'
|
||||
];
|
||||
|
||||
public static $directories = [];
|
||||
@ -314,7 +314,7 @@ class gallery extends common {
|
||||
template::text('legend[' . $fileInfos->getFilename() . ']', [
|
||||
'value' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'legend', str_replace('.','',$fileInfos->getFilename())])
|
||||
]),
|
||||
'<a href="' . $fileInfos->getPathname() .'" rel="data-lity" data-lity=""><img src="'. str_replace('source','thumb',$directory) . '/' . $fileInfos->getFilename() . '"></a>'
|
||||
'<a href="' . str_replace('source','thumb',$directory) . '/' . self::THUMBS_SEPARATOR . $fileInfos->getFilename() .'" rel="data-lity" data-lity=""><img src="'. str_replace('source','thumb',$directory) . '/' . $fileInfos->getFilename() . '"></a>'
|
||||
];
|
||||
self::$picturesId [] = str_replace('.','',$fileInfos->getFilename());
|
||||
}
|
||||
|
@ -37,8 +37,7 @@
|
||||
<?php echo template::select('galleryEditSort', $module::$sort, [
|
||||
'selected' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'config', 'sort']),
|
||||
'label' => 'Tri des images',
|
||||
'help' => 'Les images sont triées par nom de fichier grâce à la méthode naturelle qui donne de meilleurs résultats lorsque les images sont numérotées.<br>
|
||||
N\'oubliez pas d\'enregistrer pour sauvegarder le tri manuel des images'
|
||||
'help' => 'Les tris alphabétiques conviennent également aux images numérotées.<br>Cliquez sur \'Enregistrer\' pour valider le tri.'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
0
site/tmp/.htaccess
Normal file → Executable file
0
site/tmp/.htaccess
Normal file → Executable file
Loading…
Reference in New Issue
Block a user