-new : add a 'CLASS' element in 'thumbnails.line.thumbnail' array to store a different classname for

category thumbnails and element thubnails in order to be able to display them differently.

git-svn-id: http://piwigo.org/svn/trunk@1098 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
chrisaga 2006-03-25 12:40:24 +00:00
parent ce58f0df22
commit 64da75a293
3 changed files with 7 additions and 4 deletions

View file

@ -97,7 +97,9 @@ foreach ($pictures as $row)
'IMAGE_TITLE' => $thumbnail_title,
'IMAGE_TS' => get_icon($row['date_available']),
'U_IMG_LINK' => $url
'U_IMG_LINK' => $url,
'CLASS' => 'thumbElmt',
)
);
@ -165,4 +167,4 @@ SELECT COUNT(*) AS nb_comments
}
pwg_debug('end include/category_default.inc.php');
?>
?>

View file

@ -147,6 +147,7 @@ SELECT id, path, tn_ext
'category' => $item['category'],
)
),
'CLASS' => 'thumbCat',
)
);
@ -165,4 +166,4 @@ SELECT id, path, tn_ext
}
}
}
?>
?>

View file

@ -185,7 +185,7 @@
<ul class="thumbnails">
<!-- BEGIN line -->
<!-- BEGIN thumbnail -->
<li>
<li class="{thumbnails.line.thumbnail.CLASS}">
<span class="wrap1">
<span class="wrap2">
<a href="{thumbnails.line.thumbnail.U_IMG_LINK}">