From: <dj...@us...> - 2012-01-16 12:14:35
|
Revision: 8739 http://xoops.svn.sourceforge.net/xoops/?rev=8739&view=rev Author: djculex Date: 2012-01-16 12:14:29 +0000 (Mon, 16 Jan 2012) Log Message: ----------- Enable user to change his profile while under inspection by admin Modified Paths: -------------- XoopsModules/smallworld/trunk/editprofile.php XoopsModules/smallworld/trunk/register.php Modified: XoopsModules/smallworld/trunk/editprofile.php =================================================================== --- XoopsModules/smallworld/trunk/editprofile.php 2012-01-16 10:22:09 UTC (rev 8738) +++ XoopsModules/smallworld/trunk/editprofile.php 2012-01-16 12:14:29 UTC (rev 8739) @@ -32,11 +32,12 @@ $profile = $check->CheckIfProfile($id); // Check if inspected userid -> redirect to userprofile and show admin countdown + /* $inspect = isInspected ($id); if ($inspect['inspect'] == 'yes') { redirect_header("userprofile.php?username=".$xoopsUser->getVar('uname'), 1); } - + */ if ($profile > 0) { $xoopsTpl->assign('check',1); $item = new SmallWorldForm; Modified: XoopsModules/smallworld/trunk/register.php =================================================================== --- XoopsModules/smallworld/trunk/register.php 2012-01-16 10:22:09 UTC (rev 8738) +++ XoopsModules/smallworld/trunk/register.php 2012-01-16 12:14:29 UTC (rev 8739) @@ -33,10 +33,12 @@ $profile = $check->CheckIfProfile($id); // Check if inspected userid -> redirect to userprofile and show admin countdown + /* $inspect = isInspected ($id); if ($inspect['inspect'] == 'yes') { redirect_header("userprofile.php?username=".$xoopsUser->getVar('uname'), 1); } + */ if ($profile >= 1) { // Create basic user in db & redirect to editProfile.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |