version 1.213, 2006/07/27 15:48:56
|
version 1.216, 2006/08/16 19:32:54
|
Line 186 sub list_discussion {
|
Line 186 sub list_discussion {
|
push @{$roleinfo{$student}}, 'st:'.$section.':'.$status; |
push @{$roleinfo{$student}}, 'st:'.$section.':'.$status; |
} |
} |
($classgroups,$studentgroups) = |
($classgroups,$studentgroups) = |
&Apache::loncoursedata::get_group_memberships($classlist,$keylist, |
&Apache::loncoursedata::get_group_memberships($classlist,$keylist, |
$cdom,$cnum); |
$cdom,$cnum); |
} |
} |
|
|
# Get discussion display default settings for user |
# Get discussion display default settings for user |
Line 2058 $start_page
|
Line 2058 $start_page
|
<td> </td> |
<td> </td> |
<td align="center" valign="top"> |
<td align="center" valign="top"> |
<select name="statusfilter"> |
<select name="statusfilter"> |
<option value="all" selected="selected" />$status_types{'all'}</option> |
<option value="all" selected="selected">$status_types{'all'}</option> |
<option value="Active" />$status_types{'Active'}</option> |
<option value="Active">$status_types{'Active'}</option> |
<option value="Expired" />$status_types{'Expired'}</option> |
<option value="Expired">$status_types{'Expired'}</option> |
|
<option value="Future">$status_types{'Future'}</option> |
</select> |
</select> |
</td> |
</td> |
<td> </td> |
<td> </td> |
Line 2545 sub clear_out_html {
|
Line 2546 sub clear_out_html {
|
H1=>1, H2=>1, H3=>1, H4=>1, H5=>1); |
H1=>1, H2=>1, H3=>1, H4=>1, H5=>1); |
} |
} |
# Do the substitution of everything that is not explicitly allowed |
# Do the substitution of everything that is not explicitly allowed |
$message =~ s/\<(\/?\s*(\w*)[^\>\<]*)/ |
$message =~ s/\<(\/?\s*(\w+)[^\>\<]*)/ |
{($html{uc($2)}&&(length($1)<1000))?"\<$1":"\<$1"}/ge; |
{($html{uc($2)}&&(length($1)<1000))?"\<$1":"\<$1"}/ge; |
$message =~ s/(\<?\s*(\w*)[^\<\>]*)\>/ |
$message =~ s/(\<?\s*(\w+)[^\<\>]*)\>/ |
{($html{uc($2)}&&(length($1)<1000))?"$1\>":"$1\>"}/ge; |
{($html{uc($2)}&&(length($1)<1000))?"$1\>":"$1\>"}/ge; |
return $message; |
return $message; |
} |
} |
Line 3168 sub sort_filter_names {
|
Line 3169 sub sort_filter_names {
|
); |
); |
%{$status_types} = ( |
%{$status_types} = ( |
all => 'Roles of any status', |
all => 'Roles of any status', |
Active => 'Only active roles', |
Active => 'Only active roles', |
Expired => 'Only inactive roles' |
Expired => 'Only past roles', |
|
Future => 'Only future roles', |
); |
); |
} |
} |
|
|