Subversion Repositories Applications.gtt

Rev

Rev 48 | Rev 73 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 48 Rev 67
Line 33... Line 33...
33
			<?php endforeach; ?>
33
			<?php endforeach; ?>
34
		</tr>
34
		</tr>
35
		<?php endforeach; ?>
35
		<?php endforeach; ?>
36
	</tbody>
36
	</tbody>
37
</table>
37
</table>
38
 
-
 
-
 
38
<?php if ($bool_projets) : ?>
39
<form id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post">
39
<form id="gestion" name="gestion" action="<?=$url_gestion_valider;?>" method="post">
40
<table>
40
<table>
41
	<caption>
41
	<caption>
42
	<a href="<?=$url_semaine_precedente;?>">&lt;&lt;</a>
42
	<a href="<?=$url_semaine_precedente;?>">&lt;&lt;</a>
43
 	<?=$sj_1['jour'];?> <?=$sj_1['mois'];?> <?=$sj_1['annee'];?> au <?=$sj_7['jour'];?> <?=$sj_7['mois'];?> <?=$sj_7['annee'];?>
43
 	<?=$sj_1['jour'];?> <?=$sj_1['mois'];?> <?=$sj_1['annee'];?> au <?=$sj_7['jour'];?> <?=$sj_7['mois'];?> <?=$sj_7['annee'];?>
Line 56... Line 56...
56
		</th>
56
		</th>
57
<?php endforeach; ?>
57
<?php endforeach; ?>
58
	</tr>
58
	</tr>
59
	</thead>
59
	</thead>
60
	<tbody>
60
	<tbody>
-
 
61
<?php if ($bool_projets) : ?>
61
<?foreach ($preferences as $categorie => $projets):?>
62
<?foreach ($preferences as $categorie => $projets):?>
62
	<tr><td colspan="8" class="categorie"><?=$categorie;?></td></tr>
63
	<tr><td colspan="8" class="categorie"><?=$categorie;?></td></tr>
63
	<?foreach ($projets as $projet):?>
64
	<?foreach ($projets as $projet):?>
64
	<tr>
65
	<tr>
65
		<td class="projet"><?=$projet['nom'];?></td>
66
		<td class="projet"><?=$projet['nom'];?></td>
Line 72... Line 73...
72
	<?php foreach ($elements[$s] as $num => $jour) : ?>
73
	<?php foreach ($elements[$s] as $num => $jour) : ?>
73
		<td class="categorie_total"><?=$categorie_totaux[$categorie][$num];?></td>
74
		<td class="categorie_total"><?=$categorie_totaux[$categorie][$num];?></td>
74
	<?php endforeach; ?>
75
	<?php endforeach; ?>
75
	</tr>
76
	</tr>
76
<?php endforeach; ?>
77
<?php endforeach; ?>
-
 
78
<? endif;?>
77
	<tr><td colspan="8" class="categorie">Absences</td></tr>
79
	<tr><td colspan="8" class="categorie">Absences</td></tr>
78
<?php foreach ($ab as $ab_id => $tab_ab_jours) : ?>
80
<?php foreach ($ab as $ab_id => $tab_ab_jours) : ?>
79
	<tr><td class="absence_titre"><?=$ab_libelle[$ab_id];?></td>
81
	<tr><td class="absence_titre"><?=$ab_libelle[$ab_id];?></td>
80
	<?php foreach ($tab_ab_jours as $num => $ab_duree) : ?>
82
	<?php foreach ($tab_ab_jours as $num => $ab_duree) : ?>
81
		<td class="ab"><input id="ab:<?=$ab_id;?>:<?=$num;?>" name="ab:<?=$ab_id;?>:<?=$num;?>" value="<?=$ab_duree;?>" type="text"/></td>
83
		<td class="ab"><input id="ab:<?=$ab_id;?>:<?=$num;?>" name="ab:<?=$ab_id;?>:<?=$num;?>" value="<?=$ab_duree;?>" type="text"/></td>
Line 94... Line 96...
94
	</tr>
96
	</tr>
95
	</tbody>
97
	</tbody>
96
</table>
98
</table>
97
<input id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" />
99
<input id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" />
98
</form>
100
</form>
-
 
101
<?php else : ?>
-
 
102
<p>Veuillez sélectionner des projets via le menu "Gestion de mes projets".</p>
-
 
103
<? endif;?>
99
</div>
104
</div>