示例#1
0
                <div id="label_project_filter_name">Nom :</div>
                <input id="field_project_filter_name" name="field_project_filter_name" type="text"  value="" maxlength="20"/>
                <div id="label_project_filter_client">Client :</div>
                <select id="project_filter_client_select" name="project_filter_client_select">
                  <option selected="selected" value="-1">Tous les clients</option>
                  <?php 
foreach (getListActiveClient() as $value) {
    echo '<option value="' . $value->getId() . '">' . $value->getNom() . '</option>';
}
?>
                </select>
                <div id="label_project_filter_respo_select">Responsable :</div>
                <select id="project_filter_respo_select" name="project_filter_respo_select">
                  <option selected="selected" value="-1">Tous les responsables</option>
                  <?php 
foreach (getRespoList() as $value) {
    echo '<option value="' . $value->getId() . '">' . $value->getNom() . ' ' . $value->getPrenom() . '</option>';
}
?>
                </select>
                <div id="group_project_filter_state">
                  <input id="checkbox_filter_state_ongoing" name="checkbox_filter_state_ongoing" value="check" type="checkbox" checked="checked"/>
                  <div id="label_filter_state_ongoing">En Cours</div>
                  <input id="checkbox_filter_state_finished" name="checkbox_filter_state_finished" value="check" type="checkbox"/>
                  <div id="label_filter_state_finished">Termines</div>
                  <input id="checkbox_filter_state_archived" name="checkbox_filter_state_archived" value="check" type="checkbox"/>
                  <div id="label_filter_state_archived">Archives</div>
                </div>
              </div>
              <div id="client_filters">
                <div id="label_client_filter_name">Nom :</div>
示例#2
0
				  <textarea id="project_description" name="project_description" cols="40" rows="5" maxlength="500"></textarea>
				  
				  <div id="label_project_client">Client : </div>
				  <select id="select_project_client" name="select_project_client">
					<?php 
    foreach (getListActiveClient() as $value) {
        echo '<option  value="' . $value->getId() . '">' . $value->getNom() . '</option>';
    }
    ?>
					
				  </select>
				  <div id="label_project_respo">Responsable : </div>
				  <select id="select_project_respo" name="select_project_respo">
					<?php 
    if (getRespoList() != null) {
        foreach (getRespoList() as $pers) {
            echo '<option value="' . $pers->getId() . '">' . $pers->getNom() . ' ' . $pers->getPrenom() . '</option>';
        }
    }
    ?>
				  </select>

				  <div id="label_unit">Unité de temps : </div>
				  <!-- ATTENTION ATTENTION ATTENTION -->
				  <!-- A REMPLIR AVEC LES CHAMPS DE LA BASE -->
				  <select id="select_unit" name="select_unit">
					<option>Jours</option>
					<option>Heure</option>
				  </select>
<!--
				  <div id="list_title">Liste de tâches</div>