mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21119 lang menu and login info now handled by themes
This commit is contained in:
parent
684b988c94
commit
244a32c617
26 changed files with 155 additions and 187 deletions
|
@ -2169,6 +2169,23 @@ function print_footer($course = NULL, $usercourse = NULL, $return = false) {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns text to be displayed to the user which reflects their login status
|
||||
*
|
||||
* @global object
|
||||
* @global object
|
||||
* @global object
|
||||
* @global object
|
||||
* @uses CONTEXT_COURSE
|
||||
* @param course $course {@link $COURSE} object containing course information
|
||||
* @param user $user {@link $USER} object containing user information
|
||||
* @return string HTML
|
||||
*/
|
||||
function user_login_string($course='ignored', $user='ignored') {
|
||||
debugging('user_login_info() has been deprecated. User login info is now handled via themes layouts.');
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints a nice side block with an optional header. The content can either
|
||||
* be a block of HTML or a list of text with optional icons.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue