From: <lu...@us...> - 2005-07-08 22:23:14
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4100 Modified Files: tiki-user_information.php tiki-user_preferences.php Log Message: gender field to user info (finished who someone started) Index: tiki-user_information.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-user_information.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- tiki-user_information.php 18 May 2005 10:58:59 -0000 1.28 +++ tiki-user_information.php 8 Jul 2005 22:23:02 -0000 1.29 @@ -89,11 +89,13 @@ $smarty->assign_by_ref('user_language',$user_language); $smarty->assign_by_ref('user_style',$user_style); $realName = $tikilib->get_user_preference($userwatch,'realName',''); +$gender = $tikilib->get_user_preference($userwatch,'gender',''); $country = $tikilib->get_user_preference($userwatch,'country','Other'); $smarty->assign('country',$country); $anonpref = $tikilib->get_preference('userbreadCrumb',4); $userbreadCrumb = $tikilib->get_user_preference($userwatch,'userbreadCrumb',$anonpref); $smarty->assign_by_ref('realName',$realName); +$smarty->assign_by_ref('gender',$gender); $smarty->assign_by_ref('userbreadCrumb',$userbreadCrumb); $homePage = $tikilib->get_user_preference($userwatch,'homePage',''); Index: tiki-user_preferences.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-user_preferences.php,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- tiki-user_preferences.php 26 Jun 2005 14:28:28 -0000 1.69 +++ tiki-user_preferences.php 8 Jul 2005 22:23:03 -0000 1.70 @@ -143,6 +143,9 @@ if (isset($_REQUEST["realName"])) $tikilib->set_user_preference($userwatch, 'realName', $_REQUEST["realName"]); + if (isset($_REQUEST["gender"])) + $tikilib->set_user_preference($userwatch, 'gender', $_REQUEST["gender"]); + if (isset($_REQUEST["homePage"])) $tikilib->set_user_preference($userwatch, 'homePage', $_REQUEST["homePage"]); |