Browse Source

test liste dossiers et projets

Hugo Roy 7 years ago
parent
commit
c6d4bbfb34
1 changed files with 2 additions and 2 deletions
  1. 2 2
      templates/tpl-index.php

+ 2 - 2
templates/tpl-index.php

@@ -31,9 +31,9 @@ include_once 'templates/tpl-main-top.php';
     <nav class="projets">
     <h2>Liste des projets</h2>
 			<?php
-			foreach (projects as $main_p) {
+			foreach ($projects as $main_p) {
 				echo "
-					<a href='voir.php?type=project&id={$main_p['rowid']}' class='name'>{$main_p['name']}</a>
+					<a href='voir.php?type=project&id={$main_p['rowid']}' class='name'>{$main_d['name']}</a>
 				";
 			}
 			?>