PHP Classes

File: Application/Module/User/View/Default/Widget/HeaderMenu.tpl

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/User/View/Default/Widget/HeaderMenu.tpl   Download  
File: Application/Module/User/View/Default/Widget/HeaderMenu.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 629 bytes
 

Contents

Class file image Download
{% if not currentUser %} <ul class="nav navbar-nav"> <li><a href="{{ Template_Url('user/login') }}">{{ Translate('core.sign_in')}}</a></li> </ul> {% else %} <ul class="nav navbar-nav"> <li class="dropdown user user-menu"> <a href="{{ Template_Url(currentUser.user_name)}}" style="display:inline-block;"> <span class="hidden-xs">{{ currentUser.full_name}}</span> </a> </li> <li class="dropdown user user-menu"> <a href="{{ Template_Url('user/logout') }}" > <span class="hidden-xs">{{ Translate('core.logout')}}</span> </a> </li> </ul> {% endif %}