Display :: display_error_message("<p>Either you are not allowed here or your session has expired.<br/><br/>Please try to login again using the following form: <br/>".$test);
Display :: display_error_message("<p>Either you are not allowed here or your session has expired.<br/><br/>Please try to login again using the following form: <br/>".$test,false);
//if no course ID was included in the requested URL, redirect to homepage
echo '<divalign="center">';
Display :: display_error_message('<p>Either you are not allowed here or your session has expired.<br/><br/><ahref="'.$home_url.'">Please try to login again from the homepage</a><br/>');
Display :: display_error_message('<p>Either you are not allowed here or your session has expired.<br/><br/><ahref="'.$home_url.'">Please try to login again from the homepage</a><br/>',false);