diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-04-07 11:42:42 -0700 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-04-07 11:42:42 -0700 |
commit | 677274500465d1bf8bde7d755c5a8bf107411e4f (patch) | |
tree | b5334c51c0cd34d262b2708e663b2d39e05ad081 /inc/html.php | |
parent | e71b0ef705b86bb653fcae43e6845acbe6fd7fd2 (diff) | |
parent | f755f9abc6fe099a6bee2bdd4acda44baca5ea7a (diff) | |
download | rpg-677274500465d1bf8bde7d755c5a8bf107411e4f.tar.gz rpg-677274500465d1bf8bde7d755c5a8bf107411e4f.tar.bz2 |
Merge pull request #210 from splitbrain/authcomp_msg
mechanism supporting "authtype deprecated" message for superusers only
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php index 59415f7da..fb39fcb3c 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1297,9 +1297,11 @@ function html_msgarea(){ foreach($MSG as $msg){ $hash = md5($msg['msg']); if(isset($shown[$hash])) continue; // skip double messages - print '<div class="'.$msg['lvl'].'">'; - print $msg['msg']; - print '</div>'; + if(info_msg_allowed($msg)){ + print '<div class="'.$msg['lvl'].'">'; + print $msg['msg']; + print '</div>'; + } $shown[$hash] = 1; } |