X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Flog_email.html;h=a81e98b099c321594fb7225855b1dd2bd3e62286;hp=0c98046d3b8a0a58e1874e10615a639c820df876;hb=c49cfd25a8f92c7a2f44b51d72506a21f6b8d09f;hpb=a1930173f49200333e347b87c01c3edabc1ebb9c diff --git a/httemplate/edit/log_email.html b/httemplate/edit/log_email.html index 0c98046d3..a81e98b09 100644 --- a/httemplate/edit/log_email.html +++ b/httemplate/edit/log_email.html @@ -16,8 +16,8 @@ }, { 'field' => 'min_level', 'type' => 'select', - 'options' => [ 0..7 ], - 'labels' => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 }, + 'options' => [ &FS::Log::levelnums ], + 'labels' => { &FS::Log::levelmap }, 'curr_value' => scalar($cgi->param('min_level')), }, 'to_addr', @@ -41,7 +41,7 @@ ) %> <%once> -my @contexts = sort FS::log_context->contexts; +my @contexts = FS::log_context->contexts; <%init>