-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:
parent
ce58f0df22
commit
64da75a293
3 changed files with 7 additions and 4 deletions
|
@ -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');
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -147,6 +147,7 @@ SELECT id, path, tn_ext
|
|||
'category' => $item['category'],
|
||||
)
|
||||
),
|
||||
'CLASS' => 'thumbCat',
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -165,4 +166,4 @@ SELECT id, path, tn_ext
|
|||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -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}">
|
||||
|
|
Loading…
Reference in a new issue