From 4dd738aaae52c264d5a19fd245cdd415ca8e43dc Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 9 Jul 2008 18:11:09 +0000 Subject: Restoring old edit icon page git-svn-id: https://code.elgg.org/elgg/trunk@1378 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/editicon.php | 135 ++++++----------------------------------------- 1 file changed, 15 insertions(+), 120 deletions(-) (limited to 'mod/profile') diff --git a/mod/profile/editicon.php b/mod/profile/editicon.php index 0ab550eee..3dc10cc21 100644 --- a/mod/profile/editicon.php +++ b/mod/profile/editicon.php @@ -1,134 +1,29 @@ * @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 */ -?> - - - -

- -
- - - username . "/medium/" . $_SESSION['user']->icontime . ".jpg"; - echo "\"avatar\""; + // Make sure we're logged in + if (!isloggedin()) forward(); - ?> - -
- -
-
-


- - 'profileicon')); + // set title + $area1 = elgg_view_title(elgg_echo('profile:createicon:header')); + $area1 .= elgg_view("profile/editicon"); - ?> -
" /> -

-
-
- -
-
-

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

- - -

-<?php echo elgg_echo(" /> -

- -
- -
- - - - - - " /> -
- -
-
+ // Get the form and correct canvas area + $body = elgg_view_layout("one_column", $area1); + + // Draw the page + page_draw(elgg_echo("profile:editicon"),$body); +?> \ No newline at end of file -- cgit v1.2.3