From 9d3ff721000edbdf18c924a027ab029697fc22e9 Mon Sep 17 00:00:00 2001 From: Yasder5 <102179445+Yasder5@users.noreply.github.com> Date: Wed, 11 Feb 2026 17:54:44 +0100 Subject: [PATCH] correction bug d'erreur --- controllers/project_controller.php | 1 + controllers/user_controller.php | 1 + ...94486bfa02ee91c2c5fe68_0.file_home.tpl.php | 10 +- ...82584009ce981aa35e0b_0.file_layout.tpl.php | 10 +- ...56e3cf6837f9df55d7fb_0.file_footer.tpl.php | 6 +- ...2993687bad91a1cf0f6_0.file_preview.tpl.php | 6 +- ...db1687a6d7b7b3c501bb_0.file_search.tpl.php | 10 +- ...947735d13c8d176ec944_0.file_header.tpl.php | 6 +- ...b3bc83bc530b255f98de05_0.file_user.tpl.php | 10 +- ...ad4f73c431db5dba4722b_0.file_admin.tpl.php | 262 +++++++----------- 10 files changed, 135 insertions(+), 187 deletions(-) diff --git a/controllers/project_controller.php b/controllers/project_controller.php index 7395647..5e6afff 100644 --- a/controllers/project_controller.php +++ b/controllers/project_controller.php @@ -85,6 +85,7 @@ $this->_arrData['arrProjectToDisplay'] = $arrProjectToDisplay; $this->_arrData['arrCategory'] = $arrCategory; + $this->_arrData['arrProject'] = $arrProject; $this->_arrData['arrUser'] = $arrUser; diff --git a/controllers/user_controller.php b/controllers/user_controller.php index be15ddc..0d760eb 100644 --- a/controllers/user_controller.php +++ b/controllers/user_controller.php @@ -147,6 +147,7 @@ class UserCtrl extends MotherCtrl { } // Affichage de la vue inscription + $this->_arrData["arrError"] = $arrError; $this->_display("inscription"); } diff --git a/templates_c/0f54e8b5c9bcafd01d94486bfa02ee91c2c5fe68_0.file_home.tpl.php b/templates_c/0f54e8b5c9bcafd01d94486bfa02ee91c2c5fe68_0.file_home.tpl.php index 706a07d..19e2b80 100644 --- a/templates_c/0f54e8b5c9bcafd01d94486bfa02ee91c2c5fe68_0.file_home.tpl.php +++ b/templates_c/0f54e8b5c9bcafd01d94486bfa02ee91c2c5fe68_0.file_home.tpl.php @@ -1,11 +1,11 @@ getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_698cb226808f21_86889286', + 'unifunc' => 'content_698cb3489df022_21637833', 'has_nocache_code' => false, 'file_dependency' => array ( @@ -21,20 +21,20 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( 'file:views/_partial/preview.tpl' => 1, ), ))) { -function content_698cb226808f21_86889286 (\Smarty\Template $_smarty_tpl) { +function content_698cb3489df022_21637833 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'D:\\projetphp\\views'; $_smarty_tpl->getInheritance()->init($_smarty_tpl, true); ?> getInheritance()->instanceBlock($_smarty_tpl, 'Block_702794187698cb226804e46_22039504', "content"); +$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_625675898698cb3489daba8_53798441', "content"); ?> getInheritance()->endChild($_smarty_tpl, "views/layout.tpl", $_smarty_current_dir); } /* {block "content"} */ -class Block_702794187698cb226804e46_22039504 extends \Smarty\Runtime\Block +class Block_625675898698cb3489daba8_53798441 extends \Smarty\Runtime\Block { public function callBlock(\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'D:\\projetphp\\views'; diff --git a/templates_c/1c51ad9f5c349145220f82584009ce981aa35e0b_0.file_layout.tpl.php b/templates_c/1c51ad9f5c349145220f82584009ce981aa35e0b_0.file_layout.tpl.php index 498d7aa..f9e8c93 100644 --- a/templates_c/1c51ad9f5c349145220f82584009ce981aa35e0b_0.file_layout.tpl.php +++ b/templates_c/1c51ad9f5c349145220f82584009ce981aa35e0b_0.file_layout.tpl.php @@ -1,11 +1,11 @@ getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_698cb22c0fba06_93938818', + 'unifunc' => 'content_698cb4496b9cb3_04936871', 'has_nocache_code' => false, 'file_dependency' => array ( @@ -22,21 +22,21 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( 'file:views/_partial/footer.tpl' => 1, ), ))) { -function content_698cb22c0fba06_93938818 (\Smarty\Template $_smarty_tpl) { +function content_698cb4496b9cb3_04936871 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'D:\\projetphp\\views'; $_smarty_tpl->getInheritance()->init($_smarty_tpl, false); $_smarty_tpl->renderSubTemplate("file:views/_partial/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); ?> getInheritance()->instanceBlock($_smarty_tpl, 'Block_335426824698cb22c0fa1f5_59224788', "content"); +$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_382193566698cb4496b8402_05526599', "content"); ?> renderSubTemplate("file:views/_partial/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); } /* {block "content"} */ -class Block_335426824698cb22c0fa1f5_59224788 extends \Smarty\Runtime\Block +class Block_382193566698cb4496b8402_05526599 extends \Smarty\Runtime\Block { public function callBlock(\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'D:\\projetphp\\views'; diff --git a/templates_c/264314e384c04e79c5fa56e3cf6837f9df55d7fb_0.file_footer.tpl.php b/templates_c/264314e384c04e79c5fa56e3cf6837f9df55d7fb_0.file_footer.tpl.php index 3ef3f9b..010a944 100644 --- a/templates_c/264314e384c04e79c5fa56e3cf6837f9df55d7fb_0.file_footer.tpl.php +++ b/templates_c/264314e384c04e79c5fa56e3cf6837f9df55d7fb_0.file_footer.tpl.php @@ -1,11 +1,11 @@ getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.7.0', - 'unifunc' => 'content_698cb22c31f069_74633644', + 'unifunc' => 'content_698cb4497a9957_69792336', 'has_nocache_code' => false, 'file_dependency' => array ( @@ -20,7 +20,7 @@ if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array ( array ( ), ))) { -function content_698cb22c31f069_74633644 (\Smarty\Template $_smarty_tpl) { +function content_698cb4497a9957_69792336 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = 'D:\\projetphp\\views\\_partial'; ?>