Пример #1
0
				<i class="ace-icon fa fa-long-arrow-left"></i>
				返回<?php 
echo $this->params['global_config']->site_name;
?>
			</a>
			<div class="clearfix"></div> -->
			<ul class="nav ace-nav hide" style="margin-top:25px !important">
				<?php 
if (!Yii::$app->user->getIsGuest()) {
    ?>
					<li class="light-blue">
						<a data-toggle="dropdown" href="#" class="dropdown-toggle" aria-expanded="false">
							<span class="user-info">
								<small>欢迎您,</small>
								<?php 
    echo ArrayHelper::s_object(ArrayHelper::s($this->params, 'global_user'), 'username');
    ?>
							</span>

							<i class="ace-icon fa fa-caret-down"></i>
						</a>

						<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
							<li>
								<?php 
    echo Html::a(Html::tag('i', "", ['class' => "ace-icon fa fa-user"]) . '个人资料', ['admin/basic']);
    ?>
							</li>

							<li class="divider"></li>