Revision a1ea659f
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/Controller/Admin.pm | ||
---|---|---|
528 | 528 |
my (@sections, $current_section); |
529 | 529 |
|
530 | 530 |
foreach my $entry ($::auth->all_rights_full) { |
531 |
if ($entry->[0] =~ m/^--/) {
|
|
532 |
push @sections, { description => $entry->[1], rights => [] };
|
|
531 |
if ($entry->[2]) {
|
|
532 |
push @sections, { description => t8($entry->[1]), rights => [] };
|
|
533 | 533 |
|
534 | 534 |
} elsif (@sections) { |
535 | 535 |
push @{ $sections[-1]->{rights} }, { |
536 | 536 |
name => $entry->[0], |
537 |
description => $entry->[1],
|
|
537 |
description => t8($entry->[1]),
|
|
538 | 538 |
}; |
539 | 539 |
|
540 | 540 |
} else { |
Auch abrufbar als: Unified diff
Rechte: In die Datenbank verlagert