--- loncom/interface/portfolio.pm 2005/04/07 06:56:23 1.82 +++ loncom/interface/portfolio.pm 2006/06/26 22:23:27 1.121 @@ -30,70 +30,130 @@ use Apache::lontexconvert; use Apache::lonfeedback; use Apache::lonlocal; use Apache::lonnet; +use Apache::longroup; +use HTML::Entities; +use LONCAPA; # receives a file name and path stub from username/userfiles/portfolio/ # returns an anchor tag consisting encoding filename and currentpath sub make_anchor { - my ($filename, $current_path, $current_mode, $field_name) = @_; - my $anchor = ''.$filename.''; + my ($url, $filename, $current_path, $current_mode, $field_name, + $continue_select,$group) = @_; + if ($continue_select ne 'true') {$continue_select = 'false'}; + my $anchor = ''.$filename.''; return $anchor; } my $dirptr=16384; sub display_common { - my ($r,$current_path,$is_empty,$dir_list)=@_; - my $iconpath= $r->dir_config('lonIconsURL') . "/"; - $r->print('
'); - my $displayOut = ''; - $r->print($displayOut); - $r->print(' |
'); - $displayOut = ''; - $r->print($displayOut); - $r->print(' |
+ $text{'upload_label'} + | ++ + | +
+ $text{'createdir_label'} + | ++ + | +
'.&mt('Roles').' | '.&mt('[_1] status',$type).' | '.&mt('Sections').' | '.&mt($grouptitle).' |
---|---|---|---|