if ($access->canViewProfOwn) { if ($mosConfig_sef != 2) { $query = "SELECT id FROM #__menu WHERE link='index.php?option=com_user&task=list'" ."\n AND published='1' AND ((language IS NULL) OR (language LIKE '%$lang%'))"; $database->setQuery($query, '#__', 1, 0); $_Itemid = intval($database->loadResult()); if (!$_Itemid) { $_Itemid = $Itemid; } $redLink = 'index.php?option=com_user&task=profile&uid='.$uid.'&Itemid='.$_Itemid; } else { $redLink = 'members/'.$row->username.'.html'; } mosRedirect ($redLink, _E_USRDET_SAVED); } else { mosRedirect ('index.php', _E_USRDET_SAVED); }
define('_E_AVATAR_TOO_LARGE','Your image was too large. Please try again with a smaller image.');