Beispiel #1
0
<h2><?php 
__('My Dashboard');
?>
</h2>

<br />
<strong>Hello, <?php 
echo current_user_name();
?>
</strong>

<p>From your Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. 
    Select your place below to view or edit information.</p>

<div class="page-title">
    <h3>Account Information</h3>
</div>
<hr />
<div class="row-fluid">
    <div class="col-md-6">
        <h6>
            <strong>Profile</strong>    
            <small><?php 
_a('account/edit/' . user::id(), __('Edit', true), ' class="pull-right" ');
?>
</small>
        </h6>

        <p>
            <?php 
        <a data-toggle="dropdown" class="dropdown-toggle" href="javascript:void(0);">
            <span class="meta">
                <?php 
if (user::avatar()) {
    ?>
                    <span class="avatar">
                        <img alt="" class="img-circle"  src="<?php 
    echo user::avatar();
    ?>
">
                    </span>
                <?php 
}
?>
                <span class="text hidden-xs hidden-sm pr5 pl5"><?php 
__(current_user_name());
?>
</span>
                <span class="caret"></span>
            </span>
        </a>
        <ul role="menu" class="dropdown-menu dropdown-menu-right profile-dropdown" id="profile-panel">
            <li>
                <a>
                    <strong><?php 
__(ucfirst(user::username()));
?>
</strong>
                    <br />
                    <span class="muted">
                        <?php