浏览代码

Navigation header : correctif url absolute

feature/souke
Guillaume Bourgeois 1年前
父节点
当前提交
15bd6a158b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      common/views/nav_user_top.php

+ 3
- 3
common/views/nav_user_top.php 查看文件

@@ -83,18 +83,18 @@ if ($userManager->isCurrentProducer()) {
$itemsUserArray = [
[
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil',
'url' => $this->getUrlManagerFrontend()->createUrl(['site/index']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/index']),
]
];
}

$itemsUserArray[] = [
'label' => '<span class="glyphicon glyphicon-user"></span> Mon profil',
'url' => $this->getUrlManagerFrontend()->createUrl(['user/update']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['user/update']),
];
$itemsUserArray[] = [
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion',
'url' => $this->getUrlManagerFrontend()->createUrl(['site/logout']),
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/logout']),
];

$itemUser = [

正在加载...
取消
保存