]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861xhtml strict fixes - site main menu
authorskodak <skodak>
Tue, 9 Jan 2007 00:18:37 +0000 (00:18 +0000)
committerskodak <skodak>
Tue, 9 Jan 2007 00:18:37 +0000 (00:18 +0000)
blocks/site_main_menu/block_site_main_menu.php

index ad0691a60ad516ee7d613cc91a645828c6ed5758..48d33d79b4f9ab1850a2a65187b49d6d980046d9 100644 (file)
@@ -87,7 +87,7 @@ class block_site_main_menu extends block_list {
                             continue;
                         }
                         $this->content->items[] = '<a title="'.$strmovefull.'" href="'.$CFG->wwwroot.'/course/mod.php?moveto='.$mod->id.'&amp;sesskey='.$USER->sesskey.'">'.
-                            '<img height="16" width="80" src="'.$CFG->pixpath.'/movehere.gif" alt="'.$strmovehere.'" border="0" /></a>';
+                            '<img style="height:16px; width:80px; border:0px" src="'.$CFG->pixpath.'/movehere.gif" alt="'.$strmovehere.'" /></a>';
                         $this->content->icons[] = '';
                    }
                     $instancename = urldecode($modinfo[$modnumber]->name);
@@ -119,7 +119,7 @@ class block_site_main_menu extends block_list {
 
         if ($ismoving) {
             $this->content->items[] = '<a title="'.$strmovefull.'" href="'.$CFG->wwwroot.'/course/mod.php?movetosection='.$section->id.'&amp;sesskey='.$USER->sesskey.'">'.
-                                      '<img height="16" width="80" src="'.$CFG->pixpath.'/movehere.gif" alt="'.$strmovehere.'" border="0" /></a>';
+                                      '<img style="height:16px; width:80px; border:0px" src="'.$CFG->pixpath.'/movehere.gif" alt="'.$strmovehere.'" /></a>';
             $this->content->icons[] = '';
         }