version 1.171, 2012/09/25 19:54:21
|
version 1.172, 2012/10/02 18:35:19
|
Line 1714 sub print_quotas {
|
Line 1714 sub print_quotas {
|
} elsif ($context eq 'requestauthor') { |
} elsif ($context eq 'requestauthor') { |
my $curroption; |
my $curroption; |
if (ref($settings) eq 'HASH') { |
if (ref($settings) eq 'HASH') { |
if (ref($settings->{'requestauthor'}) eq 'HASH') { |
$curroption = $settings->{'default'}; |
$curroption = $settings->{'requestauthor'}; |
|
} |
|
} |
} |
if (!$curroption) { |
if (!$curroption) { |
$curroption = 'norequest'; |
$curroption = 'norequest'; |
Line 5934 sub modify_quotas {
|
Line 5932 sub modify_quotas {
|
$cond = $conditions{$inconf{$type}}; |
$cond = $conditions{$inconf{$type}}; |
} |
} |
$resulttext .= '<li>'.&mt('Set to be available to [_1].',$typetitle).' '.$cond.'</li>'; |
$resulttext .= '<li>'.&mt('Set to be available to [_1].',$typetitle).' '.$cond.'</li>'; |
|
} elsif ($context eq 'requestauthor') { |
|
$resulttext .= '<li>'.&mt('Set to "[_1]" for "[_2]".', |
|
$titles{$inconf{$type}},$typetitle); |
|
|
} else { |
} else { |
$resulttext .= '<li>'.&mt('Set to be available to [_1]',$typetitle).'</li>'; |
$resulttext .= '<li>'.&mt('Set to be available to [_1]',$typetitle).'</li>'; |
} |
} |