summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-13 08:30:52 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-13 08:30:52 +0000
commit4a7b9e98f42db758fbc1fb63f45d33d7b57aff55 (patch)
tree5f4abff1ca8b8cfc738760f8ad979e926b709d83 /themes
parent9dc7e99a42e66b544bef641a419062f616ef7e1e (diff)
downloadbrdo-4a7b9e98f42db758fbc1fb63f45d33d7b57aff55.tar.gz
brdo-4a7b9e98f42db758fbc1fb63f45d33d7b57aff55.tar.bz2
- Patch #129640 by snufkin: generate the sticky css tag when necessary.
Diffstat (limited to 'themes')
-rw-r--r--themes/chameleon/chameleon.theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme
index bbac30136..e507d415e 100644
--- a/themes/chameleon/chameleon.theme
+++ b/themes/chameleon/chameleon.theme
@@ -138,7 +138,7 @@ function chameleon_page($content, $show_blocks = TRUE) {
function chameleon_node($node, $teaser = 0, $page = 0) {
- $output = "<div class=\"node". ((!$node->status) ? ' node-unpublished' : '') ."\">\n";
+ $output = "<div class=\"node". ((!$node->status) ? ' node-unpublished' : '') . (($node->sticky) ? ' sticky' : '') ."\">\n";
if (!$page) {
$output .= " <h2 class=\"title\">". ($teaser ? l($node->title, "node/$node->nid") : check_plain($node->title)) ."</h2>\n";