2 % $cgi->param('error',$error);
3 <% $cgi->redirect($p. "msgcat.cgi?". $cgi->query_string ) %>
5 <% $cgi->redirect(popurl(3). "browse/msgcat.cgi") %>
10 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
13 foreach my $param ( grep { /^\d+$/ } $cgi->param ) {
14 my $old = qsearchs('msgcat', { msgnum=>$param } );
15 next if $old->msg eq $cgi->param($param); #no need to update identical records
16 my $new = new FS::msgcat { $old->hash };
17 $new->msg($cgi->param($param));
18 $error = $new->replace($old);