For displaying error and success messages, make use of the functions
phorum_admin_error() and
phorum_admin_okmsg(). Both functions take
the message to display as their argument. By using those functions,
the messages are shown using the standard Phorum admin formatting.