% include( 'elements/browse.html', 'title' => ucfirst($classname) . ' Reasons', 'menubar' => [ ucfirst($classname).' Reason Types' => $p."browse/reason_type.html?class=$class" ], 'html_init' => $html_init, 'name' => $classname . ' reasons', 'disableable' => 1, 'disabled_statuspos' => 3, 'query' => { 'table' => 'reason', 'hashref' => {}, 'extra_sql' => $where_clause. ' ORDER BY reason_type', 'addl_from' => 'LEFT JOIN reason_type ON reason_type.typenum = reason.reason_type', }, 'count_query' => $count_query, 'header' => \@header, 'fields' => \@fields, 'links' => \@links, 'align' => $align, 'html_form' => qq!
'; %init>