version 1.70, 2006/12/11 00:32:24
|
version 1.70.2.1, 2007/01/03 03:58:34
|
Line 241 foreach my $dom (@domains) {
|
Line 241 foreach my $dom (@domains) {
|
my ($group,$url,$fullpath); |
my ($group,$url,$fullpath); |
if ($is_course) { |
if ($is_course) { |
($group, my ($path)) = ($file =~ /^(\w+)(\/.+)$/); |
($group, my ($path)) = ($file =~ /^(\w+)(\/.+)$/); |
$fullpath = $pathstart.'/groups/'.$group.'/portfolio/'.$path; |
$fullpath = $pathstart.'/groups/'.$group.'/portfolio'.$path; |
$url = $urlstart.'/groups/'.$group.'/portfolio'.$path; |
$url = $urlstart.'/groups/'.$group.'/portfolio'.$path; |
} else { |
} else { |
$fullpath = $pathstart.'/portfolio'.$file; |
$fullpath = $pathstart.'/portfolio'.$file; |
$url .= $urlstart.'/portfolio'.$file; |
$url = $urlstart.'/portfolio'.$file; |
} |
} |
if (ref($access{$file}) eq 'HASH') { |
if (ref($access{$file}) eq 'HASH') { |
&process_portfolio_access_data($url,$access{$file}); |
&process_portfolio_access_data($url,$access{$file}); |