--- loncom/interface/loncommon.pm 2018/09/18 02:18:43 1.1321 +++ loncom/interface/loncommon.pm 2018/11/06 15:37:37 1.1322 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1321 2018/09/18 02:18:43 raeburn Exp $ +# $Id: loncommon.pm,v 1.1322 2018/11/06 15:37:37 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -16420,6 +16420,22 @@ sub compare_arrays { return @difference; } +sub lon_status_items { + my %defaults = ( + E => 100, + W => 4, + N => 1, + threshold => 200, + sysmail => 2500, + ); + my %names = ( + E => 'Errors', + W => 'Warnings', + N => 'Notices', + ); + return (\%defaults,\%names); +} + # -------------------------------------------------------- Initialize user login sub init_user_environment { my ($r, $username, $domain, $authhost, $form, $args) = @_;