Elgg  Version 1.9
changepassword.php
Go to the documentation of this file.
1 <?php
6 $text = elgg_autop(elgg_echo('user:changepassword:change_password_confirm'));
7 
8 $password1_label = elgg_echo('user:password:label');
9 $password1 = elgg_view('input/password', array(
10  'name' => 'password1',
11 ));
12 
13 $password2_label = elgg_echo('user:password2:label');
14 $password2 = elgg_view('input/password', array(
15  'name' => 'password2',
16 ));
17 
18 $u = elgg_view('input/hidden', array(
19  'name' => 'u',
20  'value' => $vars['guid'],
21 ));
22 
23 $c = elgg_view('input/hidden', array(
24  'name' => 'c',
25  'value' => $vars['code'],
26 ));
27 
28 $submit = elgg_view('input/submit', array(
29  'value' => elgg_echo('changepassword')
30 ));
31 
32 echo <<<HTML
33 $text
36 <div class="elgg-foot">
37 $u $c
38 $submit
39 </div>
40 HTML;
41 
$password1
$text
Reset user password form.
fieldset div
Definition: admin.php:462
$submit
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_autop($string)
Create paragraphs from text with line spacing.
Definition: output.php:56
$password1_label
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$password2_label
$password2
label
Definition: admin.php:452
if(file_exists($welcome)) $vars
Definition: upgrade.php:93