Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/login/change_password.php File Reference

Go to the source code of this file.

Namespaces

namespace  core

Variables

 $id = optional_param('id', SITEID, PARAM_INT)
 $return = optional_param('return', 0, PARAM_BOOL)
if($return) $strparticipants = get_string('participants')
 $systemcontext = get_context_instance(CONTEXT_SYSTEM)
if(!$course=$DB->get_record('course',
array('id'=> $id))) if(!isloggedin()
or isguestuser()) if(!get_user_preferences('auth_forcepasswordchange',
false)) if(session_is_loggedinas())
if(is_mnet_remote_user($USER)) 
$userauth = get_auth_plugin($USER->auth)
if(!$userauth->
can_change_password()) if($changeurl=$userauth->
change_password_url()) 
$mform = new login_change_password_form()
 $navlinks = array()
 $navlinks [] = array('name' => $strparticipants, 'link' => "$CFG->wwwroot/user/index.php?id=$course->id", 'type' => 'misc')
 $strchangepassword = get_string('changepassword')
 $fullname = fullname($USER, true)

Variable Documentation

$fullname = fullname($USER, true)

Definition at line 140 of file change_password.php.

Definition at line 30 of file change_password.php.

if (!$userauth->can_change_password()) if ($changeurl=$userauth->change_password_url()) $mform = new login_change_password_form()

Definition at line 99 of file change_password.php.

$navlinks = array()

Definition at line 102 of file change_password.php.

$navlinks[] = array('name' => $strparticipants, 'link' => "$CFG->wwwroot/user/index.php?id=$course->id", 'type' => 'misc')

Definition at line 103 of file change_password.php.

$return = optional_param('return', 0, PARAM_BOOL)

Definition at line 31 of file change_password.php.

$strchangepassword = get_string('changepassword')

Definition at line 138 of file change_password.php.

if ($return) $strparticipants = get_string('participants')

Definition at line 53 of file change_password.php.

Definition at line 55 of file change_password.php.

if (!$course=$DB->get_record('course', array('id'=> $id))) if (!isloggedin() or isguestuser()) if (!get_user_preferences('auth_forcepasswordchange', false)) if (session_is_loggedinas()) if (is_mnet_remote_user($USER)) $userauth = get_auth_plugin($USER->auth)

Definition at line 88 of file change_password.php.

 All Data Structures Namespaces Files Functions Variables Enumerations