--- loncom/interface/portfolio.pm 2004/07/29 17:04:21 1.20 +++ loncom/interface/portfolio.pm 2004/08/23 21:16:43 1.21 @@ -260,7 +260,7 @@ sub handler { $r->print($displayOut); $r->print('</td></tr></table>'); my @tree = split (/\//,$currentPath); - $r->print('<font size="+2">'.makeAnchor('portfolio','/').'/'); + $r->print('<font size="+2">'.makeAnchor('/','/')); if (@tree > 1){ my $newCurrentPath = ''; for (my $i = 1; $i< @tree; $i++){ @@ -269,6 +269,10 @@ sub handler { } } $r->print('</font>'); + &Apache::lonhtmlcommon::store_recent('portfolio',$currentPath,$currentPath); + $r->print('<br /><form method=post action="/adm/portfolio">'.&Apache::lonhtmlcommon::select_recent('portfolio','currentpath', +'this.form.submit();')); + $r->print("</form>"); $r->print('<table border="0" cellspacing="2" cellpadding="2">'. '<tr><th> </th><th>Actions</th><th>Name</th><th>Title</th><th>Status</th><th>Last Modified</th></tr>'); foreach my $line (@dirList) {