I just committed a change to trunk to improve display_error() method.
Basicallly, you now have an optional argument $message, which you can
use to display more details about the error. The errortitle will
continue to be displayed in the box with the red exclamation mark, but
the details will be displayed in the white box below it.
If you don't specify the $message argument, then it is set to the same
thing as the errortitle, resulting in the errortitle being displayed
twice (once beside the red exclamation mark, and once in the white
details box). This is what display_error() used to do, and I kept it
like that for backward compatibility. But it seems odd to me that the
title would be displayhed twice. Is there a particular reason why it was
impolemented that way?
Have a good weekend.
Get latest updates about Open Source Projects, Conferences and News.