diff options
-rw-r--r-- | include/category_default.inc.php | 6 | ||||
-rw-r--r-- | include/category_subcats.inc.php | 3 | ||||
-rw-r--r-- | template/yoga/category.tpl | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php index 7201c7bb8..31d40ed90 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -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'); -?>
\ No newline at end of file +?> diff --git a/include/category_subcats.inc.php b/include/category_subcats.inc.php index 3aa091269..3b27dcd22 100644 --- a/include/category_subcats.inc.php +++ b/include/category_subcats.inc.php @@ -147,6 +147,7 @@ SELECT id, path, tn_ext 'category' => $item['category'], ) ), + 'CLASS' => 'thumbCat', ) ); @@ -165,4 +166,4 @@ SELECT id, path, tn_ext } } } -?>
\ No newline at end of file +?> diff --git a/template/yoga/category.tpl b/template/yoga/category.tpl index 5705d5824..df6e4d249 100644 --- a/template/yoga/category.tpl +++ b/template/yoga/category.tpl @@ -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}"> |