Code Context // Display lang
$html_1 = '<a href="#" class="hidden-xs dropdown-toggle" data-toggle="dropdown">';
$html_1 .= '<span class="flag flag-'.$site_languages[$lang]['flag'].'"></span>'; // https://www.flag-sprites.com/
$site_languages = array(
'de' => array(
'flag' => 'de',
'name' => 'Tedesco'
),
'en' => array(
'flag' => 'gb',
'name' => 'Inglese'
)
)
$lang = 'it'
$html_1 = '<a href="#" class="hidden-xs dropdown-toggle" data-toggle="dropdown">'
MenuHelper::langSelector() - APP/View/Helper/MenuHelper.php, line 232
include - APP/View/Elements/layout_header.ctp, line 86
View::_evaluate() - CORE/Cake/View/View.php, line 934
View::_render() - CORE/Cake/View/View.php, line 896
View::_renderElement() - CORE/Cake/View/View.php, line 1194
View::element() - CORE/Cake/View/View.php, line 411
include - APP/View/Layouts/default.ctp, line 40
View::_evaluate() - CORE/Cake/View/View.php, line 934
View::_render() - CORE/Cake/View/View.php, line 896
View::renderLayout() - CORE/Cake/View/View.php, line 528
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
PagesController::display() - APP/Controller/PagesController.php, line 156
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108