mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-11-04 06:11:37 +01:00 
			
		
		
		
	
		
			
	
	
		
			362 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			362 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="iso-8859-1"?>
							 | 
						|||
| 
								 | 
							
								<!-- $Revision$ -->
							 | 
						|||
| 
								 | 
							
										<sect1 id="language.function.html.select.date">
							 | 
						|||
| 
								 | 
							
											<title>html_select_date</title>
							 | 
						|||
| 
								 | 
							
								            <informaltable frame="all">
							 | 
						|||
| 
								 | 
							
								                <tgroup cols="5">
							 | 
						|||
| 
								 | 
							
								                <colspec colname="param" align="center" />
							 | 
						|||
| 
								 | 
							
								                <colspec colname="type" align="center" />
							 | 
						|||
| 
								 | 
							
								                <colspec colname="required" align="center" />
							 | 
						|||
| 
								 | 
							
								                <colspec colname="default" align="center" />
							 | 
						|||
| 
								 | 
							
								                <colspec colname="desc" />
							 | 
						|||
| 
								 | 
							
								                <thead>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>Nome Attributo</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Tipo</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Obbligatorio</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Default</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Descrizione</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                </thead>
							 | 
						|||
| 
								 | 
							
								                <tbody>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>prefix</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Date_</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>prefisso per i nomi delle variabili</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>time</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>timestamp/YYYY-MM-DD</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>data attuale in formato unix timestamp o YYYY-MM-DD</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>data preselezionata</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>start_year</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>anno corrente</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>primo anno visualizzato: pu<70> essere in valore assoluto
							 | 
						|||
| 
								 | 
							
								                                     o relativo all'anno corrente(+/- N)</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>end_year</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>uguale a start_year</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>ultimo anno visualizzato: pu<70> essere in valore assoluto
							 | 
						|||
| 
								 | 
							
								                                     o relativo all'anno corrente(+/- N)</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>display_days</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>booleano</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>true</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se visualizzare i giorni oppure no</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>display_months</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>booleano</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>true</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se visualizzare i mesi oppure no</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>display_years</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>booleano</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>true</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se visualizzare gli anni oppure no</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>month_format</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>%B</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>formato per i mesi in output (strftime)</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>day_format</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>%02d</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>formato per i giorni in output (sprintf)</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>day_value_format</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>string</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>%d</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>formato per il valore dei giorni (sprintf)</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>year_as_text</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>booleano</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>false</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se visualizzare gli anni in forma testuale oppure no</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>reverse_years</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>booleano</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>false</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se visualizzare gli anni in ordine inverso</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>field_array</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se viene fornito un nome, le caselle select
							 | 
						|||
| 
								 | 
							
								                                        verranno create in modo che il risultato
							 | 
						|||
| 
								 | 
							
								                                        venga fornito a PHP nella forma nome[Day],
							 | 
						|||
| 
								 | 
							
								                                        nome[Year], nome[Month].
							 | 
						|||
| 
								 | 
							
														</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>day_size</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se presente aggiunge l'attributo size al tag select</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>month_size</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se presente aggiunge l'attributo size al tag select</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>year_size</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se presente aggiunge l'attributo size al tag select</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>all_extra</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se presente aggiunge attributi extra a tutti i tag select</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>day_extra</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se presente aggiunge attributi extra ai tag select/input</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>month_extra</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se presente aggiunge attributi extra ai tag select/input</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>year_extra</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>se presente aggiunge attributi extra ai tag select/input</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>field_order</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>MDY</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>ordine di visualizzazione dei campi (mese, giorno, anno)</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>field_separator</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>\n</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa di separazione fra i campi</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>month_value_format</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>%m</entry>
							 | 
						|||
| 
								 | 
							
														<entry>formato strftime per i valori dei mesi</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>year_empty</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Se presente, il primo elemento della casella select per gli anni
							 | 
						|||
| 
								 | 
							
								                        conterr<72> questo valore come output e "" come valore. E' utile per mostrare,
							 | 
						|||
| 
								 | 
							
								                        ad esempio, sul men<65> a discesa la frase "Selezionare l'anno".
							 | 
						|||
