Example #1
0
        print aaap_print_helper($user_profile, 'field_head_admin_info');
        ?>
</div>
        </div>
        <?php 
    }
    ?>
        <div class="field_custom_profile">
            <label>To whom do you report? </label>
            <div class="value_custom_profile"><?php 
    print aaap_print_helper($user_profile, 'field_to_whom_do_you_report');
    ?>
</div>
        </div>
        <?php 
    if (aaap_access_private_profile(false)) {
        ?>
        <div class="field_custom_profile request">
            <div class="value_custom_profile"><a class="button_request" onclick="return confirm('Are you sure you want to request a membership change?'); "href="/request-to/adjunct/<?php 
        print $user->uid;
        ?>
">Request Adjunct Membership ></a></div>
            <div class="value_custom_profile"><a class="button_request" onclick="return confirm('Are you sure you want to request a membership change?');" href="/request-to/emeritus/<?php 
        print $user->uid;
        ?>
">Request Emeritus Membership ></a></div>
        </div>
         <?php 
    }
    ?>
    </div>
Example #2
0
            <div class="field_custom_profile request">
                <div class="value_custom_profile"><a class="button_request" href="/welcome/<?php 
    print $user->uid;
    ?>
">Send
                        Welcome Email ></a></div>
            </div>
        <?php 
}
?>

    </div>



    <?php 
if (aaap_access_private_profile(true)) {
    ?>
        <a href="/user/<?php 
    print $user->uid;
    ?>
/edit" class="button_profile_action">Update Profile / Change
            Password</a>
    <?php 
}
?>
    <?php 
//dsm($user_profile);
?>
</div>