version 1.198, 2016/03/05 21:49:44
|
version 1.201, 2018/08/29 20:21:30
|
Line 1800 sub render {
|
Line 1800 sub render {
|
if (lc($time) eq 'anytime') { |
if (lc($time) eq 'anytime') { |
$anytime=1; |
$anytime=1; |
$date = &get_date_object(time); |
$date = &get_date_object(time); |
$date->min(0); |
$date->set_minute(0); |
} elsif (defined($time) && $time ne 0) { |
} elsif (defined($time) && $time ne 0) { |
$date = &get_date_object($time); |
$date = &get_date_object($time); |
} else { |
} else { |
Line 1810 sub render {
|
Line 1810 sub render {
|
|
|
if (!defined($date)) { |
if (!defined($date)) { |
$date = &get_date_object(time); |
$date = &get_date_object(time); |
$date->min(0); |
$date->set_minute(0); |
} |
} |
|
|
if ($anytime) { |
if ($anytime) { |
Line 2047 be filtered out. The 'addstatus' attribu
|
Line 2047 be filtered out. The 'addstatus' attribu
|
and long status display columns to the display. The 'addparts' |
and long status display columns to the display. The 'addparts' |
attribute will add in a part selector beside problems that have more |
attribute will add in a part selector beside problems that have more |
than 1 part. The 'includecourse' attribute if true, will include |
than 1 part. The 'includecourse' attribute if true, will include |
the toplevel default.sequence in the results. |
the toplevel default.sequence in the results. The 'modalLink' attribute, |
|
if true, will cause links to be launched as modal pop-ups, instead of |
|
replacing the resource selection listing, currently being displayed. |
|
|
=head3 SUB-TAGS |
=head3 SUB-TAGS |
|
|
Line 2159 sub start_resource {
|
Line 2161 sub start_resource {
|
$paramHash->{'toponly'} = $token->[2]{'toponly'}; |
$paramHash->{'toponly'} = $token->[2]{'toponly'}; |
$paramHash->{'addstatus'} = $token->[2]{'addstatus'}; |
$paramHash->{'addstatus'} = $token->[2]{'addstatus'}; |
$paramHash->{'addparts'} = $token->[2]{'addparts'}; |
$paramHash->{'addparts'} = $token->[2]{'addparts'}; |
|
$paramHash->{'modalLink'} = $token->[2]{'modallink'}; |
if ($paramHash->{'addparts'}) { |
if ($paramHash->{'addparts'}) { |
$helper->declareVar($paramHash->{'variable'}.'_part'); |
$helper->declareVar($paramHash->{'variable'}.'_part'); |
} |
} |
Line 2365 BUTTONS
|
Line 2368 BUTTONS
|
my $option_texts = $self->{OPTION_TEXTS}; |
my $option_texts = $self->{OPTION_TEXTS}; |
my $option_types = $self->{OPTION_TYPES}; |
my $option_types = $self->{OPTION_TYPES}; |
my $addparts = $self->{'addparts'}; |
my $addparts = $self->{'addparts'}; |
|
my $modalLink = $self->{'modalLink'}; |
my $headings_done = 0; |
my $headings_done = 0; |
|
|
# Evaluate the map url as needed |
# Evaluate the map url as needed |
Line 2464 BUTTONS
|
Line 2468 BUTTONS
|
$resource_name . "'/> </td>"; |
$resource_name . "'/> </td>"; |
} else { |
} else { |
$col .= |
$col .= |
"<td align='center'><input type=$option_type name ='$option_var". |
"<td align='center'><input type='$option_type' name ='$option_var". |
"_forminput' value='". |
"_forminput' value='". |
$resource_name . "' $checked /> </td>"; |
$resource_name . "' $checked /> </td>"; |
} |
} |
Line 2549 RADIO
|
Line 2553 RADIO
|
'suppressEmptySequences' => $self->{'suppressEmptySequences'}, |
'suppressEmptySequences' => $self->{'suppressEmptySequences'}, |
'include_top_level_map' => $self->{'include_top_level_map'}, |
'include_top_level_map' => $self->{'include_top_level_map'}, |
'iterator_map' => $mapUrl, |
'iterator_map' => $mapUrl, |
'map_no_edit_link' => 1, } |
'map_no_edit_link' => 1, |
|
'modalLink' => $modalLink, } |
); |
); |
|
|
$result .= $buttons; |
$result .= $buttons; |