Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
installation
input
form.php
Go to the documentation of this file.
1
<?php
11
if
(isset(
$vars
[
'name'
])) {
12
$name
=
"name=\"{$vars['name']}\""
;
13
}
else
{
14
$name
=
''
;
15
}
16
17
$body
=
$vars
[
'body'
];
18
$action
=
$vars
[
'action'
];
19
if
(isset(
$vars
[
'method'
])) {
20
$method
=
$vars
[
'method'
];
21
}
else
{
22
$method
=
'POST'
;
23
}
24
25
$method
= strtolower(
$method
);
26
27
?>
28
<form <?php echo $name; ?>
action
=
"<?php echo $action; ?>"
method=
"<?php echo $method; ?>"
>
29
<?php
echo
$body
; ?>
30
</
form
>
$name
if($guid==elgg_get_logged_in_user_guid()) $name
Definition:
delete.php:21
$method
$method
Definition:
form.php:25
$action
$action
Definition:
form.php:18
form
elgg river item form
Definition:
components.css.php:227
$body
$body
Definition:
form.php:29
echo
elgg echo
Translates a string.
Definition:
languages.js:48
$vars
$vars
Definition:
form.php:23
action
elgg action
Definition:
ajax.js:200
Generated on Mon Dec 2 2024 00:01:32 for Elgg by
1.8.11