mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
XHTML little changes...
Anyway the new tabs seem to break XHTML (div inside span)??
This commit is contained in:
parent
0f92d79367
commit
c0260a6f35
@ -177,9 +177,9 @@
|
||||
$switchclick = get_string('emaildisableclick');
|
||||
$switchpix = 'email.gif';
|
||||
}
|
||||
$emailswitch = " <a title=\"$switchclick\" ".
|
||||
"href=\"view.php?id=$user->id&course=$course->id&$switchparam=1\">".
|
||||
"<img border=\"0\" width=11 height=11 src=\"$CFG->pixpath/t/$switchpix\"></a>";
|
||||
$emailswitch = " <a title=\"$switchclick\" ".
|
||||
"href=\"view.php?id=$user->id&course=$course->id&$switchparam=1\">".
|
||||
"<img border=\"0\" width=\"11\" height=\"11\" src=\"$CFG->pixpath/t/$switchpix\" alt=\"\" /></a>";
|
||||
|
||||
} else if ($currentuser) { /// Can only re-enable an email this way
|
||||
if ($user->emailstop) { // Include link that tells how to re-enable their email
|
||||
@ -187,8 +187,8 @@
|
||||
$switchtitle = get_string('emaildisable');
|
||||
$switchclick = get_string('emailenableclick');
|
||||
|
||||
$emailswitch = " (<a title=\"$switchclick\" ".
|
||||
"href=\"view.php?id=$user->id&course=$course->id&enable=1\">$switchtitle</a>)";
|
||||
$emailswitch = " (<a title=\"$switchclick\" ".
|
||||
"href=\"view.php?id=$user->id&course=$course->id&enable=1\">$switchtitle</a>)";
|
||||
}
|
||||
}
|
||||
|
||||
@ -229,7 +229,7 @@
|
||||
}
|
||||
|
||||
if ($user->lastaccess) {
|
||||
$datestring = userdate($user->lastaccess)."  (".format_time(time() - $user->lastaccess).")";
|
||||
$datestring = userdate($user->lastaccess)." (".format_time(time() - $user->lastaccess).")";
|
||||
} else {
|
||||
$datestring = get_string("never");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user