version 1.12, 2024/02/11 23:03:13
|
version 1.15, 2025/02/04 03:07:44
|
Line 67 sub menu {
|
Line 67 sub menu {
|
<input type="hidden" name="phase" value="results" /> |
<input type="hidden" name="phase" value="results" /> |
ENDCOURSESEARCH |
ENDCOURSESEARCH |
$scrout.=&Apache::lonhtmlcommon::start_pick_box(). |
$scrout.=&Apache::lonhtmlcommon::start_pick_box(). |
&Apache::lonhtmlcommon::row_title($lt{'note'}). |
&Apache::lonhtmlcommon::row_title('<label for="courseexp">'. |
|
$lt{'note'}.'</label>'). |
&Apache::lonhtmlcommon::textbox('courseexp', |
&Apache::lonhtmlcommon::textbox('courseexp', |
$env{'form.courseexp'},40). |
$env{'form.courseexp'},40,'id="courseexp"'). |
&Apache::lonhtmlcommon::row_closure(). |
&Apache::lonhtmlcommon::row_closure(). |
&Apache::lonhtmlcommon::row_title($lt{'options'}). |
&Apache::lonhtmlcommon::row_title($lt{'options'}). |
'<label>'.&Apache::lonhtmlcommon::checkbox('crsfulltext',$env{'form.crsfulltext'}).$lt{'full'}."</label><br />\n". |
'<label>'.&Apache::lonhtmlcommon::checkbox('crsfulltext',$env{'form.crsfulltext'}).$lt{'full'}."</label><br />\n". |
Line 151 sub course_search {
|
Line 152 sub course_search {
|
(($listed eq 'absent') || ($listed eq 'grades'))); |
(($listed eq 'absent') || ($listed eq 'grades'))); |
} |
} |
} |
} |
my $symb=&make_symb($1); |
my $symb=&make_symb($rid); |
&checkonthis($r,$1,$hash{$key},0,&Apache::lonnet::gettitle($symb), |
&checkonthis($r,$rid,$hash{$key},0,&Apache::lonnet::gettitle($symb), |
$fulltext,$symb,$target,@allwords); |
$fulltext,$symb,$target,@allwords); |
} |
} |
} |
} |
Line 296 sub checkonthis {
|
Line 297 sub checkonthis {
|
# Check also the dependencies of this one |
# Check also the dependencies of this one |
my $dependencies= |
my $dependencies= |
&Apache::lonnet::metadata($url,'dependencies'); |
&Apache::lonnet::metadata($url,'dependencies'); |
foreach my $url (split(/\,/,$dependencies)) { |
foreach my $item (split(/\,/,$dependencies)) { |
if (($url =~ /^\/res\//) && (!$alreadyseen{$id})) { |
if (($item =~ /^\/res\//) && (!$alreadyseen{$id})) { |
&checkonthis($r,$id,$url,$level+1,'',$fulltext,undef,$target,@allwords); |
&checkonthis($r,$id,$item,$level+1,'',$fulltext,undef,$target,@allwords); |
} |
} |
} |
} |
} |
} |