Permalink
Browse files

Making file XHTML 1.0 Transitional compliant...

  • Loading branch information...
1 parent 8bd84b4 commit 3cb4dc42028a2901d004390db789564d320814de mchurch committed Sep 8, 2004
Showing with 5 additions and 4 deletions.
  1. +5 −4 enrol/enrol.class.php
@@ -311,13 +311,14 @@ function get_access_icons($course) {
if ($course->guest) {
$strallowguests = get_string("allowguests");
- $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 .= '<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;';
}
if ($course->password) {
$strrequireskey = get_string("requireskey");
- $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 .= '<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>';
}
return $str;

0 comments on commit 3cb4dc4

Please sign in to comment.