[LON-CAPA-cvs] cvs: loncom /interface portfolio.pm

droeschl droeschl@source.lon-capa.org
Tue, 21 Apr 2009 23:25:03 -0000


droeschl		Tue Apr 21 23:25:03 2009 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  Replaced folder icon with a new version. Added appropriate styles where necessary.
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.212 loncom/interface/portfolio.pm:1.213
--- loncom/interface/portfolio.pm:1.212	Sun Mar  8 21:49:33 2009
+++ loncom/interface/portfolio.pm	Tue Apr 21 23:25:03 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # portfolio browser
 #
-# $Id: portfolio.pm,v 1.212 2009/03/08 21:49:33 weissno Exp $
+# $Id: portfolio.pm,v 1.213 2009/04/21 23:25:03 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -235,7 +235,7 @@
     $r->print($line); # contains first two cells of table
     my $lock_info;
     if ($version_flag) { # versioned can't be versioned, so TRUE when root file
-        $r->print('<td><img alt="" src="'.&Apache::loncommon::icon($filename).'" /></td>');
+        $r->print('<td><img alt="" src="'.&Apache::loncommon::icon($filename).'" class="LC_fileicon" /></td>');
         $r->print('<td>'.$version_flag.'</td>');
     } else { # this is a graded or handed back file
         my ($user,$domain) = &get_name_dom($env{'form.group'});
@@ -413,7 +413,7 @@
                     $colspan_fill=' colspan="4"';
                 }
 		$r->print('<tr class="LC_browser_folder">');
-                $r->print('<td'.$colspan_folder.'><img alt="'.&mt('closed folder').'" src="'.$iconpath.'folder_closed.gif" /></td>'
+                $r->print('<td'.$colspan_folder.'><img alt="'.&mt('closed folder').'" src="'.$iconpath.'navmap.folder.closed.gif" class="LC_fileicon" /></td>'
                          .'<td>'.&mt('Go to ...').'</td>');
                 my %anchor_fields = (
                     'selectfile'    => $filename.'/',