Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 94 → Rev 95

/trunk/presentation/admin_projet.tpl.html
1,6 → 1,8
<?php if (isset($message)) : ?>
<p class="information"><?=$message;?></p>
<?php endif; ?>
 
<?php if ($projets) : ?>
<form id="admin_projet_editer" class="editer" name="admin_projet_editer" action="index.php?action=admin-projet_editer" method="post">
<fieldset>
<legend>Éditer un projet</legend>
18,6 → 20,7
</ul>
</fieldset>
</form>
<?php endif; ?>
<form id="admin_projet_ajouter" name="admin_projet_ajouter" action="<?=$form_url;?>" method="post">
<fieldset>
<legend><?=$form_legend;?></legend>
29,11 → 32,15
</li>
<li>
<label for="praj_ce_categorie">Catégorie :</label>
<?php if ($categories) : ?>
<select id="praj_ce_categorie" name="praj_ce_categorie">
<?php foreach ($categories as $Categorie) : ?>
<option value="<?=$Categorie->getIdCategorie();?>" <?=(isset($CategorieDefaut) && $CategorieDefaut->getIdCategorie() == $Categorie->getIdCategorie()) ? 'selected="selected"' : '';?>><?=$Categorie->getLibelle();?></option>
<?php endforeach; ?>
</select>
<?php else : ?>
<input size="30" id="praj_ce_categorie" name="praj_ce_categorie" type="text" disabled="disabled" value="Veuillez définir des catégories..."/>
<?php endif; ?>
</li>
<li>
<label for="praj_description">Description :</label>
/trunk/presentation/preferences.tpl.html
1,3 → 1,9
<?php if (isset($messages)) : ?>
<?php foreach ($messages as $message) : ?>
<p class="information"><?=$message;?></p>
<?php endforeach; ?>
<?php endif; ?>
<?php if ($preferences) : ?>
<form id="gestion_admin_pref" action="index.php?action=<?=GTT_ACTION_PREFERENCE_VALIDER;?>" name="gestion_admin_pref" method="post">
<input name="champ_nb_total_proj" value="<?=$nbre_projets;?>" type="hidden"/>
<ul>
12,4 → 18,5
<?php endforeach; ?>
<li><input id="btn_valider_editer" name="btn_valider_editer" value="<?=$i18n_general_valider;?>" type="submit" /></li>
</ul>
</form>
</form>
<?php endif; ?>
/trunk/presentation/gestion.tpl.html
63,6 → 63,6
<input id="btn_valider" name="btn_valider" value="<?=$i18n_general_valider;?>" type="submit" />
</form>
<?php else : ?>
<p>Veuillez sélectionner des projets via le menu "Gestion de mes projets".</p>
<p class="information">Veuillez sélectionner des projets via le menu "Gestion de mes projets".</p>
<? endif;?>
</div>
/trunk/presentation/stat_tableau_global.tpl.html
1,19 → 1,22
<div id="navigation">
<p>Navigation : <a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?> <?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></p>
</div>
<?php if ($projets || $absences) : ?>
<table id="tab_tps_w_mensuel_salarie" summary="Tableau du temps de travail mensuel par salarié.">
<caption>
<a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?> <?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a>
</caption>
<caption>Tableaux global - <?=$mois['mois'];?> <?=$mois['annee'];?></caption>
<thead>
<tr>
<th>Projets</th>
<?php foreach ($utilisateurs as $utilisateur) : ?>
<?php foreach ($utilisateurs as $utilisateur) : ?>
<th>
<?=$utilisateur['prenom_nom']?>
</th>
<?php endforeach; ?>
<?php endforeach; ?>
</tr>
</thead>
<tbody>
<?php $ligne = "impair"; ?>
<?php if ($projets) : ?>
<?foreach ($projets as $categorie => $pr):?>
<tr class="categories">
<td class="categories_titre"><?=$categorie;?></td>
29,8 → 32,9
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
<?php $ligne = "impair"; ?>
<?php endforeach; ?>
<?php endforeach; ?>
<?php endif; ?>
<?php if ($absences) : ?>
<tr class="absences">
<td class="absences_titre">Absences</td>
<?php foreach ($utilisateurs as $utilisateur) : ?>
44,6 → 48,14
<td class="absence"><?= (isset($utilisateur['ab'][$ab_id])) ? $utilisateur['ab'][$ab_id] : "&nbsp;";?></td>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
<?php endif; ?>
</tbody>
</table>
</table>
<?php endif; ?>
 
<?php if (isset($messages)) : ?>
<?php foreach ($messages as $message) : ?>
<p class="information"><?=$message;?></p>
<?php endforeach; ?>
<?php endif; ?>
/trunk/presentation/admin_categorie.tpl.html
1,6 → 1,7
<?php if (isset($message)) : ?>
<p class="information"><?=$message;?></p>
<?php endif; ?>
<?php if ($categories) : ?>
<form id="admin_categorie_editer" class="editer" name="admin_categorie_editer" action="index.php?action=admin-categorie_editer" method="post">
<fieldset>
<legend>Éditer une catégorie</legend>
18,6 → 19,7
</ul>
</fieldset>
</form>
<?php endif; ?>
<form id="admin_categorie_ajouter" name="admin_categorie_ajouter" action="<?=$form_url;?>" method="post">
<fieldset>
<legend><?=$form_legend;?></legend>