API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
namespace | profile |
Variables | |
$xoopsOption ['pagetype'] = 'user' | |
if(! $GLOBALS['xoopsUser']) | $GLOBALS ['xoopsOption']['template_main'] = 'profile_changepass.tpl' |
if(!isset($_POST['submit'])) | else |
$GLOBALS ['xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER) | |
$myts = MyTextSanitizer::getInstance() | |
$oldpass = @$myts->stripSlashesGPC(trim($_POST['oldpass'])) | |
$password = @$myts->stripSlashesGPC(trim($_POST['newpass'])) | |
$vpass = @$myts->stripSlashesGPC(trim($_POST['vpass'])) | |
$errors = array() | |
$member_handler = xoops_getHandler('member') | |
$msg = _PROFILE_MA_ERRORDURINGSAVE | |
$errors = array() |
$GLOBALS[ 'xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER) |
if (! $GLOBALS[ 'xoopsUser']) $GLOBALS[ 'xoopsOption'][ 'template_main'] = 'profile_changepass.tpl' |
$member_handler = xoops_getHandler('member') |
$msg = _PROFILE_MA_ERRORDURINGSAVE |
$myts = MyTextSanitizer::getInstance() |
$oldpass = @$myts->stripSlashesGPC(trim($_POST['oldpass'])) |
$password = @$myts->stripSlashesGPC(trim($_POST['newpass'])) |
$vpass = @$myts->stripSlashesGPC(trim($_POST['vpass'])) |
$xoopsOption[ 'pagetype'] = 'user' |