_("Please select..."), 'S' => "S", 'M' => "M", 'L' => "L", 'XL' => "XL", '2XL' => "2XL", '3XL' => "3XL", '4XL' => "4XL", '5XL' => "5XL", 'S-G' => "S Girl", 'M-G' => "M Girl", 'L-G' => "L Girl", 'XL-G' => "XL Girl" ); /** * View for password recovery step 1: E-Mail */ function User_password_recovery_view() { return page(array( msg(), _("We will send you an e-mail with a password recovery link. Please use the email address you used for registration."), form(array( form_text('email', _("E-Mail"), ""), form_submit('submit', _("Recover")) )) )); } /** * View for password recovery step 2: New password */ function User_password_set_view() { return page(array( msg(), _("Please enter a new password."), form(array( form_password('password', _("Password")), form_password('password2', _("Confirm password")), form_submit('submit', _("Save")) )) )); } /** * Render a users avatar. * * @param User $user * @return string */ function User_Avatar_render($user) { return '