From 9ac841f26e05af3515643e44eb5fde30bcfb1b75 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 18 Dec 2010 20:15:24 +0000 Subject: moved the avatar forms and actions into core from profile plugin git-svn-id: http://code.elgg.org/elgg/trunk@7670 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/forms/avatar/crop.php | 71 +++++++++++++++++++++++++++++++++++ views/default/forms/avatar/upload.php | 15 ++++++++ 2 files changed, 86 insertions(+) create mode 100644 views/default/forms/avatar/crop.php create mode 100644 views/default/forms/avatar/upload.php (limited to 'views/default/forms/avatar') diff --git a/views/default/forms/avatar/crop.php b/views/default/forms/avatar/crop.php new file mode 100644 index 000000000..1082ab803 --- /dev/null +++ b/views/default/forms/avatar/crop.php @@ -0,0 +1,71 @@ +getIcon('master'); + +?> +

+ +

+

+ <?php echo elgg_echo('avatar'); ?> +

+ +
+ $coord, 'value' => $vars['entity']->$coord)); +} + +echo elgg_view('input/hidden', array('internalname' => 'guid', 'value' => $vars['entity']->guid)); + +echo elgg_view('input/submit', array('value' => elgg_echo('avatar:create'))); + +?> + + + + 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 @@ + 'guid', 'value' => $vars['entity']->guid)); +?> +

+
+ 'avatar')); ?> +
+ elgg_echo('upload'))); ?> +

-- cgit v1.2.3