themekey-debug-messages.tpl.php in ThemeKey 7
Same filename and directory in other branches
template to format ThemeKey Debug Messages
1 theme call to themekey-debug-messages.tpl.php
- themekey_debug_set_debug_message in ./
themekey_debug.module - Replacement for drupal_set_message() during ThemeKey's initialization. drupal_set_message() might inititialize the theme engine too early, which causes ThemeKey to not switch the theme.
File
themekey-debug-messages.tpl.phpView source
<?php
/**
* @file
* template to format ThemeKey Debug Messages
*/
?>
<table border="1" style="color:black;" bgcolor="white">
<tr><th><?php
print t('ThemeKey Debug Messages');
?></th></tr>
<?php
foreach ($messages as $message) {
?>
<tr><td><?php
print $message;
?></td></tr>
<?php
}
?>
</table>