本文整理匯總了PHP中SiteHelpers::langShow方法的典型用法代碼示例。如果您正苦於以下問題:PHP SiteHelpers::langShow方法的具體用法?PHP SiteHelpers::langShow怎麽用?PHP SiteHelpers::langShow使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類SiteHelpers
的用法示例。
在下文中一共展示了SiteHelpers::langShow方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: print_r
<div class="row border-bottom ">
<nav style="margin-bottom: 0;" role="navigation" class="navbar navbar-static-top gray-bg">
<div class="navbar-header">
<a href="javascript:void(0)" class="navbar-minimalize minimalize-btn btn btn-primary "><i class="fa fa-bars"></i> </a>
</div>
<ul class="nav navbar-top-links navbar-right">
@if(CNF_MULTILANG ==0 && 1==2)
<li class="user dropdown"><a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><?php
print_r(SiteHelpers::langShow());
?>
<i class="icon-flag2"></i><i class="caret"></i></a>
<ul class="dropdown-menu dropdown-menu-right icons-right">
@foreach(SiteHelpers::langOption() as $lang)
<li><a href="{{ URL::to('home/lang/'.$lang['folder'])}}"><i class="icon-flag2"></i> {{ $lang['name'] }}</a></li>
@endforeach
</ul>
</li>
@endif
@if(!Auth::check())
<li><a href="{{ URL::to('user/login')}}"><i class="icon-arrow-right12"></i> {{ Lang::get('core.signin'); }}</a></li>
@else
@if(Session::get('gid') ==1)
<li class="user dropdown"><a class="dropdown-toggle" href="javascript:void(0)" data-toggle="dropdown"><i class="icon-screen"></i> <span>{{ Lang::get('core.m_controlpanel'); }}</span><i class="caret"></i></a>
<ul class="dropdown-menu dropdown-menu-right icons-right">
<li><a href="{{ URL::to('config')}}"><i class="fa fa-wrench"></i> {{ Lang::get('core.m_setting'); }} <sup class="badge">New</sup> </a></li>
<li><a href="{{ URL::to('users')}}"><i class="fa fa-user"></i> {{ Lang::get('core.m_users'); }} </a></li>
<li><a href="{{ URL::to('groups')}}"><i class="fa fa-users"></i> {{ Lang::get('core.m_groups'); }} </a></li>