<form action="<% $cgi->self_url %>" method="GET" style="display:inline;">
<& /elements/select.html,
'field' => 'locale',
- 'options' => [ '', @locales ],
+ 'options' => [ '', grep { $_ ne 'en_US'} @locales ],
'labels' => { map {
my %info = FS::Locales->locale_info($_);
$_ => "$info{name} ($info{country})"
- } @locales },
+ } grep { $_ ne 'en_US' } @locales },
'curr_value' => $locale,
'id' => 'select-locale',
'onchange' => 'changeLocale'
% } elsif ( $type eq 'checkbox' ) {
<tr>
- <td id="<% $agentnum.$i->key.$n %>" bgcolor="#<% $conf->exists($i->key, $agentnum) ? '00ff00">YES' : 'ff0000">NO' %></td>
+ <td id="<% $agentnum.$i->key.$n %>" bgcolor="#<% $conf->config_bool($i->key, $agentnum) ? '00ff00">YES' : 'ff0000">NO' %></td>
</tr>
% } elsif ( $type eq 'select' && $i->select_hash ) {