This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
aktiv-web/wp-content/themes/aktiv2014/page-profile.php
T

44 lines
1.2 KiB
PHP

<?php
/*
* Template Name: User profile
*/
get_header();
$user = wp_get_current_user();
?>
<div class="container profile">
<h1 class="page-title">Min aktivprofil</h1>
<div class="profile-details">
<div class="inner">
<h5><?php echo $user->display_name; ?></h5>
<ul>
<li><strong>Epost:</strong> <?php echo $user->user_email; ?></li>
<li><strong>Medlemskapsstatus</strong>: <span class="is-member"></span></li>
<li><strong>Rolle på aktiv.neuf.no:</strong> <?php echo $user->roles[0]; ?></li>
</ul>
<p>
<em>Endre navn, epost, med mer via <a href="https://inside.studentersamfundet.no">Inside</a></em>.
</p>
<h5>Profilbilde</h5>
<p><a href="https://nb.gravatar.com"><img src="<?php echo get_grav_url($user); ?>" title="Endre profilbildet ditt på gravatar.com" /> Endre profilbilde</a></p>
<h5>Passord</h5>
<p>Endre passordet ditt via <a href="https://brukerinfo.neuf.no">Brukerinfo</a>.</p>
<p></p>
</div>
</div>
<div class="account-details">
<div class="inner">
<h5>Gruppemedlemskap</h5>
<ul class="group-list">
</ul>
</div>
</div>
</div> <!-- .container -->
<?php
get_footer();
?>