--- loncom/interface/portfolio.pm 2009/11/04 18:33:28 1.217 +++ loncom/interface/portfolio.pm 2010/02/19 10:20:31 1.220 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.217 2009/11/04 18:33:28 raeburn Exp $ +# $Id: portfolio.pm,v 1.220 2010/02/19 10:20:31 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -223,7 +223,7 @@ sub display_usage { '
'."\n". ' '."\n". ' '; - return $disk_meter; + return &Apache::loncommon::head_subbox($disk_meter); } sub display_directory_line { @@ -453,8 +453,7 @@ sub display_directory { $line .= ''; } if ($can_modify) { - my $cat=''.&mt('Metadata').''; -# src="'.#&Apache::loncommon::lonhttpdurl('/res/adm/pages/catalog.gif').'" />'; + my $cat=''.&mt('Metadata').''; my %anchor_fields = ( 'rename' => $filename, currentpath => $current_path @@ -1779,8 +1778,23 @@ function getIndexByName(item) { END_SCRIPT - $r->print(&mt('Select roles, course status, section(s) and group(s) for users who will be able to access the portfolio file.')); - $r->print('
'.$role_selects.'
'.&mt('Roles').''.&mt('[_1] status',$type).''.&mt('Sections').''.&mt('Groups').'

'); + $r->print( + '

' + .&mt('Select roles, '.lc($type).' status, section(s) and group(s) for users' + .' who will be able to access the portfolio file.') + .'

' + ); + $r->print( + '' + .'' + .'' + .'' + .'' + .'' + .''.$role_selects.'' + .'
'.&mt('Roles').''.&mt("$type status").''.&mt('Sections').''.&mt('Groups').'

' + .'' + ); return; }