Elgg  Version 2.3
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>
if($guid==elgg_get_logged_in_user_guid()) $name
Definition: delete.php:21
$method
Definition: form.php:25
$action
Definition: form.php:18
elgg river item form
$body
Definition: form.php:29
elgg echo
Translates a string.
Definition: languages.js:48
$vars
Definition: form.php:23
elgg action
Definition: ajax.js:200