From: Chris S. <san...@us...> - 2006-01-30 09:25:50
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5826/scripts Modified Files: stackQuestion.php Log Message: Index: stackQuestion.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackQuestion.php,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** stackQuestion.php 27 Jan 2006 11:42:10 -0000 1.57 --- stackQuestion.php 30 Jan 2006 09:25:42 -0000 1.58 *************** *** 1,5 **** <?php ! /** * This file contains most functions which deal with questions. These are the * everyday functions used by students, and it is rare indeed that this file is not --- 1,5 ---- <?php ! /** * This file contains most functions which deal with questions. These are the [...2127 lines suppressed...] } --- 2403,2420 ---- $question['questionPublisher'] = $stack_web_url; $question['type'] = 'question'; ! if (empty($remoteUser)) { $question['questionUserLastEdited'] = $user['firstname']." ".$user['lastname']; ! if ($user['email']!='') { //<TODO: need to somehow retrieve the RQP user who is making new question $question['questionUserLastEdited'].=' <'.$user['email'].'>'; } } ! else { $question['questionUserLastEdited'] = $remoteUser; } ! return $question; } |