Warning message like errorcode messages

Warning message like errorcode messages

by Luis De Sousa -
Number of replies: 0

Hi!

I use $_SERVER ['HTTP_USER_AGENT'] to gather information about the client browser. When it detects an older browser, I want to show a simple alert message (like early error messages) that prompts the user to update the browser. I throw a nice popup alert window from ../layout/frontpage.php. However, with IE 6.0 and older versions of FF/Chrome, page (and popup) content is displayed so distorted that it is unreadable. If the user gets it, the first thing he thinks is "this page has problems." Then I want that moodle does not generate content (header, sides, main content, footer, etc) and throw warning message like early error messages

Average of ratings: -