Plugins  LAST
 All Data Structures Files Functions Variables Pages
search_box.php
Go to the documentation of this file.
1 <?php
2 //This file is part of NOALYSS and is under GPL
3 //see licence.txt
4 ?>
5 <FORM METHOD="GET" onsubmit="return validate();">
6 <?php echo $hidden?>
7 <table>
8  <TR>
9  <TD>Choisissez le journal</TD>
10  <td><?php echo $iledger->input()?></td>
11  </TR>
12  <tr>
13  <TD>Date début</TD>
14  <td><?php echo $idate_start->input()?></td>
15  </tr>
16  <tr>
17  <TD>Date fin</TD>
18  <td><?php echo $idate_end->input()?></td>
19  </tr>
20 </table>
21  <?php echo HtmlInput::request_to_hidden(array('ac','plugin_code'));?>
22 <?php echo $submit?>
23 </FORM>
24 <script charset="UTF8" lang="javascript">
25  function validate() {
26  if ( check_date_id('<?php echo $idate_start->id?>') == false ) {
27  alert('Date de début incorrecte');
28  $('<?php echo $idate_start->id?>').style.borderColor='red';
29  return false;}
30  if ( check_date_id('<?php echo $idate_end->id?>') == false ) {
31  alert('Date de fin incorrecte');
32  $('<?php echo $idate_end->id?>').style.borderColor='red';
33  return false;}
34  }
35 </script>
$note style
$categorie_appel table