46 lines
2.7 KiB
HTML
46 lines
2.7 KiB
HTML
|
<div class="formulaire_spip formulaire_configurer formulaire_#FORM formulaire_#FORM-#ENV{id,nouveau}">
|
||
|
<h3 class='titrem'><img src="#CHEMIN_IMAGE{reseau-24.png}" class="cadre-icone" /><:info_sites_proxy:>#AIDER{confhttpproxy}</h3>
|
||
|
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
|
||
|
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
|
||
|
[(#ENV{editable})
|
||
|
#SET{proxy,#VAL{<b><tt>}|concat{'http://proxy:8080','</tt></b>'}}
|
||
|
<p><:texte_proxy{proxy_en_cours=#GET{proxy}}:></p>
|
||
|
<form method='post' action='#ENV{action}'><div>
|
||
|
[(#REM) declarer les hidden qui declencheront le service du formulaire
|
||
|
parametre : url d'action ]
|
||
|
#ACTION_FORMULAIRE
|
||
|
<input type='submit' class='submit' value='<:bouton_enregistrer:>' style="display:none;"/>
|
||
|
<div class="editer-groupe">
|
||
|
#SET{name,http_proxy}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||
|
<div class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
|
||
|
<label for="#GET{name}"><:info_url_proxy:></label>[
|
||
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
||
|
]
|
||
|
<input type="text" class="text" name="#GET{name}" id="#GET{name}" value="#ENV*{#GET{name}}"
|
||
|
onchange="if (jQuery(this).val()) jQuery('.editer_test_proxy:hidden').show('fast'); else jQuery('.editer_test_proxy:visible').hide('fast');"
|
||
|
/>
|
||
|
</div>
|
||
|
#SET{exemple,#VAL{<b><tt>}|concat{'127.0.0.1 .mondomaine.net','</tt></b>'}}
|
||
|
#SET{name,http_noproxy}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||
|
<div class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
|
||
|
<label for="#GET{name}"><:info_exceptions_proxy:></label>[
|
||
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
||
|
]<p class="explication"><:pas_de_proxy_pour{exemple=#GET{exemple}}:></p>
|
||
|
<input type="text" class="text" name="#GET{name}" id="#GET{name}" value="#ENV*{#GET{name}}" />
|
||
|
</div>
|
||
|
#SET{name,test_proxy}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||
|
<div class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"[(#ENV{http_proxy}|strlen|non)style='display:none;']>
|
||
|
<label for="#GET{name}"><:info_url_test_proxy:></label>[
|
||
|
<span class='erreur_message'>(#GET{erreurs})</span>
|
||
|
]<p class="explication"><:texte_test_proxy:></p>
|
||
|
<input type="text" class="text" name="#GET{name}" id="#GET{name}" value="#ENV*{#GET{name}}" />
|
||
|
<input type='submit' class='submit' name="tester_proxy" value='<:bouton_test_proxy:>' />
|
||
|
</div>
|
||
|
</div>
|
||
|
[(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
|
||
|
<!--extra-->
|
||
|
<p class='boutons'><span class='image_loading'> </span><input type='submit' class='submit' value='<:bouton_enregistrer:>' /></p>
|
||
|
</div></form>
|
||
|
]
|
||
|
</div>
|