[phpwebapp-commits] CVS: top10/templates/confirm confirm.php,1.7.2.1,1.7.2.2
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-02-02 13:57:00
|
Update of /cvsroot/phpwebapp/top10/templates/confirm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3389/templates/confirm Modified Files: Tag: maisp confirm.php Log Message: Index: confirm.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/confirm/confirm.php,v retrieving revision 1.7.2.1 retrieving revision 1.7.2.2 diff -C2 -d -r1.7.2.1 -r1.7.2.2 *** confirm.php 14 Jan 2004 16:25:59 -0000 1.7.2.1 --- confirm.php 2 Feb 2004 13:54:58 -0000 1.7.2.2 *************** *** 101,104 **** --- 101,109 ---- switch ($type) { + case 'edit_user_data': + $username = $request["data"]; + $this->edit_user_data($username); + break; + case 'edit_proj_details': $username = $request["username"]; *************** *** 128,131 **** --- 133,144 ---- } + function edit_user_data($username) + { + //display the 'edituser' module + $this->setSVar("file", "{{TPL_PATH}}edituser/edituser.html"); + WebApp::setSVar("edituser->mode", "edit"); + WebApp::setSVar("edituser->username", $username); + } + function edit_project_details($username, $proj_id) { |