Типы секций для показа: |
%
% my @local_values = ();
% for my $class (@{ $state->{available_sections} })
% {
% my $sect = new $class($keeper);
% push (@local_values, $class, ''.$sect->class_name.' ('.$class.')');
% }
% my @local_checks = ();
% if (ref($tab->{sections}))
% {
% @local_checks = @{ $tab->{sections} };
% }
<& "/contenido/components/select.msn", multiple=>1, size=>5, values=>\@local_values, width=>"90%;", name=>'sections', check=>\@local_checks &>
|
Редакторские возможности: |
% my @LEFT = $m->comp('/contenido/components/tasks.msn');
% @local_values = ();
% for my $left (@LEFT)
% {
% push (@local_values, $left->{attr}, $left->{rusname});
% }
% @local_checks = ();
% if (ref($tab->{lefts}))
% {
% @local_checks = @{ $tab->{lefts} };
% }
<& "/contenido/components/select.msn", multiple=>1, size=>5, values=>\@local_values, width=>"90%;", name=>'lefts', check=>\@local_checks &>
|