API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
namespace | profile |
Variables | |
$xoopsOption ['pagetype'] = 'user' | |
$config_handler = xoops_getHandler('config') | |
$GLOBALS ['xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER) | |
if(! $GLOBALS['xoopsUser']|| $GLOBALS['xoopsConfigUser']['allow_chgmail'] !=1) | $GLOBALS ['xoopsOption']['template_main'] = 'profile_email.tpl' |
if(!isset($_POST['submit'])||!isset($_POST['passwd'])) | else |
$pass = @$myts->stripSlashesGPC(trim($_POST['passwd'])) | |
$email = @$myts->stripSlashesGPC(trim($_POST['newmail'])) | |
$errors = array() | |
$member_handler = xoops_getHandler('member') | |
$xoBreadcrumbs [] = array('title' => _PROFILE_MA_CHANGEMAIL) | |
$config_handler = xoops_getHandler('config') |
$email = @$myts->stripSlashesGPC(trim($_POST['newmail'])) |
$errors = array() |
$GLOBALS[ 'xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER) |
if (! $GLOBALS[ 'xoopsUser']||$GLOBALS[ 'xoopsConfigUser'][ 'allow_chgmail'] !=1) $GLOBALS[ 'xoopsOption'][ 'template_main'] = 'profile_email.tpl' |
$member_handler = xoops_getHandler('member') |
$pass = @$myts->stripSlashesGPC(trim($_POST['passwd'])) |
$xoBreadcrumbs[] = array('title' => _PROFILE_MA_CHANGEMAIL) |
$xoopsOption[ 'pagetype'] = 'user' |
if ( $member_handler->insertUser( $GLOBALS[ 'xoopsUser'])) else |