Overview
Comment:Taille moyenne de l'image = 500 pixels, pas 200
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 1ad952a6fd0fbe7f412148ca17486737ace211c6
User & Date: bohwaz on 2017-09-08 03:33:17
Other Links: branch diff | manifest | tags
Context
2017-09-08
03:33
Ajout galerie images et documents aux squelettes par défaut check-in: ed028de0ce user: bohwaz tags: dev
03:33
Taille moyenne de l'image = 500 pixels, pas 200 check-in: 1ad952a6fd user: bohwaz tags: dev
03:32
Corriger les liens wiki check-in: 91f8594d05 user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Squelette.php from [05afb449ce] to [fe7dcdb6d2].

585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
                }
            }

            if (trim($loopContent))
            {
                $loop_start .= '$row[\'url\'] = Fichiers::_getURL($row[\'id\'], $row[\'nom\']); ';
                $loop_start .= '$row[\'miniature\'] = $row[\'image\'] ? Fichiers::_getURL($row[\'id\'], $row[\'nom\'], 200) : \'\'; ';
                $loop_start .= '$row[\'moyenne\'] = $row[\'image\'] ? Fichiers::_getURL($row[\'id\'], $row[\'nom\'], 200) : \'\'; ';
            }

            $query .= $where . ' ' . $order;

            if (!$limit || $limit > 100)
                $limit = 100;








|







585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
                }
            }

            if (trim($loopContent))
            {
                $loop_start .= '$row[\'url\'] = Fichiers::_getURL($row[\'id\'], $row[\'nom\']); ';
                $loop_start .= '$row[\'miniature\'] = $row[\'image\'] ? Fichiers::_getURL($row[\'id\'], $row[\'nom\'], 200) : \'\'; ';
                $loop_start .= '$row[\'moyenne\'] = $row[\'image\'] ? Fichiers::_getURL($row[\'id\'], $row[\'nom\'], 500) : \'\'; ';
            }

            $query .= $where . ' ' . $order;

            if (!$limit || $limit > 100)
                $limit = 100;