[LON-CAPA-cvs] cvs: loncom /html/adm/lonIcons arrow.up.gif /interface lonindexer.pm doc/loncapafiles loncapafiles.lpml

schulted schulted@source.lon-capa.org
Tue, 17 Mar 2009 22:27:44 -0000


schulted		Tue Mar 17 22:27:44 2009 EDT

  Added files:                 
    /loncom/html/adm/lonIcons	arrow.up.gif 

  Modified files:              
    /doc/loncapafiles	loncapafiles.lpml 
    /loncom/interface	lonindexer.pm 
  Log:
  Changed the arrow-icon for sequences, and some little changes on displaying the content in the data-table.
  
  
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.632 doc/loncapafiles/loncapafiles.lpml:1.633
--- doc/loncapafiles/loncapafiles.lpml:1.632	Tue Mar  3 12:10:40 2009
+++ doc/loncapafiles/loncapafiles.lpml	Tue Mar 17 22:27:32 2009
@@ -2,7 +2,7 @@
  "http://lpml.sourceforge.net/DTD/lpml.dtd">
 <!-- loncapafiles.lpml -->
 
-<!-- $Id: loncapafiles.lpml,v 1.632 2009/03/03 12:10:40 foxr Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.633 2009/03/17 22:27:32 schulted Exp $ -->
 
 <!--
 
@@ -5555,6 +5555,7 @@
 angry.gif;
 arrow.closed.gif;
 arrow.open.gif;
+arrow.up.gif;
 arrow_up.gif;
 arrow_white.png;
 avi.gif;
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.190 loncom/interface/lonindexer.pm:1.191
--- loncom/interface/lonindexer.pm:1.190	Tue Mar 17 20:07:45 2009
+++ loncom/interface/lonindexer.pm	Tue Mar 17 22:27:44 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.190 2009/03/17 20:07:45 schulted Exp $
+# $Id: lonindexer.pm,v 1.191 2009/03/17 22:27:44 schulted Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1021,9 +1021,11 @@
 	    my $anchor = $curdir;
 	    $anchor =~ s/\W//g;
 	    $r->print ('<input type="hidden" name="acts" value="" />');
-	    $r->print ('<a name="'.$anchor.'"></a><input src="'.$iconpath.
-		       'arrow'.($nowOpen ? "open" : "closed" ).'.gif"');
-	    $r->print (' name="'.$msg.'" type="image" class="LC_icon" />'.
+	    $r->print ('<a name="'.$anchor.'"></a>');
+            $r->print ('<a href="#" onClick="document.dirpath'.($dnum-1).'.submit()">');
+            $r->print ('<img src="'.$iconpath.'arrow.'.($nowOpen ? "open" : "closed" ).
+                       '.gif" class="LC_icon"');
+	    $r->print (' name="'.$msg.'" type="image" class="LC_icon" /></a>'.
 		       "\n");
 	}
 # Filetype icons
@@ -1059,7 +1061,7 @@
 
 	if ($hash{'display_attrs_4'} == 1) {
 	    my $author = &Apache::lonnet::metadata($filelink,'author');
-	    $r->print('<td> '.($author eq '' ? '&nbsp;' : $author).
+	    $r->print('<td class="LC_nobreak"> '.($author eq '' ? '&nbsp;' : $author).
 		      " </td>\n");
 	}
 	if ($hash{'display_attrs_5'} == 1) {