| 
								 | 
							
								                        Notate che potete utilizzare valori del tipo "-MM-DD" nell'attributo time
							 | 
						|||
| 
								 | 
							
								                        per indicare che l'anno non deve essere preselezionato.</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>month_empty</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Se presente, il primo elemento della casella select per i mesi
							 | 
						|||
| 
								 | 
							
								                        conterr<72> questo valore come output e "" come valore.
							 | 
						|||
| 
								 | 
							
								                        Notate che potete utilizzare valori del tipo "YYYY---DD" nell'attributo time
							 | 
						|||
| 
								 | 
							
								                        per indicare che il mese non deve essere preselezionato.</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                    <row>
							 | 
						|||
| 
								 | 
							
								                        <entry>day_empty</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>stringa</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>no</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>null</entry>
							 | 
						|||
| 
								 | 
							
								                        <entry>Se presente, il primo elemento della casella select per i giorni
							 | 
						|||
| 
								 | 
							
								                        conterr<72> questo valore come output e "" come valore.
							 | 
						|||
| 
								 | 
							
								                        Notate che potete utilizzare valori del tipo "YYYY-MM-" nell'attributo time
							 | 
						|||
| 
								 | 
							
								                        per indicare che il giorno non deve essere preselezionato.</entry>
							 | 
						|||
| 
								 | 
							
								                    </row>
							 | 
						|||
| 
								 | 
							
								                </tbody>
							 | 
						|||
| 
								 | 
							
								                </tgroup>
							 | 
						|||
| 
								 | 
							
								            </informaltable>
							 | 
						|||
| 
								 | 
							
											<para>
							 | 
						|||
| 
								 | 
							
											html_select_date <20> una funzione utente che crea per voi men<65> a discesa
							 | 
						|||
| 
								 | 
							
											per le date. Pu<50> mostrare anno, mese e giorno o solo qualcuno di questi
							 | 
						|||
| 
								 | 
							
											valori.
							 | 
						|||
| 
								 | 
							
											</para>
							 | 
						|||
| 
								 | 
							
								 <para>
							 | 
						|||
| 
								 | 
							
								  L'attributo time pu<70> avere diversi formati: pu<70> essere un timestamp UNIX
							 | 
						|||
| 
								 | 
							
								  o una stringa di tipo Y-M-D (anno-mese-giorno). Il formato pi<70> comune
							 | 
						|||
| 
								 | 
							
								  sarebbe YYYY-MM-DD, ma vengono riconosciuti anche mesi e giorni con meno
							 | 
						|||
| 
								 | 
							
								  di due cifre. Se uno dei tre valori (Y,M,D) <20> una stringa vuota, il campo
							 | 
						|||
| 
								 | 
							
								  select corrispondente non avr<76> nessuna preselezione. Ci<43> <20> utile in
							 | 
						|||
| 
								 | 
							
								  special modo con gli attributi year_empty, month_empty e day_empty.
							 | 
						|||
| 
								 | 
							
								 </para>
							 | 
						|||
| 
								 | 
							
								<example>
							 | 
						|||
| 
								 | 
							
								<title>html_select_date</title>
							 | 
						|||
| 
								 | 
							
								<programlisting>
							 | 
						|||
| 
								 | 
							
								<![CDATA[
							 | 
						|||
| 
								 | 
							
								{html_select_date}
							 | 
						|||
| 
								 | 
							
								+]]>
							 | 
						|||
| 
								 | 
							
								</programlisting>
							 | 
						|||
| 
								 | 
							
								<para>
							 | 
						|||
| 
								 | 
							
								Questo stamper<65>:
							 | 
						|||
| 
								 | 
							
								</para>
							 | 
						|||
| 
								 | 
							
								<screen>
							 | 
						|||
