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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 22 Jun 2006 19:11:16 -0000


albertel		Thu Jun 22 15:11:16 2006 EDT

  Modified files:              
    /loncom/interface	loncommon.pm portfolio.pm 
  Log:
  - eliminating last <font> in portfolio
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.387 loncom/interface/loncommon.pm:1.388
--- loncom/interface/loncommon.pm:1.387	Thu Jun 22 15:01:30 2006
+++ loncom/interface/loncommon.pm	Thu Jun 22 15:11:13 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.387 2006/06/22 19:01:30 albertel Exp $
+# $Id: loncommon.pm,v 1.388 2006/06/22 19:11:13 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3344,6 +3344,10 @@
 table.LC_browser tr.LC_browser_folder {
   background: #CCCCFF
 }
+span.LC_current_location {
+  font-size: x-large;
+  background: $pgbg;
+}
 
 END
 }
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.116 loncom/interface/portfolio.pm:1.117
--- loncom/interface/portfolio.pm:1.116	Thu Jun 22 15:01:30 2006
+++ loncom/interface/portfolio.pm	Thu Jun 22 15:11:13 2006
@@ -99,7 +99,7 @@
 </table>
 TABLE
     my @tree = split (/\//,$current_path);
-    $r->print('<font size="+2">'.&make_anchor($url,$port_path,'/',$env{"form.mode"},$env{"form.fieldname"},$env{"form.continue"},$group).'/');
+    $r->print('<span class="LC_current_location">'.&make_anchor($url,$port_path,'/',$env{"form.mode"},$env{"form.fieldname"},$env{"form.continue"},$group).'/');
     if (@tree > 1){
         my $newCurrentPath = '';
         for (my $i = 1; $i< @tree; $i++){
@@ -107,7 +107,7 @@
             $r->print(&make_anchor($url,$tree[$i],'/'.$newCurrentPath, $env{"form.mode"},$env{"form.fieldname"}, $env{"form.continue"},$group).'/');
         }
     }
-    $r->print('</font>');
+    $r->print('</span>');
     &Apache::lonhtmlcommon::store_recent($namespace,$current_path,$current_path);
     $r->print('<br /><form method="post" action="'.$url.'?mode='.$env{"form.mode"}.'&amp;fieldname='.$env{"form.fieldname"});
     if (defined($group)) {