ajouter btn edit account page profile, lien cliquable img user connecté

This commit is contained in:
Yasder5 2026-02-19 20:38:19 +01:00
parent 09ec39c7bb
commit 190554d966
7 changed files with 28 additions and 22 deletions

View file

@ -1,18 +1,18 @@
<?php
/* Smarty version 5.7.0, created on 2026-02-19 18:00:38
/* Smarty version 5.7.0, created on 2026-02-19 19:37:45
from 'file:views/_partial/header.tpl' */
/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'version' => '5.7.0',
'unifunc' => 'content_69974fc6bd10a6_20132978',
'unifunc' => 'content_69976689b86271_22891813',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8056b95e7f6b28be5e36947735d13c8d176ec944' =>
array (
0 => 'views/_partial/header.tpl',
1 => 1771520240,
1 => 1771529669,
2 => 'file',
),
),
@ -21,7 +21,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'file:views/_partial/messages.tpl' => 1,
),
))) {
function content_69974fc6bd10a6_20132978 (\Smarty\Template $_smarty_tpl) {
function content_69976689b86271_22891813 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
?><!DOCTYPE html>
<html lang="fr">
@ -86,7 +86,8 @@ $_smarty_current_dir = 'D:\\projetphp\\views\\_partial';
<?php } else { ?>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="edit_account.php" title="Modifier mon compte" aria-label="Modifier mon compte">
<a class="nav-link" href="index.php?ctrl=user&action=user&id=<?php echo $_SESSION['user']['user_id'];?>
" title="Modifier mon compte" aria-label="Modifier mon compte">
<img src="<?php echo $_SESSION['user']['user_image'];?>
"
class="rounded-circle flex-shrink-0 mt-2 ml-5"