| 
								 | 
							
								<![CDATA[
							 | 
						|||
| 
								 | 
							
								<select name="Date_Month">
							 | 
						|||
| 
								 | 
							
								<option value="1">January</option>
							 | 
						|||
| 
								 | 
							
								<option value="2">February</option>
							 | 
						|||
| 
								 | 
							
								<option value="3">March</option>
							 | 
						|||
| 
								 | 
							
								<option value="4">April</option>
							 | 
						|||
| 
								 | 
							
								<option value="5">May</option>
							 | 
						|||
| 
								 | 
							
								<option value="6">June</option>
							 | 
						|||
| 
								 | 
							
								<option value="7">July</option>
							 | 
						|||
| 
								 | 
							
								<option value="8">August</option>
							 | 
						|||
| 
								 | 
							
								<option value="9">September</option>
							 | 
						|||
| 
								 | 
							
								<option value="10">October</option>
							 | 
						|||
| 
								 | 
							
								<option value="11">November</option>
							 | 
						|||
| 
								 | 
							
								<option value="12" selected="selected">December</option>
							 | 
						|||
| 
								 | 
							
								</select>
							 | 
						|||
| 
								 | 
							
								<select name="Date_Day">
							 | 
						|||
| 
								 | 
							
								<option value="1">01</option>
							 | 
						|||
| 
								 | 
							
								<option value="2">02</option>
							 | 
						|||
| 
								 | 
							
								<option value="3">03</option>
							 | 
						|||
| 
								 | 
							
								<option value="4">04</option>
							 | 
						|||
| 
								 | 
							
								<option value="5">05</option>
							 | 
						|||
| 
								 | 
							
								<option value="6">06</option>
							 | 
						|||
| 
								 | 
							
								<option value="7">07</option>
							 | 
						|||
| 
								 | 
							
								<option value="8">08</option>
							 | 
						|||
| 
								 | 
							
								<option value="9">09</option>
							 | 
						|||
| 
								 | 
							
								<option value="10">10</option>
							 | 
						|||
| 
								 | 
							
								<option value="11">11</option>
							 | 
						|||
| 
								 | 
							
								<option value="12">12</option>
							 | 
						|||
| 
								 | 
							
								<option value="13" selected="selected">13</option>
							 | 
						|||
| 
								 | 
							
								<option value="14">14</option>
							 | 
						|||
| 
								 | 
							
								<option value="15">15</option>
							 | 
						|||
| 
								 | 
							
								<option value="16">16</option>
							 | 
						|||
| 
								 | 
							
								<option value="17">17</option>
							 | 
						|||
| 
								 | 
							
								<option value="18">18</option>
							 | 
						|||
| 
								 | 
							
								<option value="19">19</option>
							 | 
						|||
| 
								 | 
							
								<option value="20">20</option>
							 | 
						|||
| 
								 | 
							
								<option value="21">21</option>
							 | 
						|||
| 
								 | 
							
								<option value="22">22</option>
							 | 
						|||
| 
								 | 
							
								<option value="23">23</option>
							 | 
						|||
| 
								 | 
							
								<option value="24">24</option>
							 | 
						|||
| 
								 | 
							
								<option value="25">25</option>
							 | 
						|||
| 
								 | 
							
								<option value="26">26</option>
							 | 
						|||
| 
								 | 
							
								<option value="27">27</option>
							 | 
						|||
| 
								 | 
							
								<option value="28">28</option>
							 | 
						|||
| 
								 | 
							
								<option value="29">29</option>
							 | 
						|||
| 
								 | 
							
								<option value="30">30</option>
							 | 
						|||
| 
								 | 
							
								<option value="31">31</option>
							 | 
						|||
| 
								 | 
							
								</select>
							 | 
						|||
| 
								 | 
							
								<select name="Date_Year">
							 | 
						|||
| 
								 | 
							
								<option value="2001" selected="selected">2001</option>
							 | 
						|||
| 
								 | 
							
								</select>
							 | 
						|||
| 
								 | 
							
								]]>
							 | 
						|||
| 
								 | 
							
								</screen>
							 | 
						|||
| 
								 | 
							
								</example>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<example>
							 | 
						|||
| 
								 | 
							
								<title>html_select_date</title>
							 | 
						|||
| 
								 | 
							
								<programlisting>
							 | 
						|||
