PHPTemplate displays all messages in a 'Status' section, effectively dropping the drupal_set_message parameter $type. Drupal core makes use of a type 'error' in a few circumstances, and contributed modules use other types. taxonomy_context uses 'term'

Adding a DIV around the message to denote the type allows phptemplate to act like xtemplate, and for type of 'error' , the result is that drupal.css colourises the message.

CommentFileSizeAuthor
phptemplate_message.patch1.35 KBzeroj

Comments

deekayen’s picture

Project: » PHPTemplate
Version: 4.4.x-1.x-dev » master
Component: User interface » Code
Status: Needs review » Closed (won't fix)

Everything about this is stale.