aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/avatar/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms/avatar/upload.php')
-rw-r--r--views/default/forms/avatar/upload.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/forms/avatar/upload.php b/views/default/forms/avatar/upload.php
new file mode 100644
index 000000000..733e2996c
--- /dev/null
+++ b/views/default/forms/avatar/upload.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Avatar upload form
+ *
+ * @uses $vars['entity']
+ */
+
+echo elgg_view('input/hidden', array('internalname' => 'guid', 'value' => $vars['entity']->guid));
+?>
+<p>
+ <label><?php echo elgg_echo("profile:editicon"); ?></label><br />
+ <?php echo elgg_view("input/file",array('internalname' => 'avatar')); ?>
+<br />
+ <?php echo elgg_view('input/submit', array('value' => elgg_echo('upload'))); ?>
+</p>