Example #1
0
$middleName = stripslashes($this->profile->get('middleName'));
if (!$surname) {
    $bits = explode(' ', $name);
    $surname = array_pop($bits);
    if (count($bits) >= 1) {
        $givenName = array_shift($bits);
    }
    if (count($bits) >= 1) {
        $middleName = implode(' ', $bits);
    }
}
$incomplete = false;
$authenticator = 'hub';
if (substr($this->profile->get('email'), -8) == '@invalid') {
    $authenticator = Lang::txt('COM_MEMBERS_UNKNOWN');
    if ($lnk = Hubzero\Auth\Link::find_by_id(abs($this->profile->get('username')))) {
        $domain = Hubzero\Auth\Domain::find_by_id($lnk->auth_domain_id);
        $authenticator = $domain->authenticator;
    }
    $incomplete = true;
}
?>
<div class="grid">
	<div class="col span7">
		<fieldset class="adminform">
			<legend><span><?php 
echo Lang::txt('Account Details');
?>
</span></legend>

			<div class="input-wrap" data-hint="<?php 
Example #2
0
            $task = 'confirm';
            $img = 'publish_x.png';
            $alt = Lang::txt('JNO');
            $state = 'unpublish';
            break;
    }
    $groups = array();
    foreach ($row->accessgroups as $agroup) {
        $groups[] = $this->accessgroups->seek($agroup->get('group_id'))->get('title');
    }
    $row->set('group_names', implode('<br />', $groups));
    $incomplete = false;
    $authenticator = 'hub';
    if (substr($row->get('email'), -8) == '@invalid') {
        $authenticator = Lang::txt('COM_MEMBERS_UNKNOWN');
        if ($lnk = Hubzero\Auth\Link::find_by_id(abs($row->get('username')))) {
            $domain = Hubzero\Auth\Domain::find_by_id($lnk->auth_domain_id);
            $authenticator = $domain->authenticator;
        }
        $incomplete = true;
    }
    ?>
			<tr class="<?php 
    echo "row{$k}";
    ?>
">
				<td>
					<?php 
    if ($canEdit) {
        ?>
						<input type="checkbox" name="id[]" id="cb<?php