Subversion Repositories Applications.papyrus

Rev

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

Rev 1688 Rev 1805
Line 1... Line 1...
1
<form action="<?=$form_url;?>" method="post" id="form_more_recherche">
1
<form action="<?=$form_url;?>" method="post" id="form_more_recherche">
2
	<fieldset>
2
	<fieldset>
3
		<legend><?=MORE_LG_FORM_TITRE;?></legend>
3
		<legend><?=MORE_LG_FORM_TITRE;?></legend>
4
		<label for="more_motif"><?=MORE_LG_FORM_MOTIF;?></label>
4
		<label for="more_motif"><?=MORE_LG_FORM_MOTIF;?></label>
5
		<input id="more_motif" name="more_motif" tabindex="<?=$form_tab;?>" maxlength="<?=MORE_FORM_MOTIF_MAXLENGTH;?>" accesskey="<?=MORE_LG_FORM_ACCESSKEY;?>" type="text" value="<?=$more_motif;?>" onfocus="nettoyerChamp('more_motif', '<?=$more_motif_base;?>');basculerTaille('more_motif', true);" onblur="nettoyerChamp('more_motif', '<?=$more_motif_base;?>');basculerTaille('more_motif', false);" />
5
		<input id="more_motif" name="more_motif" tabindex="<?=$form_tab;?>" maxlength="<?=MORE_FORM_MOTIF_MAXLENGTH;?>" accesskey="<?=MORE_LG_FORM_ACCESSKEY;?>" type="text" value="<?=$more_motif;?>" onfocus="nettoyerChamp('more_motif', '<?=$more_motif_base;?>');" onblur="nettoyerChamp('more_motif', '<?=$more_motif_base;?>');" />
6
		<input id="more_ok" name="more_ok" tabindex="<?=++$form_tab;?>" value="<?=MORE_LG_FORM_VALIDER;?>" type="submit" />
6
		<input id="more_ok" name="more_ok" tabindex="<?=++$form_tab;?>" value="<?=MORE_LG_FORM_VALIDER;?>" type="submit" />
7
	</fieldset>
7
	</fieldset>
8
</form>
8
</form>
9
<script type="text/javascript">
9
<script type="text/javascript">
10
	//<![CDATA[
10
	//<![CDATA[
11
	// Fonction aggrandissant ou diminuant la taille d'un champ
-
 
12
	// Provient du site https://addons.mozilla.org/
-
 
13
	function basculerTaille(id, grand)
-
 
14
	{
11
 
15
		var sb = document.getElementById(id);
-
 
16
		if (grand) {
-
 
17
			sb.style.width = '20em;';
-
 
18
		} else {
-
 
19
			sb.style.width = '10em;';
-
 
20
		}
-
 
21
	}
-
 
Line 22... Line 12...
22
	
12
	
23
	// Fonction nettoyant un champ de formulaire d'une chaine donnée...
13
	// Fonction nettoyant un champ de formulaire d'une chaine donnée...
24
	function nettoyerChamp(id, chaine)
14
	function nettoyerChamp(id, chaine)
25
	{
15
	{