]> git.mjollnir.org Git - moodle.git/commitdiff
XHTML Strict MDL-7861
authormoodler <moodler>
Thu, 4 Jan 2007 15:51:21 +0000 (15:51 +0000)
committermoodler <moodler>
Thu, 4 Jan 2007 15:51:21 +0000 (15:51 +0000)
enrol/manual/enrol.php

index 7bbe82fc4ad0d312e050fe0a0d75503c8146657b..741bdd81bfd3588e2eeb72a739c89ae59a619b3c 100644 (file)
@@ -357,12 +357,11 @@ function get_access_icons($course) {
 
     if (!empty($course->guest)) {
         $str .= '<a title="'.$strallowguests.'" href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">';
-        $str .= '<img vspace="4" alt="'.$strallowguests.'" height="16" width="16" border="0" '.
-                'src="'.$CFG->pixpath.'/i/guest.gif" /></a>&nbsp;&nbsp;';
+        $str .= '<img class="accessicon" alt="'.$strallowguests.'" src="'.$CFG->pixpath.'/i/guest.gif" /></a>&nbsp;&nbsp;';
     }
     if (!empty($course->password)) {
         $str .= '<a title="'.$strrequireskey.'" href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">';
-        $str .= '<img vspace="4" alt="'.$strrequireskey.'" height="16" width="16" border="0" src="'.$CFG->pixpath.'/i/key.gif" /></a>';
+        $str .= '<img class="accessicon" alt="'.$strrequireskey.'" src="'.$CFG->pixpath.'/i/key.gif" /></a>';
     }
 
     return $str;