From 9848b01be937643f79b518246cabfb0d8600e4be Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 9 Jul 2008 12:23:54 +0000 Subject: new avatar crop page and instructions git-svn-id: https://code.elgg.org/elgg/trunk@1354 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/editicon.php | 135 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 120 insertions(+), 15 deletions(-) (limited to 'mod/profile/editicon.php') diff --git a/mod/profile/editicon.php b/mod/profile/editicon.php index 3dc10cc21..0ab550eee 100644 --- a/mod/profile/editicon.php +++ b/mod/profile/editicon.php @@ -1,29 +1,134 @@ + * @author Curverider * @copyright Curverider Ltd 2008 * @link http://elgg.com/ + * + * @uses $vars['entity'] The user entity + * @uses $vars['profile'] Profile items from $CONFIG->profile, defined in profile/start.php for now */ - // Load the Elgg framework - require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); - - // Make sure we're logged in - if (!isloggedin()) forward(); +?> + + + +

+ +
- // set title - $area1 = elgg_view_title(elgg_echo('profile:createicon:header')); - $area1 .= elgg_view("profile/editicon"); + + username . "/medium/" . $_SESSION['user']->icontime . ".jpg"; + echo "\"avatar\""; + + ?> + +
+ +
+
+


+ + 'profileicon')); - // Draw the page - page_draw(elgg_echo("profile:editicon"),$body); + ?> +
" /> +

+
+
+ +
+
+

+username . "/master/" . $_SESSION['user']->icontime . ".jpg"; + +?> +

+ + +

+<?php echo elgg_echo(" /> +

+ +
+ +
+ + + + + + " /> +
+ +
+
-?> \ No newline at end of file -- cgit v1.2.3