Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
upload.php
Go to the documentation of this file.
1 <?php
8 ?>
9 <div>
10  <label><?php echo elgg_echo("avatar:upload"); ?></label><br />
11  <?php echo elgg_view("input/file",array('name' => 'avatar')); ?>
12 </div>
13 <div class="elgg-foot">
14  <?php echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $vars['entity']->guid)); ?>
15  <?php echo elgg_view('input/submit', array('value' => elgg_echo('upload'))); ?>
16 </div>
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$vars['entity']
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342