summaryrefslogtreecommitdiff
path: root/themes/bartik/template.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-12-02 23:54:56 +0000
committerDries Buytaert <dries@buytaert.net>2010-12-02 23:54:56 +0000
commitd4a368964a73561db54bdcfcc3f587b95525dd2d (patch)
tree1f01ed7b5ebdb0a91b7c0de60cd5a92e40ec5f06 /themes/bartik/template.php
parentd12aaddbb720dc7351b0f3b7d42a60569490e449 (diff)
downloadbrdo-d4a368964a73561db54bdcfcc3f587b95525dd2d.tar.gz
brdo-d4a368964a73561db54bdcfcc3f587b95525dd2d.tar.bz2
- Patch #862854 by rjgoldsborough, tim.plunkett, reglogge, Jeff Burnz, amateescu, theresaanna, yoroy: no styling for sticky.
Diffstat (limited to 'themes/bartik/template.php')
-rw-r--r--themes/bartik/template.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/bartik/template.php b/themes/bartik/template.php
index a3393a426..d60aeb6a5 100644
--- a/themes/bartik/template.php
+++ b/themes/bartik/template.php
@@ -107,6 +107,9 @@ function bartik_process_maintenance_page(&$variables) {
*/
function bartik_preprocess_node(&$variables) {
$variables['submitted'] = t('published by !username on !datetime', array('!username' => $variables['name'], '!datetime' => $variables['date']));
+ if ($variables['view_mode'] == 'full' && node_is_page($variables['node'])) {
+ $variables['classes_array'][] = 'node-full';
+ }
}
/**