Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
forms
user
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
34
<
div
><
label
>
$password1_label
</
label
>
$password1
</
div
>
35
<
div
><
label
>
$password2_label
</
label
>
$password2
</
div
>
36
<
div
class
=
"elgg-foot"
>
37
$u
$c
38
$submit
39
</div>
40
HTML;
41
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$password1
$password1
Definition:
changepassword.php:9
$text
$text
Reset user password form.
Definition:
changepassword.php:6
$c
$c
Definition:
changepassword.php:23
$vars
$vars['entity']
Definition:
plugin_settings.php:15
$submit
$submit
Definition:
changepassword.php:28
elgg_autop
elgg_autop($string)
Create paragraphs from text with line spacing.
Definition:
output.php:46
$password1_label
$password1_label
Definition:
changepassword.php:8
label
label
Definition:
admin.css.php:464
div
fieldset div
Definition:
admin.css.php:485
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
$password2_label
$password2_label
Definition:
changepassword.php:13
$u
$u
Definition:
changepassword.php:18
$password2
$password2
Definition:
changepassword.php:14
Generated on Sat Dec 21 2024 00:01:03 for Elgg by
1.8.11