Affiche les techno dans l'arbre des technos (la disruption) #6

Merged
nemunaire merged 12 commits from show_tech_description into master 2020-11-22 17:01:17 +00:00
Showing only changes of commit cd56ef2de4 - Show all commits

View File

@ -984,6 +984,10 @@ class dTechnologies implements Donnees
return array( return array(
array(0, array(1, array(2, array(3, array(4, array(5, array(6, array(7, array(8, array(9), 11)), 10)))))), 12) array(0, array(1, array(2, array(3, array(4, array(5, array(6, array(7, array(8, array(9), 11)), 10)))))), 12)
); );
case 8:
return array(
array(0)
);
default: default:
trigger_error("Branche ".$branche." introuvable dans les données", E_USER_ERROR); trigger_error("Branche ".$branche." introuvable dans les données", E_USER_ERROR);
} }
@ -1016,6 +1020,9 @@ class dTechnologies implements Donnees
case 7: case 7:
$tableau = array( 0 => 0, 1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0, 8 => 0, 9 => 0, 10 => 0, 11 => 0, 12 => 1, 13 => 2, 14 => 3); $tableau = array( 0 => 0, 1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0, 8 => 0, 9 => 0, 10 => 0, 11 => 0, 12 => 1, 13 => 2, 14 => 3);
break; break;
case 8:
$tableau = array( 0 => 1, 1 => 2, 2 => 3, 3 => 4, 4 => 5, 5 => 6, 6 => 7, 7 => 8, 8 => 9, 9 => 10, 10 => 11, 11 => 12, 12 => 13, 13 => 14, 14 => 15, 15 => 16, 16 => 17, 17 => 18);
break;
default: default:
trigger_error("Branche ".$branche." introuvable dans les données", E_USER_ERROR); trigger_error("Branche ".$branche." introuvable dans les données", E_USER_ERROR);
} }