From 9666a699b2b55e22256a2e786e2c5647b817c7f0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 21 Sep 2004 18:57:30 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4214 --- checkin_notes | 8 +++++++- html/inc/profile.inc | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/checkin_notes b/checkin_notes index 58b3aabaa4..54fa68594e 100755 --- a/checkin_notes +++ b/checkin_notes @@ -17487,7 +17487,7 @@ Lana 20 Sept 2004 - Fixed create_work bug. Copy input text files to the download directories tools/ - backend_lib.C + backend_lib.C Rom 20 Sept 2004 - NEWGUI: Refactor all view logic to accommodate the new task based interface. @@ -17497,3 +17497,9 @@ Rom 20 Sept 2004 clientgui/ + +David 21 Sept 2004 + - fixed profile image upload (from Matt) + + html/inc/ + profile.inc diff --git a/html/inc/profile.inc b/html/inc/profile.inc index 6aad98ecfa..7dd684a4ad 100644 --- a/html/inc/profile.inc +++ b/html/inc/profile.inc @@ -58,11 +58,11 @@ function show_profile_creation_page($user) { function setup_form($user, $profile) { - //
+ // // multipart/form-data doesn't always work (?) echo " - + "; } @@ -206,7 +206,7 @@ function process_create_results($user, $profile) { if (is_uploaded_file($_FILES['picture']['tmp_name'])) { $hasPicture = true; - /* + /* echo "
Name: " . $_FILES['picture']['name']; echo "
Type: " . $_FILES['picture']['type']; echo "
Size: " . $_FILES['picture']['size'];