changement methode dans le project entity pour mieux faire marcher l'ajout de projet et personalisation encore meilleur du header

This commit is contained in:
Yasder5 2026-02-11 21:38:03 +01:00
parent e2e55e669e
commit e486091c28
51 changed files with 63 additions and 4634 deletions

View file

@ -1,18 +1,18 @@
<?php
/* Smarty version 5.7.0, created on 2026-02-11 16:45:24
/* Smarty version 5.7.0, created on 2026-02-11 20:35:30
from 'file:views/project_display.tpl' */
/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
'version' => '5.7.0',
'unifunc' => 'content_698cb22434fee2_91445718',
'unifunc' => 'content_698ce812246388_58459261',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4c2b74d2d77abca5363ffd92e8bc3a455c22b1bd' =>
array (
0 => 'views/project_display.tpl',
1 => 1770828198,
1 => 1770842115,
2 => 'file',
),
),
@ -20,18 +20,18 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
array (
),
))) {
function content_698cb22434fee2_91445718 (\Smarty\Template $_smarty_tpl) {
function content_698ce812246388_58459261 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'D:\\projetphp\\views';
$_smarty_tpl->getInheritance()->init($_smarty_tpl, true);
?>
<?php
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1025150471698cb224342408_37694456', "content");
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_1262370430698ce812236879_45885506', "content");
$_smarty_tpl->getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir);
}
/* {block "content"} */
class Block_1025150471698cb224342408_37694456 extends \Smarty\Runtime\Block
class Block_1262370430698ce812236879_45885506 extends \Smarty\Runtime\Block
{
public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = 'D:\\projetphp\\views';
@ -100,7 +100,7 @@ $_smarty_current_dir = 'D:\\projetphp\\views';
<!-- Sidebar : informations du créateur -->
<div class="col-lg-4">
<div class="card text-center shadow-sm p-4">
<a href="index.php?ctrl=user&action=user&id=<?php echo $_smarty_tpl->getValue('objProject')->getUser();?>
<a href="index.php?ctrl=user&action=user&id=<?php echo $_smarty_tpl->getValue('objProject')->getUser_id();?>
" class="text-decoration-none text-dark">
<img src="<?php echo $_smarty_tpl->getValue('objProject')->getUser_image();?>
"