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

raeburn raeburn@source.lon-capa.org
Sat, 14 Aug 2010 00:20:06 -0000


raeburn		Sat Aug 14 00:20:06 2010 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - xhtml.
    - eliminate extra </p>
    - <img> tag needs onlick instead of href attrib; eliminate extra class attrib.  
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.430 loncom/interface/londocs.pm:1.431
--- loncom/interface/londocs.pm:1.430	Sat Aug 14 00:00:29 2010
+++ loncom/interface/londocs.pm	Sat Aug 14 00:20:06 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.430 2010/08/14 00:00:29 raeburn Exp $
+# $Id: londocs.pm,v 1.431 2010/08/14 00:20:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1612,7 +1612,7 @@
 		  ($ishidden?'<li>&bull;&nbsp;'.&mt('contents hidden').'</li>':'').
 		  ($isencrypted?'<li>&bull;&nbsp;'.&mt('URLs hidden').'</li>':'').
 		  ($is_random_order?'<li>&bull;&nbsp;'.&mt('random order').'</li>':'').
-		  '</ol></p>');
+		  '</ol>');
         if ($randompick>=0) {
             $r->print('<p class="LC_warning">'
                  .&mt('Caution: this folder is set to randomly pick a subset'
@@ -3504,7 +3504,7 @@
   if($dumpbut ne ''){
   push @list, {'<img class="LC_noBorder LC_middle" src="/res/adm/pages/dump.png" alt="'.$lt{dcd}.'" />'=>$dumpbut};
   }
-  push @list, ({'<img class="LC_noBorder LC_middle" src="/res/adm/pages/imsexport.png" alt="'.$lt{imse}.'" class="LC_menubuttons_link" href=\'javascript:injectData(document.courseverify, "dummy", "exportcourse", "'.&mt('IMS Export').'")\' />'
+  push @list, ({'<img class="LC_noBorder LC_middle" src="/res/adm/pages/imsexport.png" alt="'.$lt{imse}.'" onclick="javascript:injectData(document.courseverify, \'dummy\', \'exportcourse\', \''.&mt('IMS Export').'\');" />'
           =>$exportbut},
 	{'<img class="LC_noBorder LC_middle" src="/res/adm/pages/symbs.png" alt="'.$lt{ls}.'"  onclick=\'javascript:injectData(document.courseverify, "dummy", "listsymbs", "'.$lt{'ls'}.'")\'  />'
         =>"<a class='LC_menubuttons_link' href='javascript:injectData(document.courseverify, \"dummy\", \"listsymbs\", \"$lt{'ls'}\")'>$lt{'ls'}</a><input type='hidden' name='folder' value='$env{'form.folder'}' />"},