commit 79c0f9e076a939cfe1d0de250f6bb4466f9903b9 Author: Lee Rowlands Date: Tue Mar 12 18:53:37 2013 +1000 Failing tests diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 957f3c2..9bd4761 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -3199,6 +3199,7 @@ function drupal_common_theme() { ), 'mark' => array( 'variables' => array('type' => MARK_NEW), + 'template' => 'mark' ), 'item_list' => array( 'variables' => array('items' => array(), 'title' => '', 'type' => 'ul', 'attributes' => array()), commit b0bd0e3f7288d3e912ecbe46a996ff1b671c6e4c Author: Lee Rowlands Date: Tue Mar 12 19:06:22 2013 +1000 Adds constants as variables using pre-processing diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 9bd4761..1a37bad 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -2299,6 +2299,8 @@ function template_preprocess_mark(&$variables) { if ($user->uid) { $variables['logged_in'] = TRUE; } + $variables['MARK_NEW'] = MARK_NEW; + $variables['MARK_UPDATED'] = MARK_UPDATED; } /**