Subversion Repositories Applications.galerie

Compare Revisions

Ignore whitespace Rev 3 → Rev 8

/trunk/gallerie.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: gallerie.php,v 1.2 2006-12-08 16:00:11 jp_milcent Exp $
// CVS : $Id: gallerie.php,v 1.3 2007-11-28 17:22:28 jp_milcent Exp $
/**
* papyrus_bp - gallerie.php
*
37,7 → 37,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 1999-2006
*@version $Revision: 1.2 $ $Date: 2006-12-08 16:00:11 $
*@version $Revision: 1.3 $ $Date: 2007-11-28 17:22:28 $
// +------------------------------------------------------------------------------------------------------+
*/
 
91,7 → 91,15
if (!isset($options['qualite'])) {
$options['qualite'] = 70;
}
 
if (!isset($options['img_largeur'])) {
$options['img_largeur'] = 800;
}
if (!isset($options['img_hauteur'])) {
$options['img_hauteur'] = 600;
}
if (!isset($options['img_qualite'])) {
$options['img_qualite'] = 70;
}
//+----------------------------------------------------------------------------------------------------------------+
// Récupération des données
$noimage = 0;
119,7 → 127,7
foreach($images as $image) {
if ($image['filename'] != '') {
$aso_img['fichier_nom'] = $image['filename'];
$aso_img['url_img'] = $options['dossier'].'/'.$image['filename'];
$aso_img['url_img'] = preg_replace('/papyrus\.php$/', '', PAP_URL).GALL_CHEMIN_SCRIPTS.'showthumb.php?img='.urlencode(PAP_CHEMIN_RACINE.$options['dossier'].'/'.$image['filename']).'&width='.$options['img_largeur'].'&height='.$options['img_hauteur'].'&quality='.$options['img_qualite'];
$aso_img['url_img_mini'] = preg_replace('/papyrus\.php$/', '', PAP_URL).GALL_CHEMIN_SCRIPTS.'showthumb.php?img='.urlencode(PAP_CHEMIN_RACINE.$options['dossier'].'/'.$image['filename']).'&width='.$options['largeur'].'&height='.$options['hauteur'].'&quality='.$options['qualite'];
$GLOBALS['_GALLERIE_']['images'][] = $aso_img;
}
147,6 → 155,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2006-12-08 16:00:11 jp_milcent
* Correction bogue : variable indéfinie.
*
* Revision 1.1 2006/12/07 17:29:20 jp_milcent
* Ajout de l'applette Gallerie dans Client car elle n'a pas un rapport direct avec Papyrus.
*