API - XOOPS 2.5.11 Beta 2
By monxoops.fr
changemail.php File Reference

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)
 

Variable Documentation

◆ $config_handler

$config_handler = xoops_getHandler('config')

◆ $email

$email = @$myts->stripSlashesGPC(trim($_POST['newmail']))

◆ $errors

$errors = array()

◆ $GLOBALS [1/2]

$GLOBALS[ 'xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER)

◆ $GLOBALS [2/2]

if (! $GLOBALS[ 'xoopsUser']||$GLOBALS[ 'xoopsConfigUser'][ 'allow_chgmail'] !=1) $GLOBALS[ 'xoopsOption'][ 'template_main'] = 'profile_email.tpl'

◆ $member_handler

$member_handler = xoops_getHandler('member')

◆ $pass

$pass = @$myts->stripSlashesGPC(trim($_POST['passwd']))

◆ $xoBreadcrumbs

$xoBreadcrumbs[] = array('title' => _PROFILE_MA_CHANGEMAIL)

◆ $xoopsOption

$xoopsOption[ 'pagetype'] = 'user'

◆ else

if ( $member_handler->insertUser( $GLOBALS[ 'xoopsUser'])) else
Initial value:
{
static getInstance()
Definition: module.textsanitizer.php:237
if(!empty( $_GET[ 'op'])) elseif(!empty($_POST['op'])) $myts
Definition: xoopsemotions.php:49