version 1.49, 2002/08/12 18:21:42
|
version 1.52, 2002/08/21 17:18:08
|
Line 90 my @Omit = ();
|
Line 90 my @Omit = ();
|
sub handler { |
sub handler { |
my $r = shift; |
my $r = shift; |
$r->content_type('text/html'); |
$r->content_type('text/html'); |
|
&Apache::loncommon::no_cache($r); |
$r->send_http_header; |
$r->send_http_header; |
return OK if $r->header_only; |
return OK if $r->header_only; |
$fnum=0; |
$fnum=0; |
Line 326 function gothere(val) {
|
Line 327 function gothere(val) {
|
</script> |
</script> |
|
|
</head> |
</head> |
<body bgcolor="#FFFFFF"> |
|
ENDHEADER |
ENDHEADER |
|
$r->print(&Apache::loncommon::bodytag('Browse Resources')); |
# - Evaluate actions from previous page (both cumulatively and chronologically) |
# - Evaluate actions from previous page (both cumulatively and chronologically) |
if ($ENV{'form.catalogmode'} eq 'groupimport') { |
if ($ENV{'form.catalogmode'} eq 'groupimport') { |
my $acts=$ENV{'form.acts'}; |
my $acts=$ENV{'form.acts'}; |
Line 371 ENDHEADER
|
Line 371 ENDHEADER
|
} |
} |
} |
} |
|
|
# ---------------------------------------------------------------- output title |
|
$r->print( |
|
'<h2><font color="#339933">The Learning<i>Online</i> Network with CAPA '. |
|
'Network Directory Browser</font></h2>'."\n"); |
|
# ---------------------------------- get state of file attributes to be showing |
# ---------------------------------- get state of file attributes to be showing |
if ($ENV{'form.attrs'} ne '') { |
if ($ENV{'form.attrs'} ne '') { |
for (my $i=0; $i<=7; $i++) { |
for (my $i=0; $i<=7; $i++) { |
Line 688 sub display_line {
|
Line 684 sub display_line {
|
$r->print ('<a href="javascript:gothere(\''.$filecom[0]. |
$r->print ('<a href="javascript:gothere(\''.$filecom[0]. |
'/\')"><img src="'.$iconpath.'server.gif"'); |
'/\')"><img src="'.$iconpath.'server.gif"'); |
$r->print (' border="0" /></a>'."\n"); |
$r->print (' border="0" /></a>'."\n"); |
$r->print("Domain - $listname $tabtag</tr></form>\n"); |
$r->print("Domain - $listname (". |
|
$Apache::lonnet::domaindescription{$listname}.") $tabtag</tr></form>\n"); |
return OK; |
return OK; |
|
|
# display user directory |
# display user directory |