| 
								 | 
							
								<![CDATA[
							 | 
						|||
| 
								 | 
							
								{* l'anno iniziale e finale possono essere relativi a quello corrente *}
							 | 
						|||
| 
								 | 
							
								{html_select_date prefix="StartDate" time=$time start_year="-5" end_year="+1" display_days=false}
							 | 
						|||
| 
								 | 
							
								+]]>
							 | 
						|||
| 
								 | 
							
								</programlisting>
							 | 
						|||
| 
								 | 
							
								<para>
							 | 
						|||
| 
								 | 
							
								Questo stamper<65>: (l'anno corrente <20> il 2000)
							 | 
						|||
| 
								 | 
							
								</para>
							 | 
						|||
| 
								 | 
							
								<screen>
							 | 
						|||
| 
								 | 
							
								<![CDATA[
							 | 
						|||
| 
								 | 
							
								<select name="StartDateMonth">
							 | 
						|||
| 
								 | 
							
								<option value="1">January</option>
							 | 
						|||
| 
								 | 
							
								<option value="2">February</option>
							 | 
						|||
| 
								 | 
							
								<option value="3">March</option>
							 | 
						|||
| 
								 | 
							
								<option value="4">April</option>
							 | 
						|||
| 
								 | 
							
								<option value="5">May</option>
							 | 
						|||
| 
								 | 
							
								<option value="6">June</option>
							 | 
						|||
| 
								 | 
							
								<option value="7">July</option>
							 | 
						|||
| 
								 | 
							
								<option value="8">August</option>
							 | 
						|||
| 
								 | 
							
								<option value="9">September</option>
							 | 
						|||
| 
								 | 
							
								<option value="10">October</option>
							 | 
						|||
| 
								 | 
							
								<option value="11">November</option>
							 | 
						|||
| 
								 | 
							
								<option value="12" selected="selected">December</option>
							 | 
						|||
| 
								 | 
							
								</select>
							 | 
						|||
| 
								 | 
							
								<select name="StartDateYear">
							 | 
						|||
| 
								 | 
							
								<option value="1995">1995</option>
							 | 
						|||
| 
								 | 
							
								<option value="1996">1996</option>
							 | 
						|||
| 
								 | 
							
								<option value="1997">1997</option>
							 | 
						|||
| 
								 | 
							
								<option value="1998">1998</option>
							 | 
						|||
| 
								 | 
							
								<option value="1999">1999</option>
							 | 
						|||
| 
								 | 
							
								<option value="2000" selected="selected">2000</option>
							 | 
						|||
| 
								 | 
							
								<option value="2001">2001</option>
							 | 
						|||
| 
								 | 
							
								</select>
							 | 
						|||
| 
								 | 
							
								]]>
							 | 
						|||
| 
								 | 
							
								</screen>
							 | 
						|||
| 
								 | 
							
								</example>
							 | 
						|||
| 
								 | 
							
								</sect1>
							 | 
						|||
| 
								 | 
							
								<!-- Keep this comment at the end of the file
							 | 
						|||
| 
								 | 
							
								Local variables:
							 | 
						|||
| 
								 | 
							
								mode: sgml
							 | 
						|||
| 
								 | 
							
								sgml-omittag:t
							 | 
						|||
| 
								 | 
							
								sgml-shorttag:t
							 | 
						|||
| 
								 | 
							
								sgml-minimize-attributes:nil
							 | 
						|||
| 
								 | 
							
								sgml-always-quote-attributes:t
							 | 
						|||
| 
								 | 
							
								sgml-indent-step:1
							 | 
						|||
| 
								 | 
							
								sgml-indent-data:t
							 | 
						|||
| 
								 | 
							
								indent-tabs-mode:nil
							 | 
						|||
| 
								 | 
							
								sgml-parent-document:nil
							 | 
						|||
| 
								 | 
							
								sgml-default-dtd-file:"../../../../manual.ced"
							 | 
						|||
| 
								 | 
							
								sgml-exposed-tags:nil
							 | 
						|||
| 
								 | 
							
								sgml-local-catalogs:nil
							 | 
						|||
| 
								 | 
							
								sgml-local-ecat-files:nil
							 | 
						|||
| 
								 | 
							
								End:
							 | 
						|||
| 
								 | 
							
								vim600: syn=xml fen fdm=syntax fdl=2 si
							 | 
						|||
| 
								 | 
							
								vim: et tw=78 syn=sgml
							 | 
						|||
| 
								 | 
							
								vi: ts=1 sw=1
							 | 
						|||
| 
								 | 
							
								-->
							 |