- Patch #129640 by snufkin: generate the sticky css tag when necessary.
parent
9dc7e99a42
commit
4a7b9e98f4
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue