System Messages

Critical Messages


user_notices->display_notice_and_exit()

In situations where the integrity of the system could be compromised (e.g. incorrect permissions, missing variables) these should be checked as soon as possible in the script, warning displayed to user and then script exited. The function display_notice_and_exit will display a message and then exit script execution.

Important Information Bars

In situations where you wish to draw the user's attention to something (e.g. unassigned temporary account), a coloured bar should be used (see above). Currently there is no standard function supporting this.

Information Bar Notices


user_notices->info_strip()

The notice bar is designed to provide non-critical information to the user. It is mainly used in Rogo for messages such as 'No questions found' instead of presenting a blank screen.