From 4a7b9e98f42db758fbc1fb63f45d33d7b57aff55 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 13 Apr 2007 08:30:52 +0000 Subject: [PATCH] - Patch #129640 by snufkin: generate the sticky css tag when necessary. --- themes/chameleon/chameleon.theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index bbac301363d9..e507d415e2be 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 = "
status) ? ' node-unpublished' : '') ."\">\n"; + $output = "
status) ? ' node-unpublished' : '') . (($node->sticky) ? ' sticky' : '') ."\">\n"; if (!$page) { $output .= "

". ($teaser ? l($node->title, "node/$node->nid") : check_plain($node->title)) ."

\n";