Changeset 65861 in spip-zone
- Timestamp:
- Sep 14, 2012, 12:47:07 PM (8 years ago)
- Location:
- _squelettes_/sarkaspip/trunk/formulaires
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_backend.html
r65841 r65861 1 <script type="text/javascript">2 //<![CDATA[3 jQuery(document).ready(function() {4 [(#ENV{rss_articles, oui}|!={oui}|oui)5 jQuery("#bloc_rss_articles").hide();6 ]7 [(#ENV{rss_albums, oui}|!={oui}|oui)8 jQuery("#bloc_rss_albums").hide();9 ]10 [(#ENV{rss_evenements, oui}|!={oui}|oui)11 jQuery("#bloc_rss_evenements").hide();12 ]13 jQuery("input[name='rss_articles']").change(function() {14 if (jQuery("input[name='rss_articles']:checked").val() == 'oui') {15 jQuery("#bloc_rss_articles").show();16 }17 else {18 jQuery("#bloc_rss_articles").hide();19 }20 jQuery(this).blur();21 });22 jQuery("input[name='rss_albums']").change(function() {23 if (jQuery("input[name='rss_albums']:checked").val() == 'oui') {24 jQuery("#bloc_rss_albums").show();25 }26 else {27 jQuery("#bloc_rss_albums").hide();28 }29 jQuery(this).blur();30 });31 jQuery("input[name='rss_evenements']").change(function() {32 if (jQuery("input[name='rss_evenements']:checked").val() == 'oui') {33 jQuery("#bloc_rss_evenements").show();34 }35 else {36 jQuery("#bloc_rss_evenements").hide();37 }38 jQuery(this).blur();39 });40 });41 //]]>42 </script>43 44 1 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 45 2 … … 52 9 <fieldset> 53 10 <legend><:sarkaspip:cfg_lgd_rss_articles:></legend> 11 <ul> 54 12 <INCLURE{fond=formulaires/inc/cfg_flux_rss} 55 13 {explication=<:sarkaspip:cfg_inf_rss_articles:>} 56 14 {suffixe=_articles} 57 15 {env}> 16 </ul> 58 17 </fieldset> 59 18 60 19 <fieldset> 61 20 <legend><:sarkaspip:cfg_lgd_rss_albums:></legend> 21 <ul> 62 22 <INCLURE{fond=formulaires/inc/cfg_flux_rss} 63 23 {explication=<:sarkaspip:cfg_inf_rss_albums:>} 64 24 {suffixe=_albums} 65 25 {env}> 26 </ul> 66 27 </fieldset> 67 28 68 29 <fieldset> 69 30 <legend><:sarkaspip:cfg_lgd_rss_evenements:></legend> 31 <ul> 70 32 <INCLURE{fond=formulaires/inc/cfg_flux_rss} 71 33 {explication=<:sarkaspip:cfg_inf_rss_evenements:>} 72 34 {suffixe=_evenements} 73 35 {env}> 36 </ul> 74 37 </fieldset> 75 38 … … 85 48 ] 86 49 </div> 50 <script type="text/javascript"> 51 /*<![CDATA[*/ 52 jQuery(document).ready(function() { 53 [(#ENV{rss_articles, oui}|!={oui}|oui) 54 jQuery("#bloc_rss_articles").hide(); 55 ] 56 [(#ENV{rss_albums, oui}|!={oui}|oui) 57 jQuery("#bloc_rss_albums").hide(); 58 ] 59 [(#ENV{rss_evenements, oui}|!={oui}|oui) 60 jQuery("#bloc_rss_evenements").hide(); 61 ] 62 jQuery("input[name='rss_articles']").change(function() { 63 if (jQuery("input[name='rss_articles']:checked").val() == 'oui') { 64 jQuery("#bloc_rss_articles").show('fast'); 65 } 66 else { 67 jQuery("#bloc_rss_articles").hide('fast'); 68 } 69 jQuery(this).blur(); 70 }); 71 jQuery("input[name='rss_albums']").change(function() { 72 if (jQuery("input[name='rss_albums']:checked").val() == 'oui') { 73 jQuery("#bloc_rss_albums").show('fast'); 74 } 75 else { 76 jQuery("#bloc_rss_albums").hide('fast'); 77 } 78 jQuery(this).blur(); 79 }); 80 jQuery("input[name='rss_evenements']").change(function() { 81 if (jQuery("input[name='rss_evenements']:checked").val() == 'oui') { 82 jQuery("#bloc_rss_evenements").show('fast'); 83 } 84 else { 85 jQuery("#bloc_rss_evenements").hide('fast'); 86 } 87 jQuery(this).blur(); 88 }); 89 }); 90 /*]]>*/ 91 </script> 92 <style>li.fieldset.suite>fieldset {padding-left: 30px;border-top:0;}</style> -
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_bandeau.html
r65841 r65861 1 <script type="text/javascript"> 2 //<![CDATA[ 1 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 2 3 <h3 class="titrem"><:sarkaspip:cfg_boite_bandeau:></h3> 4 5 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 6 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 7 <form method="post" action="#ENV{action}"><div> 8 #ACTION_FORMULAIRE{#ENV{action}} 9 <fieldset> 10 <legend><:sarkaspip:cfg_lgd_bandeau_haut:></legend> 11 <ul> 12 #SET{name,haut}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 13 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 14 <label><:sarkaspip:cfg_inf_bandeau_haut:></label>[ 15 <span class='erreur_message'>(#GET{erreurs})</span> 16 ] 17 #SET{val,1} 18 <div class="choix"> 19 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 20 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 21 </div> 22 #SET{val,0} 23 <div class="choix"> 24 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 25 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 26 </div> 27 </li> 28 <li class="fieldset suite" id="bloc_haut"><fieldset> 29 <ul> 30 #SET{name,haut_minheight}#SET{defaut,50}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 31 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 32 <label for="#GET{name}"><:sarkaspip:cfg_lbl_hauteur_minimale:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 33 <span class='erreur_message'>(#GET{erreurs})</span> 34 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 35 </li> 36 #SET{name,logo_reduit}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 37 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 38 <label><:sarkaspip:cfg_inf_logo_reduit:></label>[ 39 <span class='erreur_message'>(#GET{erreurs})</span> 40 ] 41 #SET{val,1} 42 <div class="choix"> 43 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 44 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 45 </div> 46 #SET{val,0} 47 <div class="choix"> 48 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 49 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 50 </div> 51 </li> 52 <li class="fieldset suite" id="bloc_logo"><fieldset> 53 <ul> 54 #SET{name,taille_logo}#SET{defaut,150}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 55 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 56 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_logo:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 57 <span class='erreur_message'>(#GET{erreurs})</span> 58 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 59 </li> 60 </ul></fieldset> 61 </li> 62 #SET{name,titre_site}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 63 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 64 <label><:sarkaspip:cfg_inf_titre_site:></label>[ 65 <span class='erreur_message'>(#GET{erreurs})</span> 66 ] 67 #SET{val,1} 68 <div class="choix"> 69 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 70 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 71 </div> 72 #SET{val,0} 73 <div class="choix"> 74 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 75 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 76 </div> 77 </li> 78 #SET{name,slogan}#SET{defaut,''}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 79 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 80 <label for="#GET{name}"><:sarkaspip:cfg_lbl_slogan:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 81 <span class='erreur_message'>(#GET{erreurs})</span> 82 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 83 </li> 84 </ul></fieldset> 85 </li> 86 87 </ul> 88 </fieldset> 89 90 #SET{menu_horizontal_affiche, non} 91 [(#CONFIG{sarkaspip_menus/position_rubriques, 1}|=={5}|oui) 92 #SET{menu_horizontal_affiche, oui} 93 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_rubriques:>})] 94 ] 95 [(#CONFIG{sarkaspip_menus/position_secteurs, 0}|=={5}|oui) 96 #SET{menu_horizontal_affiche, oui} 97 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_secteurs:>})] 98 ] 99 [(#CONFIG{sarkaspip_menus/position_pages, 1}|=={5}|oui) 100 #SET{menu_horizontal_affiche, oui} 101 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_pages_speciales:>})] 102 ] 103 [(#CONFIG{sarkaspip_menus/position_perso, 0}|=={5}|oui) 104 #SET{menu_horizontal_affiche, oui} 105 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_perso:>})] 106 ] 107 <fieldset> 108 <legend><:sarkaspip:cfg_lgd_bandeau_bas:></legend> 109 <ul> 110 #SET{name,bas}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 111 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 112 <label><:sarkaspip:cfg_inf_bandeau_bas:></label>[ 113 <span class='erreur_message'>(#GET{erreurs})</span> 114 ] 115 #SET{val,1} 116 <div class="choix"> 117 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 118 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 119 </div> 120 #SET{val,0} 121 <div class="choix"> 122 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 123 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 124 </div> 125 </li> 126 <li class="fieldset suite" id="bloc_bas"><fieldset> 127 <ul> 128 #SET{name,bas_minheight}#SET{defaut,23}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 129 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 130 <label for="#GET{name}"><:sarkaspip:cfg_lbl_hauteur_minimale:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 131 <span class='erreur_message'>(#GET{erreurs})</span> 132 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 133 </li> 134 [(#GET{menu_horizontal_affiche}|=={oui}|oui) 135 <li class="editer pleine_largeur"> 136 <p class="explication"><:sarkaspip:cfg_inf_bandeau_bas_menu{lbl_menu=#GET{menu_horizontal_modele}}:></p> 137 </li> 138 #SET{name,menu_align}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 139 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 140 <label><:sarkaspip:cfg_inf_alignement_menu:></label>[ 141 <span class='erreur_message'>(#GET{erreurs})</span> 142 ] 143 #SET{val,0} 144 <div class="choix"> 145 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 146 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_align_gauche:></label> 147 </div> 148 #SET{val,auto} 149 <div class="choix"> 150 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 151 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_align_centre:></label> 152 </div> 153 </li> 154 ] 155 #SET{name,item_align}#SET{defaut,left}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 156 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 157 <label><:sarkaspip:cfg_inf_alignement_item:></label>[ 158 <span class='erreur_message'>(#GET{erreurs})</span> 159 ] 160 #SET{val,left} 161 <div class="choix"> 162 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 163 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_align_gauche:></label> 164 </div> 165 #SET{val,center} 166 <div class="choix"> 167 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 168 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_align_centre:></label> 169 </div> 170 </li> 171 <li class="fieldset suite" id="bloc_largeur_item"><fieldset> 172 <ul> 173 #SET{name,item_largeur}#SET{defaut,150}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 174 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 175 <label for="#GET{name}"><:sarkaspip:cfg_lbl_largeur_item:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 176 <span class='erreur_message'>(#GET{erreurs})</span> 177 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 178 </li> 179 </ul></fieldset> 180 </li> 181 <li class="fieldset suite" id="bloc_largeur_menu"><fieldset> 182 <ul> 183 #SET{name,menu_largeur}#SET{defaut,600}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 184 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 185 <label for="#GET{name}"><:sarkaspip:cfg_lbl_largeur_menu:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 186 <span class='erreur_message'>(#GET{erreurs})</span> 187 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 188 </li> 189 </ul></fieldset> 190 </li> 191 </ul></fieldset> 192 </li> 193 </ul> 194 </fieldset> 195 196 <fieldset> 197 <legend><:sarkaspip:cfg_lgd_bandeau_chemin:></legend> 198 <ul> 199 #SET{name,chemin}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 200 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 201 <label><:sarkaspip:cfg_inf_bandeau_chemin:></label>[ 202 <span class='erreur_message'>(#GET{erreurs})</span> 203 ] 204 #SET{val,0} 205 <div class="choix"> 206 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 207 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 208 </div> 209 #SET{val,1} 210 <div class="choix"> 211 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 212 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 213 </div> 214 </li> 215 </ul> 216 </fieldset> 217 218 <INCLURE{fond=formulaires/inc/cfg_boutons}> 219 </div></form> 220 221 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui) 222 <div id="bloc_debug"> 223 <br /> 224 >> Debug - Etat des variables du fond Bandeau:<br /> 225 [(#VAL{sarkaspip_bandeau}|afficher_config)] 226 </div> 227 ] 228 </div> 229 <script type="text/javascript">/*<![CDATA[*/ 3 230 jQuery(document).ready(function() { 4 231 [(#ENV{haut, 1}|=={0}|oui) … … 12 239 jQuery("input[name='haut']").change(function() { 13 240 if (jQuery("input[name='haut']:checked").val() == 1) 14 jQuery("#bloc_haut").show( );241 jQuery("#bloc_haut").show('fast'); 15 242 else { 16 243 jQuery("#menu_raccourci_defaut").attr({checked: "checked"}); 17 jQuery("#bloc_haut").hide( );18 } 19 jQuery(this).blur(); 20 }); 244 jQuery("#bloc_haut").hide('fast'); 245 } 246 jQuery(this).blur(); 247 }); 21 248 jQuery("input[name='bas']").change(function() { 22 249 if (jQuery("input[name='bas']:checked").val() == 1) 23 jQuery("#bloc_bas").show( );24 else { 25 jQuery("#bloc_bas").hide( );26 } 27 jQuery(this).blur(); 28 }); 250 jQuery("#bloc_bas").show('fast'); 251 else { 252 jQuery("#bloc_bas").hide('fast'); 253 } 254 jQuery(this).blur(); 255 }); 29 256 jQuery("input[name='menu_align']").change(function() { 30 257 if (jQuery("input[name='menu_align']:checked").val() == 0) 31 jQuery("#bloc_largeur_menu").hide( );32 else { 33 jQuery("#bloc_largeur_menu").show( );258 jQuery("#bloc_largeur_menu").hide('fast'); 259 else { 260 jQuery("#bloc_largeur_menu").show('fast'); 34 261 jQuery("input[name='item_largeur']").attr({value: "150"}); 35 262 } 36 263 jQuery(this).blur(); 37 }); 264 }); 38 265 jQuery("input[name='logo_reduit']").change(function() { 39 266 if (jQuery("input[name='logo_reduit']:checked").val() == 1) 40 jQuery("#bloc_logo").show( );41 else { 42 jQuery("#bloc_logo").hide( );43 } 44 jQuery(this).blur(); 45 }); 267 jQuery("#bloc_logo").show('fast'); 268 else { 269 jQuery("#bloc_logo").hide('fast'); 270 } 271 jQuery(this).blur(); 272 }); 46 273 }); 47 //]]> 48 </script> 49 50 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 51 52 <h3 class="titrem"><:sarkaspip:cfg_boite_bandeau:></h3> 53 54 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 55 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 56 <form method="post" action="#ENV{action}"><div> 57 #ACTION_FORMULAIRE{#ENV{action}} 58 <fieldset> 59 <legend><:sarkaspip:cfg_lgd_bandeau_haut:></legend> 60 <p><:sarkaspip:cfg_inf_bandeau_haut:></p> 61 <label> 62 <input type="radio" name="haut" value="1" [(#ENV{haut, 1}|=={1}|?{checked="checked"})] /> 63 <:sarkaspip:cfg_lbl_oui:> 64 </label> 65 <label> 66 <input type="radio" name="haut" value="0" [(#ENV{haut, 1}|=={0}|?{checked="checked"})] /> 67 <:sarkaspip:cfg_lbl_non:> 68 </label> 69 70 <div id="bloc_haut"> 71 <br /> 72 <label><:sarkaspip:cfg_lbl_hauteur_minimale:></label> 73 <input type="text" name="haut_minheight" value="#ENV{haut_minheight, 50}" size="3" class="fondl" /> 74 <br /> 75 <p><:sarkaspip:cfg_inf_logo_reduit:></p> 76 <label> 77 <input type="radio" name="logo_reduit" value="1" [(#ENV{logo_reduit, 1}|=={1}|?{checked="checked"})] /> 78 <:sarkaspip:cfg_lbl_oui:> 79 </label> 80 <label> 81 <input type="radio" name="logo_reduit" value="0" [(#ENV{logo_reduit, 1}|=={0}|?{checked="checked"})] /> 82 <:sarkaspip:cfg_lbl_non:> 83 </label> 84 <div id="bloc_logo"> 85 <label><:sarkaspip:cfg_lbl_taille_logo:></label> 86 <input type="text" name="taille_logo" value="#ENV{taille_logo, 150}" size="3" class="fondl" /> 87 </div> 88 <br /> 89 <p><:sarkaspip:cfg_inf_titre_site:></p> 90 <label> 91 <input type="radio" name="titre_site" value="1" [(#ENV{titre_site, 1}|=={1}|?{checked="checked"})] /> 92 <:sarkaspip:cfg_lbl_oui:> 93 </label> 94 <label> 95 <input type="radio" name="titre_site" value="0" [(#ENV{titre_site, 1}|=={0}|?{checked="checked"})] /> 96 <:sarkaspip:cfg_lbl_non:> 97 </label> 98 <br /><br /> 99 <label><:sarkaspip:cfg_lbl_slogan:></label> 100 <input type="text" name="slogan" value="#ENV{slogan}" size="40" class="fondl" /> 101 <br /> 102 </div> 103 </fieldset> 104 105 #SET{menu_horizontal_affiche, non} 106 [(#CONFIG{sarkaspip_menus/position_rubriques, 1}|=={5}|oui) 107 #SET{menu_horizontal_affiche, oui} 108 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_rubriques:>})] 109 ] 110 [(#CONFIG{sarkaspip_menus/position_secteurs, 0}|=={5}|oui) 111 #SET{menu_horizontal_affiche, oui} 112 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_secteurs:>})] 113 ] 114 [(#CONFIG{sarkaspip_menus/position_pages, 1}|=={5}|oui) 115 #SET{menu_horizontal_affiche, oui} 116 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_pages_speciales:>})] 117 ] 118 [(#CONFIG{sarkaspip_menus/position_perso, 0}|=={5}|oui) 119 #SET{menu_horizontal_affiche, oui} 120 [(#SET{menu_horizontal_modele, <:sarkaspip:cfg_lgd_menu_perso:>})] 121 ] 122 <fieldset> 123 <legend><:sarkaspip:cfg_lgd_bandeau_bas:></legend> 124 <p><:sarkaspip:cfg_inf_bandeau_bas:></p> 125 <label> 126 <input type="radio" name="bas" value="1" [(#ENV{bas, 0}|=={1}|?{checked="checked"})] /> 127 <:sarkaspip:cfg_lbl_oui:> 128 </label> 129 <label> 130 <input type="radio" name="bas" value="0" [(#ENV{bas, 0}|=={0}|?{checked="checked"})] /> 131 <:sarkaspip:cfg_lbl_non:> 132 </label> 133 <br /> 134 <div id="bloc_bas"> 135 <label><:sarkaspip:cfg_lbl_hauteur_minimale:></label> 136 <input type="text" name="bas_minheight" value="#ENV{bas_minheight, 23}" size="3" class="fondl" /> 137 <br /> 138 [(#GET{menu_horizontal_affiche}|=={oui}|oui) 139 <p><:sarkaspip:cfg_inf_bandeau_bas_menu{lbl_menu=#GET{menu_horizontal_modele}}:></p> 140 <p><:sarkaspip:cfg_inf_alignement_menu:></p> 141 <label> 142 <input type="radio" name="menu_align" value="0" [(#ENV{menu_align, 0}|=={0}|?{checked="checked"})] /> 143 <:sarkaspip:cfg_lbl_align_gauche:> 144 </label> 145 <label> 146 <input type="radio" name="menu_align" value="auto" [(#ENV{menu_align, 0}|=={auto}|?{checked="checked"})] /> 147 <:sarkaspip:cfg_lbl_align_centre:> 148 </label> 149 <p><:sarkaspip:cfg_inf_alignement_item:></p> 150 <label> 151 <input type="radio" name="item_align" value="left" [(#ENV{item_align, left}|=={left}|?{checked="checked"})] /> 152 <:sarkaspip:cfg_lbl_align_gauche:> 153 </label> 154 <label> 155 <input type="radio" name="item_align" value="center" [(#ENV{item_align, left}|=={center}|?{checked="checked"})] /> 156 <:sarkaspip:cfg_lbl_align_centre:> 157 </label> 158 <div id="bloc_largeur_item"> 159 <br /> 160 <label> 161 <:sarkaspip:cfg_lbl_largeur_item:> 162 <input type="text" name="item_largeur" value="#ENV{item_largeur, 150}" size="4" class="fondl" /> 163 </label> 164 </div> 165 <div id="bloc_largeur_menu"> 166 <label> 167 <:sarkaspip:cfg_lbl_largeur_menu:> 168 <input type="text" name="menu_largeur" value="#ENV{menu_largeur, 600}" size="4" class="fondl" /> 169 </label> 170 </div> 171 ] 172 </div> 173 </fieldset> 174 175 <fieldset> 176 <legend><:sarkaspip:cfg_lgd_bandeau_chemin:></legend> 177 <p><:sarkaspip:cfg_inf_bandeau_chemin:></p> 178 <label> 179 <input type="radio" name="chemin" value="1" [(#ENV{chemin, 1}|=={1}|?{checked="checked"})] /> 180 <:sarkaspip:cfg_lbl_oui:> 181 </label> 182 <label> 183 <input type="radio" name="chemin" value="0" [(#ENV{chemin, 1}|=={0}|?{checked="checked"})] /> 184 <:sarkaspip:cfg_lbl_non:> 185 </label> 186 <br /> 187 </fieldset> 188 189 <INCLURE{fond=formulaires/inc/cfg_boutons}> 190 </div></form> 191 192 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui) 193 <div id="bloc_debug"> 194 <br /> 195 >> Debug - Etat des variables du fond Bandeau:<br /> 196 [(#VAL{sarkaspip_bandeau}|afficher_config)] 197 </div> 198 ] 199 </div> 274 /*]]>*/</script> 275 <style>li.fieldset.suite>fieldset {padding-left: 30px;border-top:0;}</style> -
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_coins.html
r65841 r65861 1 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 2 3 <h3 class="titrem"><:sarkaspip:cfg_boite_coins:></h3> 4 5 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 6 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 7 <form method="post" action="#ENV{action}"><div> 8 #ACTION_FORMULAIRE{#ENV{action}} 9 10 <fieldset> 11 <legend><:sarkaspip:cfg_lgd_coins:></legend> 12 <ul> 13 #SET{name,avec_arrondis}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 14 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 15 <label><:sarkaspip:cfg_inf_coins:></label>[ 16 <span class='erreur_message'>(#GET{erreurs})</span> 17 ] 18 #SET{val,1} 19 <div class="choix"> 20 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 21 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 22 </div> 23 #SET{val,0} 24 <div class="choix"> 25 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 26 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 27 </div> 28 </li> 29 </ul> 30 </fieldset> 31 32 <div id="bloc_coins"> 33 <!-- Configuration du bandeau --> 34 <fieldset> 35 <legend><:sarkaspip:cfg_lgd_coins_bandeau:></legend> 36 <ul> 37 #SET{name,modele_bandeau}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 38 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 39 <label><img id="bloc_image_bandeau" src="[(#CHEMIN{[prive/themes/spip/images/coins_bandeau(#ENV{modele_bandeau, 0}).png]})]" alt="Coins bandeau #ENV{modele_bandeau, 0}"/></label>[ 40 <span class='erreur_message'>(#GET{erreurs})</span> 41 ] 42 <BOUCLE_c1(DATA){enum 0,4}> 43 #SET{val,#VALEUR} 44 <div class="choix"> 45 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 46 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_coins_bandeau_}|concat{#VALEUR}|_T)]</label> 47 </div> 48 </BOUCLE_c1> 49 </li> 50 #SET{name,taille_bandeau}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 51 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 52 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_arrondi:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 53 <span class='erreur_message'>(#GET{erreurs})</span> 54 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 55 </li> 56 </ul> 57 </fieldset> 58 59 <!-- Configuration du pied --> 60 <fieldset> 61 <legend><:sarkaspip:cfg_lgd_coins_pied:></legend> 62 <ul> 63 #SET{name,modele_pied}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 64 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 65 <label><img id="bloc_image_pied" src="[(#CHEMIN{[prive/themes/spip/images/coins_pied(#ENV{modele_pied, 0}).png]})]" alt="Coins pied #ENV{modele_pied, 0}"/></label>[ 66 <span class='erreur_message'>(#GET{erreurs})</span> 67 ] 68 <BOUCLE_c2(DATA){enum 0,2}> 69 #SET{val,#VALEUR} 70 <div class="choix"> 71 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 72 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_coins_pied_}|concat{#VALEUR}|_T)]</label> 73 </div> 74 </BOUCLE_c2> 75 </li> 76 #SET{name,taille_pied}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 77 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 78 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_arrondi:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 79 <span class='erreur_message'>(#GET{erreurs})</span> 80 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 81 </li> 82 </ul> 83 </fieldset> 84 85 <!-- Configuration des menus formulaires et pages speciales --> 86 <fieldset> 87 <legend><:sarkaspip:cfg_lgd_coins_nav:></legend> 88 <ul> 89 #SET{name,modele_nav}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 90 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 91 <label><img id="bloc_image_nav" src="[(#CHEMIN{[prive/themes/spip/images/coins_nav(#ENV{modele_nav, 0}).png]})]" alt="Coins menus formulaires et pages speciales #ENV{modele_nav, 0}"/></label>[ 92 <span class='erreur_message'>(#GET{erreurs})</span> 93 ] 94 <BOUCLE_c3(DATA){enum 0,2}> 95 #SET{val,#VALEUR} 96 <div class="choix"> 97 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 98 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_coins_nav_}|concat{#VALEUR}|_T)]</label> 99 </div> 100 </BOUCLE_c3> 101 </li> 102 #SET{name,taille_nav_cadre}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 103 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 104 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_arrondi:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 105 <span class='erreur_message'>(#GET{erreurs})</span> 106 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 107 </li> 108 </ul> 109 </fieldset> 110 111 <!-- Configuration du formulaire de recherche --> 112 <fieldset> 113 <legend><:sarkaspip:cfg_lgd_coins_recherche:></legend> 114 <ul> 115 #SET{name,modele_recherche}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 116 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 117 <label><img id="bloc_image_recherche" src="[(#CHEMIN{[prive/themes/spip/images/coins_recherche(#ENV{modele_recherche, 0}).png]})]" alt="Coins formulaire de recherche #ENV{modele_recherche, 0}"/></label>[ 118 <span class='erreur_message'>(#GET{erreurs})</span> 119 ] 120 <BOUCLE_c4(DATA){enum 0,1}> 121 #SET{val,#VALEUR} 122 <div class="choix"> 123 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 124 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_coins_recherche_}|concat{#VALEUR}|_T)]</label> 125 </div> 126 </BOUCLE_c4> 127 </li> 128 #SET{name,taille_recherche}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 129 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 130 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_arrondi:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 131 <span class='erreur_message'>(#GET{erreurs})</span> 132 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 133 </li> 134 </ul> 135 </fieldset> 136 137 <!-- Configuration des noisettes des colonnes --> 138 <fieldset> 139 <legend><:sarkaspip:cfg_lgd_coins_noisettes:></legend> 140 <ul> 141 #SET{name,modele_noisette}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 142 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 143 <label><img id="bloc_image_noisette" src="[(#CHEMIN{[prive/themes/spip/images/coins_noisette(#ENV{modele_noisette, 0}).png]})]" alt="Coins des noisettes #ENV{modele_noisette, 0}"/></label>[ 144 <span class='erreur_message'>(#GET{erreurs})</span> 145 ] 146 <BOUCLE_c5(DATA){enum 0,4}> 147 #SET{val,#VALEUR} 148 <div class="choix"> 149 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 150 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_coins_noisette_}|concat{#VALEUR}|_T)]</label> 151 </div> 152 </BOUCLE_c5> 153 </li> 154 #SET{name,taille_noisette}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 155 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 156 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_arrondi:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 157 <span class='erreur_message'>(#GET{erreurs})</span> 158 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 159 </li> 160 </ul> 161 </fieldset> 162 163 <!-- Configuration de l'edito et de la une --> 164 <fieldset> 165 <legend><:sarkaspip:cfg_lgd_coins_edito:></legend> 166 <ul> 167 #SET{name,modele_edito}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 168 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 169 <label><img id="bloc_image_edito" src="[(#CHEMIN{[prive/themes/spip/images/coins_edito(#ENV{modele_edito, 0}).png]})]" alt="Coins edito #ENV{modele_edito, 0}"/></label>[ 170 <span class='erreur_message'>(#GET{erreurs})</span> 171 ] 172 <BOUCLE_c6(DATA){enum 0,1}> 173 #SET{val,#VALEUR} 174 <div class="choix"> 175 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 176 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_coins_edito_}|concat{#VALEUR}|_T)]</label> 177 </div> 178 </BOUCLE_c6> 179 </li> 180 #SET{name,taille_edito}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 181 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 182 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_arrondi:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 183 <span class='erreur_message'>(#GET{erreurs})</span> 184 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 185 </li> 186 </ul> 187 </fieldset> 188 189 <!-- Configuration des extraits --> 190 <fieldset> 191 <legend><:sarkaspip:cfg_lgd_coins_extrait:></legend> 192 <ul> 193 #SET{name,modele_extrait}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 194 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 195 <label><img id="bloc_image_extrait" src="[(#CHEMIN{[prive/themes/spip/images/coins_extrait(#ENV{modele_extrait, 0}).png]})]" alt="Coins extrait #ENV{modele_extrait, 0}"/></label>[ 196 <span class='erreur_message'>(#GET{erreurs})</span> 197 ] 198 <BOUCLE_c7(DATA){enum 0,1}> 199 #SET{val,#VALEUR} 200 <div class="choix"> 201 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 202 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_coins_extrait_}|concat{#VALEUR}|_T)]</label> 203 </div> 204 </BOUCLE_c7> 205 </li> 206 #SET{name,taille_extrait}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 207 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 208 <label for="#GET{name}"><:sarkaspip:cfg_lbl_taille_arrondi:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 209 <span class='erreur_message'>(#GET{erreurs})</span> 210 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 211 </li> 212 </ul> 213 </fieldset> 214 </div> 215 216 <INCLURE{fond=formulaires/inc/cfg_boutons}> 217 </div></form> 218 219 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui) 220 <div id="bloc_debug"> 221 <br /> 222 >> Debug - Etat des variables du fond Coins:<br /> 223 [(#VAL{sarkaspip_coins}|afficher_config)] 224 </div> 225 ] 226 </div> 1 227 <script type="text/javascript"> 2 / /<![CDATA[228 /*<![CDATA[*/ 3 229 jQuery(document).ready(function() { 4 230 [(#ENV{avec_arrondis, 0}|!={1}|oui) jQuery("#bloc_coins").hide();] … … 7 233 jQuery("input[name='avec_arrondis']").change(function() { 8 234 if (jQuery("input[name='avec_arrondis']:checked").val() == 1) { 9 jQuery("#bloc_coins").show( );235 jQuery("#bloc_coins").show('fast'); 10 236 } 11 237 else { 12 jQuery("#bloc_coins").hide( );13 } 14 jQuery(this).blur(); 15 }); 16 238 jQuery("#bloc_coins").hide('fast'); 239 } 240 jQuery(this).blur(); 241 }); 242 17 243 // Traitement des vignettes du bandeau 18 244 jQuery("input[name='modele_bandeau']").click(function() { … … 25 251 } 26 252 jQuery(this).blur(); 27 }); 28 253 }); 254 29 255 // Traitement des vignettes du pied 30 256 jQuery("input[name='modele_pied']").click(function() { … … 35 261 } 36 262 jQuery(this).blur(); 37 }); 38 263 }); 264 39 265 // Traitement des vignettes des menus des pages speciales et formulaires 40 266 jQuery("input[name='modele_nav']").click(function() { … … 45 271 } 46 272 jQuery(this).blur(); 47 }); 48 273 }); 274 49 275 // Traitement des vignettes du formulaire de recherche 50 276 jQuery("input[name='modele_recherche']").click(function() { … … 54 280 } 55 281 jQuery(this).blur(); 56 }); 57 282 }); 283 58 284 // Traitement des vignettes des colonnes 59 285 jQuery("input[name='modele_noisette']").click(function() { … … 66 292 } 67 293 jQuery(this).blur(); 68 }); 69 294 }); 295 70 296 // Traitement des vignettes de l'edito 71 297 jQuery("input[name='modele_edito']").click(function() { … … 75 301 } 76 302 jQuery(this).blur(); 77 }); 78 303 }); 304 79 305 // Traitement des vignettes des extraits 80 306 jQuery("input[name='modele_extrait']").click(function() { … … 84 310 } 85 311 jQuery(this).blur(); 86 }); 312 }); 87 313 88 314 }); 89 / /]]>315 /*]]>*/ 90 316 </script> 91 92 <div class="formulaire_spip formulaire_configurer formulaire_#FORM">93 94 <h3 class="titrem"><:sarkaspip:cfg_boite_coins:></h3>95 96 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]97 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]98 <form method="post" action="#ENV{action}"><div>99 #ACTION_FORMULAIRE{#ENV{action}}100 101 <fieldset>102 <legend><:sarkaspip:cfg_lgd_coins:></legend>103 <p><:sarkaspip:cfg_inf_coins:></p>104 <label>105 <input type="radio" name="avec_arrondis" value="1" [(#ENV{avec_arrondis, 0}|=={1}|?{checked="checked"})] />106 <:sarkaspip:cfg_lbl_oui:>107 </label>108 <label>109 <input type="radio" name="avec_arrondis" value="0" [(#ENV{avec_arrondis, 0}|=={0}|?{checked="checked"})] />110 <:sarkaspip:cfg_lbl_non:>111 </label>112 </fieldset>113 114 <div id="bloc_coins">115 <!-- Configuration du bandeau -->116 <fieldset>117 <legend><:sarkaspip:cfg_lgd_coins_bandeau:></legend>118 <table style="border: 0; width:100%;"><tr>119 <td>120 <label>121 <input type="radio" name="modele_bandeau" value="0" [(#ENV{modele_bandeau, 0}|=={0}|?{checked="checked"})] />122 <:sarkaspip:cfg_lbl_coins_bandeau_0:>123 </label>124 <br />125 <label>126 <input type="radio" name="modele_bandeau" value="1" [(#ENV{modele_bandeau, 0}|=={1}|?{checked="checked"})] />127 <:sarkaspip:cfg_lbl_coins_bandeau_1:>128 </label>129 <br />130 <label>131 <input type="radio" name="modele_bandeau" value="2" [(#ENV{modele_bandeau, 0}|=={2}|?{checked="checked"})] />132 <:sarkaspip:cfg_lbl_coins_bandeau_2:>133 </label>134 <br />135 <label>136 <input type="radio" name="modele_bandeau" value="3" [(#ENV{modele_bandeau, 0}|=={3}|?{checked="checked"})] />137 <:sarkaspip:cfg_lbl_coins_bandeau_3:>138 </label>139 <br />140 <label>141 <input type="radio" name="modele_bandeau" value="4" [(#ENV{modele_bandeau, 0}|=={4}|?{checked="checked"})] />142 <:sarkaspip:cfg_lbl_coins_bandeau_4:>143 </label>144 </td>145 <td style="text-align: center;">146 <img id="bloc_image_bandeau" src="[(#CHEMIN{[prive/themes/spip/images/coins_bandeau(#ENV{modele_bandeau, 0}).png]})]" alt="Coins bandeau #ENV{modele_bandeau, 0}"/>147 </td>148 </tr></table>149 <br />150 <label><:sarkaspip:cfg_lbl_taille_arrondi:>151 <input type="text" name="taille_bandeau" value="#ENV{taille_bandeau, 10}" size="3" class="fondl" />152 <:sarkaspip:cfg_lbl_pixel:>153 </label>154 </fieldset>155 156 <!-- Configuration du pied -->157 <fieldset>158 <legend><:sarkaspip:cfg_lgd_coins_pied:></legend>159 <table style="border: 0; width:100%;"><tr>160 <td>161 <label>162 <input type="radio" name="modele_pied" value="0" [(#ENV{modele_pied, 0}|=={0}|?{checked="checked"})] />163 <:sarkaspip:cfg_lbl_coins_pied_0:>164 </label>165 <br />166 <label>167 <input type="radio" name="modele_pied" value="1" [(#ENV{modele_pied, 0}|=={1}|?{checked="checked"})] />168 <:sarkaspip:cfg_lbl_coins_pied_1:>169 </label>170 <br />171 <label>172 <input type="radio" name="modele_pied" value="2" [(#ENV{modele_pied, 0}|=={2}|?{checked="checked"})] />173 <:sarkaspip:cfg_lbl_coins_pied_2:>174 </label>175 </td>176 <td style="text-align: center;">177 <img id="bloc_image_pied" src="[(#CHEMIN{[prive/themes/spip/images/coins_pied(#ENV{modele_pied, 0}).png]})]" alt="Coins pied #ENV{modele_pied, 0}"/>178 </td>179 </tr></table>180 <br />181 <label><:sarkaspip:cfg_lbl_taille_arrondi:>182 <input type="text" name="taille_pied" value="#ENV{taille_pied, 10}" size="3" class="fondl" />183 <:sarkaspip:cfg_lbl_pixel:>184 </label>185 </fieldset>186 187 <!-- Configuration des menus formulaires et pages speciales -->188 <fieldset>189 <legend><:sarkaspip:cfg_lgd_coins_nav:></legend>190 <table style="border: 0; width:100%;"><tr>191 <td>192 <label>193 <input type="radio" name="modele_nav" value="0" [(#ENV{modele_nav, 0}|=={0}|?{checked="checked"})] />194 <:sarkaspip:cfg_lbl_coins_nav_0:>195 </label>196 <br />197 <label>198 <input type="radio" name="modele_nav" value="1" [(#ENV{modele_nav, 0}|=={1}|?{checked="checked"})] />199 <:sarkaspip:cfg_lbl_coins_nav_1:>200 </label>201 <br />202 <label>203 <input type="radio" name="modele_nav" value="2" [(#ENV{modele_nav, 0}|=={2}|?{checked="checked"})] />204 <:sarkaspip:cfg_lbl_coins_nav_2:>205 </label>206 </td>207 <td style="text-align: center;">208 <img id="bloc_image_nav" src="[(#CHEMIN{[prive/themes/spip/images/coins_nav(#ENV{modele_nav, 0}).png]})]" alt="Coins menus formulaires et pages speciales #ENV{modele_nav, 0}"/>209 </td>210 </tr></table>211 <br />212 <label><:sarkaspip:cfg_lbl_taille_arrondi:>213 <input type="text" name="taille_nav_cadre" value="#ENV{taille_nav_cadre, 10}" size="3" class="fondl" />214 <:sarkaspip:cfg_lbl_pixel:>215 </label>216 </fieldset>217 218 <!-- Configuration du formulaire de recherche -->219 <fieldset>220 <legend><:sarkaspip:cfg_lgd_coins_recherche:></legend>221 <table style="border: 0; width:100%;"><tr>222 <td>223 <label>224 <input type="radio" name="modele_recherche" value="0" [(#ENV{modele_recherche, 0}|=={0}|?{checked="checked"})] />225 <:sarkaspip:cfg_lbl_coins_recherche_0:>226 </label>227 <br />228 <label>229 <input type="radio" name="modele_recherche" value="1" [(#ENV{modele_recherche, 0}|=={1}|?{checked="checked"})] />230 <:sarkaspip:cfg_lbl_coins_recherche_1:>231 </label>232 </td>233 <td style="text-align: center;">234 <img id="bloc_image_recherche" src="[(#CHEMIN{[prive/themes/spip/images/coins_recherche(#ENV{modele_recherche, 0}).png]})]" alt="Coins formulaire de recherche #ENV{modele_recherche, 0}"/>235 </td>236 </tr></table>237 <br />238 <label><:sarkaspip:cfg_lbl_taille_arrondi:>239 <input type="text" name="taille_recherche" value="#ENV{taille_recherche, 10}" size="3" class="fondl" />240 <:sarkaspip:cfg_lbl_pixel:>241 </label>242 </fieldset>243 244 <!-- Configuration des noisettes des colonnes -->245 <fieldset>246 <legend><:sarkaspip:cfg_lgd_coins_noisettes:></legend>247 <table style="border: 0; width:100%;"><tr>248 <td>249 <label>250 <input type="radio" name="modele_noisette" value="0" [(#ENV{modele_noisette, 0}|=={0}|?{checked="checked"})] />251 <:sarkaspip:cfg_lbl_coins_noisette_0:>252 </label>253 <br />254 <label>255 <input type="radio" name="modele_noisette" value="1" [(#ENV{modele_noisette, 0}|=={1}|?{checked="checked"})] />256 <:sarkaspip:cfg_lbl_coins_noisette_1:>257 </label>258 <br />259 <label>260 <input type="radio" name="modele_noisette" value="2" [(#ENV{modele_noisette, 0}|=={2}|?{checked="checked"})] />261 <:sarkaspip:cfg_lbl_coins_noisette_2:>262 </label>263 <br />264 <label>265 <input type="radio" name="modele_noisette" value="3" [(#ENV{modele_noisette, 0}|=={3}|?{checked="checked"})] />266 <:sarkaspip:cfg_lbl_coins_noisette_3:>267 </label>268 <br />269 <label>270 <input type="radio" name="modele_noisette" value="4" [(#ENV{modele_noisette, 0}|=={4}|?{checked="checked"})] />271 <:sarkaspip:cfg_lbl_coins_noisette_4:>272 </label>273 </td>274 <td style="text-align: center;">275 <img id="bloc_image_noisette" src="[(#CHEMIN{[prive/themes/spip/images/coins_noisette(#ENV{modele_noisette, 0}).png]})]" alt="Coins des noisettes #ENV{modele_noisette, 0}"/>276 </td>277 </tr></table>278 <br />279 <label><:sarkaspip:cfg_lbl_taille_arrondi:>280 <input type="text" name="taille_noisette" value="#ENV{taille_noisette, 10}" size="3" class="fondl" />281 <:sarkaspip:cfg_lbl_pixel:>282 </label>283 </fieldset>284 285 <!-- Configuration de l'edito et de la une -->286 <fieldset>287 <legend><:sarkaspip:cfg_lgd_coins_edito:></legend>288 <table style="border: 0; width:100%;"><tr>289 <td>290 <label>291 <input type="radio" name="modele_edito" value="0" [(#ENV{modele_edito, 0}|=={0}|?{checked="checked"})] />292 <:sarkaspip:cfg_lbl_coins_edito_0:>293 </label>294 <br />295 <label>296 <input type="radio" name="modele_edito" value="1" [(#ENV{modele_edito, 0}|=={1}|?{checked="checked"})] />297 <:sarkaspip:cfg_lbl_coins_edito_1:>298 </label>299 </td>300 <td style="text-align: center;">301 <img id="bloc_image_edito" src="[(#CHEMIN{[prive/themes/spip/images/coins_edito(#ENV{modele_edito, 0}).png]})]" alt="Coins edito #ENV{modele_edito, 0}"/>302 </td>303 </tr></table>304 <br />305 <label><:sarkaspip:cfg_lbl_taille_arrondi:>306 <input type="text" name="taille_edito" value="#ENV{taille_edito, 10}" size="3" class="fondl" />307 <:sarkaspip:cfg_lbl_pixel:>308 </label>309 </fieldset>310 311 <!-- Configuration des extraits -->312 <fieldset>313 <legend><:sarkaspip:cfg_lgd_coins_extrait:></legend>314 <table style="border: 0; width:100%;"><tr>315 <td>316 <label>317 <input type="radio" name="modele_extrait" value="0" [(#ENV{modele_extrait, 0}|=={0}|?{checked="checked"})] />318 <:sarkaspip:cfg_lbl_coins_extrait_0:>319 </label>320 <br />321 <label>322 <input type="radio" name="modele_extrait" value="1" [(#ENV{modele_extrait, 0}|=={1}|?{checked="checked"})] />323 <:sarkaspip:cfg_lbl_coins_extrait_1:>324 </label>325 </td>326 <td style="text-align: center;">327 <img id="bloc_image_extrait" src="[(#CHEMIN{[prive/themes/spip/images/coins_extrait(#ENV{modele_extrait, 0}).png]})]" alt="Coins extrait #ENV{modele_extrait, 0}"/>328 </td>329 </tr></table>330 <br />331 <label><:sarkaspip:cfg_lbl_taille_arrondi:>332 <input type="text" name="taille_extrait" value="#ENV{taille_extrait, 10}" size="3" class="fondl" />333 <:sarkaspip:cfg_lbl_pixel:>334 </label>335 </fieldset>336 </div>337 338 <INCLURE{fond=formulaires/inc/cfg_boutons}>339 </div></form>340 341 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui)342 <div id="bloc_debug">343 <br />344 >> Debug - Etat des variables du fond Coins:<br />345 [(#VAL{sarkaspip_coins}|afficher_config)]346 </div>347 ]348 </div> -
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_header.html
r65841 r65861 8 8 #ACTION_FORMULAIRE{#ENV{action}} 9 9 <fieldset> 10 <label><:sarkaspip:cfg_lbl_meta_auteur:></label><br /> 11 <input type="text" name="auteur_site" value="[(#ENV{auteur_site, <:sarkaspip:realisation_squelette:>})]" size="40" class="fondl" /> 12 <br /> 13 <br /> 14 <label><:sarkaspip:cfg_lbl_meta_robot:></label> 15 <input type="text" name="recurrence_robot" value="#ENV{recurrence_robot, 30}" size="3" class="fondl" /> 16 <br /> 17 <br /> 18 <p><:sarkaspip:cfg_inf_meta_keywords:></p> 19 <label> 20 <textarea name="keywords_site" rows="4" cols="40" style="width:100%;">[(#ENV{keywords_site})]</textarea> 21 </label> 10 <ul> 11 #SET{name,auteur_site}[(#SET{defaut,<:sarkaspip:realisation_squelette:>})]#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 12 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 13 <label for="#GET{name}"><:sarkaspip:cfg_lbl_meta_auteur:></label>[ 14 <span class='erreur_message'>(#GET{erreurs})</span> 15 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 16 </li> 17 #SET{name,recurrence_robot}#SET{defaut,30}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 18 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 19 <label for="#GET{name}"><:sarkaspip:cfg_lbl_meta_robot:></label>[ 20 <span class='erreur_message'>(#GET{erreurs})</span> 21 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 22 </li> 23 #SET{name,keywords_site}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 24 <li class="editer pleine_largeur editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 25 <label for="#GET{name}"><:sarkaspip:cfg_inf_meta_keywords:></label>[ 26 <span class='erreur_message'>(#GET{erreurs})</span> 27 ]<textarea name="#GET{name}" class="textarea"> 28 #ENV*{#GET{name}}</textarea> 29 </li> 30 </ul> 22 31 </fieldset> 23 32 -
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_layout.html
r65841 r65861 1 <script type="text/javascript"> 2 //<![CDATA[ 1 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 2 3 <h3 class="titrem"><:sarkaspip:cfg_boite_layout:></h3> 4 5 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 6 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 7 <form method="post" action="#ENV{action}"><div> 8 #ACTION_FORMULAIRE{#ENV{action}} 9 <fieldset> 10 <legend><:sarkaspip:cfg_lgd_layout:></legend> 11 <p><img style="float:#LANG_RIGHT" id="bloc_layout_image" src="[(#CHEMIN{[prive/themes/spip/images/layout(#ENV{numero_layout, 13}).gif]})]" alt="Layout #ENV{numero_layout, 13}"/> 12 <:sarkaspip:cfg_inf_layout:></p> 13 <ul> 14 #SET{name,numero_layout}#SET{defaut,13}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 15 <li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 16 <label><:sarkaspip:cfg_lgd_layout_fixe:></label>[ 17 <span class='erreur_message'>(#GET{erreurs})</span> 18 ] 19 <BOUCLE_lf(DATA){liste 7,8,9,10,11,12,34}> 20 #SET{val,#VALEUR} 21 <div class="choix"> 22 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 23 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_layout_}|concat{#VALEUR|str_pad{2,0,#EVAL{STR_PAD_LEFT}}}|_T)]</label> 24 </div> 25 </BOUCLE_lf> 26 </li> 27 <li class="fieldset suite" id="bloc_largeur"><fieldset> 28 <ul> 29 #SET{name,largeur_site}#SET{defaut,700}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 30 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 31 <label for="#GET{name}"><:sarkaspip:cfg_lbl_largeur_site:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 32 <span class='erreur_message'>(#GET{erreurs})</span> 33 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 34 </li> 35 #SET{name,appliquer_padding}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 36 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 37 <label><:sarkaspip:cfg_lbl_appliquer_padding:></label>[ 38 <span class='erreur_message'>(#GET{erreurs})</span> 39 ] 40 #SET{val,1} 41 <div class="choix"> 42 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 43 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 44 </div> 45 #SET{val,0} 46 <div class="choix"> 47 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 48 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 49 </div> 50 </li> 51 </ul></fieldset> 52 </li> 53 <li class="fieldset suite" id="bloc_marge"><fieldset> 54 <ul> 55 #SET{name,largeur_padding}#SET{defaut,20}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 56 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 57 <label for="#GET{name}"><:sarkaspip:cfg_lbl_largeur_padding:> (<:sarkaspip:cfg_lbl_pixel:>)</label>[ 58 <span class='erreur_message'>(#GET{erreurs})</span> 59 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 60 </li> 61 </ul></fieldset> 62 </li> 63 #SET{name,numero_layout}#SET{defaut,13}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 64 <li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 65 <label><:sarkaspip:cfg_lgd_layout_fluide:></label>[ 66 <span class='erreur_message'>(#GET{erreurs})</span> 67 ] 68 <BOUCLE_lfl(DATA){liste 13,14,15,16,17,18}> 69 #SET{val,#VALEUR} 70 <div class="choix"> 71 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 72 <label for="#GET{name}_#GET{val}">[(#VAL{sarkaspip:cfg_lbl_layout_}|concat{#VALEUR|str_pad{2,0,#EVAL{STR_PAD_LEFT}}}|_T)]</label> 73 </div> 74 </BOUCLE_lfl> 75 </li> 76 </ul> 77 </fieldset> 78 79 <INCLURE{fond=formulaires/inc/cfg_boutons}> 80 </div></form> 81 82 83 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui) 84 <div id="bloc_debug"> 85 <br /> 86 >> Debug - Etat des variables du fond Layout:<br /> 87 [(#VAL{sarkaspip_layout}|afficher_config)] 88 </div> 89 ] 90 </div> 91 <script type="text/javascript">/*<![CDATA[*/ 3 92 jQuery(document).ready(function() { 4 93 [(#ENV{appliquer_padding, 0}|!={1}|oui) jQuery("#bloc_marge").hide();] … … 18 107 case '16' :jQuery("#bloc_layout_image").attr({src: "[(#CHEMIN{prive/themes/spip/images/layout16.gif})]"});break; 19 108 case '17' :jQuery("#bloc_layout_image").attr({src: "[(#CHEMIN{prive/themes/spip/images/layout17.gif})]"});break; 20 case '18' :jQuery("#bloc_layout_image").attr({src: "[(#CHEMIN{prive/themes/spip/images/layout18.gif})]"});break; 109 case '18' :jQuery("#bloc_layout_image").attr({src: "[(#CHEMIN{prive/themes/spip/images/layout18.gif})]"});break; 21 110 case '34' :jQuery("#bloc_layout_image").attr({src: "[(#CHEMIN{prive/themes/spip/images/layout34.gif})]"});break; 22 default : jQuery("#bloc_largeur").hide();break; 111 default : jQuery("#bloc_largeur").hide();break; 23 112 } 24 113 jQuery(this).blur(); 25 }); 26 27 jQuery("input[name='appliquer_padding']").change(function() { 28 if (jQuery("input[name='appliquer_padding']:checked").val() == 1) { 29 jQuery("#bloc_marge").show(); 30 } 31 else { 32 jQuery("#bloc_marge").hide(); 33 } 34 jQuery(this).blur(); 35 }); 36 114 }); 115 37 116 jQuery("input[name='numero_layout']").change(function() { 38 117 switch(jQuery("input[name='numero_layout']:checked").val()){ … … 43 122 case '11' : 44 123 case '12' : 45 case '34' :jQuery("#bloc_largeur").show();break; 46 default : jQuery("#bloc_largeur").hide();break; 124 case '34' : 125 jQuery("#bloc_largeur").show('fast'); 126 if (jQuery("input[name='appliquer_padding']:checked").val() == 1) { 127 jQuery("#bloc_marge").show('fast'); 128 } 129 break; 130 default : jQuery("#bloc_largeur,#bloc_marge").hide('fast');break; 47 131 } 48 132 jQuery(this).blur(); 49 }); 133 }); 134 135 jQuery("input[name='appliquer_padding']").change(function() { 136 if (jQuery("input[name='appliquer_padding']:checked").val() == 1) { 137 jQuery("#bloc_marge").show('fast'); 138 } 139 else { 140 jQuery("#bloc_marge").hide('fast'); 141 } 142 jQuery(this).blur(); 143 }); 50 144 }); 51 //]]> 52 </script> 53 54 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 55 56 <h3 class="titrem"><:sarkaspip:cfg_boite_layout:></h3> 57 58 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 59 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 60 <form method="post" action="#ENV{action}"><div> 61 #ACTION_FORMULAIRE{#ENV{action}} 62 <fieldset> 63 <legend><:sarkaspip:cfg_lgd_layout:></legend> 64 <p><:sarkaspip:cfg_inf_layout:></p> 65 <table style="border: 0; width:100%;"><tr> 66 <td> 67 <fieldset style="border: 0"> 68 <legend style="font-weight:bold;"><:sarkaspip:cfg_lgd_layout_fixe:></legend> 69 <label> 70 <input type="radio" name="numero_layout" value="7" [(#ENV{numero_layout, 13}|=={7}|?{checked="checked"})] /> 71 <:sarkaspip:cfg_lbl_layout_07:> 72 </label> 73 <br /> 74 <label> 75 <input type="radio" name="numero_layout" value="8" [(#ENV{numero_layout, 13}|=={8}|?{checked="checked"})] /> 76 <:sarkaspip:cfg_lbl_layout_08:> 77 </label> 78 <br /> 79 <label> 80 <input type="radio" name="numero_layout" value="9" [(#ENV{numero_layout, 13}|=={9}|?{checked="checked"})] /> 81 <:sarkaspip:cfg_lbl_layout_09:> 82 </label> 83 <br /> 84 <label> 85 <input type="radio" name="numero_layout" value="10" [(#ENV{numero_layout, 13}|=={10}|?{checked="checked"})] /> 86 <:sarkaspip:cfg_lbl_layout_10:> 87 </label> 88 <br /> 89 <label> 90 <input type="radio" name="numero_layout" value="11" [(#ENV{numero_layout, 13}|=={11}|?{checked="checked"})] /> 91 <:sarkaspip:cfg_lbl_layout_11:> 92 </label> 93 <br /> 94 <label> 95 <input type="radio" name="numero_layout" value="12" [(#ENV{numero_layout, 13}|=={12}|?{checked="checked"})] /> 96 <:sarkaspip:cfg_lbl_layout_12:> 97 </label> 98 <br /> 99 <label> 100 <input type="radio" name="numero_layout" value="34" [(#ENV{numero_layout, 13}|=={34}|?{checked="checked"})] /> 101 <:sarkaspip:cfg_lbl_layout_34:> 102 </label> 103 <br /> 104 <div id="bloc_largeur"> 105 <br /> 106 <label><:sarkaspip:cfg_lbl_largeur_site:> 107 <input type="text" name="largeur_site" value="#ENV{largeur_site, 700}" size="4" class="fondl" /> 108 <:sarkaspip:cfg_lbl_pixel:> 109 </label> 110 <br /> 111 <p><:sarkaspip:cfg_lbl_appliquer_padding:></p> 112 <label> 113 <input type="radio" name="appliquer_padding" value="1" [(#ENV{appliquer_padding, 0}|=={1}|?{checked="checked"})] /> 114 <:sarkaspip:cfg_lbl_oui:> 115 </label> 116 <label> 117 <input type="radio" name="appliquer_padding" value="0" [(#ENV{appliquer_padding, 0}|=={0}|?{checked="checked"})] /> 118 <:sarkaspip:cfg_lbl_non:> 119 </label> 120 <div id="bloc_marge"> 121 <br /> 122 <label><:sarkaspip:cfg_lbl_largeur_padding:> 123 <input type="text" name="largeur_padding" value="#ENV{largeur_padding, 20}" size="3" class="fondl" /> 124 <:sarkaspip:cfg_lbl_pixel:> 125 </label> 126 </div> 127 </div> 128 </fieldset> 129 130 <br /> 131 132 <fieldset style="border: 0;"> 133 <legend style="font-weight:bold;"><:sarkaspip:cfg_lgd_layout_fluide:></legend> 134 <label> 135 <input type="radio" name="numero_layout" value="13" [(#ENV{numero_layout, 13}|=={13}|?{checked="checked"})] /> 136 <:sarkaspip:cfg_lbl_layout_13:> 137 </label> 138 <br /> 139 <label> 140 <input type="radio" name="numero_layout" value="14" [(#ENV{numero_layout, 13}|=={14}|?{checked="checked"})] /> 141 <:sarkaspip:cfg_lbl_layout_14:> 142 </label> 143 <br /> 144 <label> 145 <input type="radio" name="numero_layout" value="15" [(#ENV{numero_layout, 13}|=={15}|?{checked="checked"})] /> 146 <:sarkaspip:cfg_lbl_layout_15:> 147 </label> 148 <br /> 149 <label> 150 <input type="radio" name="numero_layout" value="16" [(#ENV{numero_layout, 13}|=={16}|?{checked="checked"})] /> 151 <:sarkaspip:cfg_lbl_layout_16:> 152 </label> 153 <br /> 154 <label> 155 <input type="radio" name="numero_layout" value="17" [(#ENV{numero_layout, 13}|=={17}|?{checked="checked"})] /> 156 <:sarkaspip:cfg_lbl_layout_17:> 157 </label> 158 <br /> 159 <label> 160 <input type="radio" name="numero_layout" value="18" [(#ENV{numero_layout, 13}|=={18}|?{checked="checked"})] /> 161 <:sarkaspip:cfg_lbl_layout_18:> 162 </label> 163 </fieldset> 164 </td> 165 <td> 166 <img id="bloc_layout_image" src="[(#CHEMIN{[prive/themes/spip/images/layout(#ENV{numero_layout, 13}).gif]})]" alt="Layout #ENV{numero_layout, 13}"/> 167 </td> 168 </tr></table> 169 </fieldset> 170 171 <INCLURE{fond=formulaires/inc/cfg_boutons}> 172 </div></form> 173 174 175 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui) 176 <div id="bloc_debug"> 177 <br /> 178 >> Debug - Etat des variables du fond Layout:<br /> 179 [(#VAL{sarkaspip_layout}|afficher_config)] 180 </div> 181 ] 182 </div> 145 /*]]>*/</script> 146 <style>li.fieldset.suite>fieldset {padding-left: 30px;border-top:0;}</style> -
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_menus.html
r65841 r65861 1 <script type="text/javascript">2 //<![CDATA[3 jQuery(document).ready(function() {4 [(#ENV{modele_rubriques, 1}|!={1}|?{jQuery("#bloc_option2").hide();})]5 [(#ENV{modele_rubriques, 1}|=={0}|?{jQuery("#bloc_option1").hide();})]6 [(#ENV{position_rubriques, 1}|=={0}|?{jQuery("#bloc_modele1").hide();})]7 [(#ENV{position_perso, 0}|=={0}|?{jQuery("#bloc_liens").hide();})]8 9 jQuery("input[name='position_rubriques']").change(function() {10 if (jQuery("input[name='position_rubriques']:checked").val() == 0) {11 jQuery("#bloc_modele1").hide();12 }13 else {14 jQuery("#bloc_modele1").show();15 }16 jQuery(this).blur();17 });18 19 jQuery("input[name='modele_rubriques']").change(function() {20 if (jQuery("input[name='modele_rubriques']:checked").val() == 1) {21 jQuery("#bloc_option1").show();22 jQuery("#bloc_option2").show();23 jQuery("#option_rubriques_0").attr({checked: "checked"});24 }25 else if (jQuery("input[name='modele_rubriques']:checked").val() == 0) {26 jQuery("#bloc_option2").hide();27 jQuery("#bloc_option1").hide();28 }29 else {30 jQuery("#bloc_option1").show();31 jQuery("#bloc_option2").hide();32 jQuery("#option_rubriques_0").attr({checked: "checked"});33 }34 jQuery(this).blur();35 });36 37 jQuery("input[name='position_perso']").change(function() {38 if (jQuery("input[name='position_perso']:checked").val() == 0) {39 jQuery("#bloc_liens").hide();}40 else {41 jQuery("#bloc_liens").show();}42 43 jQuery(this).blur();44 });45 });46 //]]>47 </script>48 49 1 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 50 2 … … 58 10 <fieldset> 59 11 <legend><:sarkaspip:cfg_lgd_menu_rubriques:></legend> 60 <p><:sarkaspip:cfg_inf_menu_rubriques:></p> 61 <label> 62 <input type="radio" name="position_rubriques" value="0" [(#ENV{position_rubriques, 1}|=={0}|?{checked="checked"})] /> 63 <:sarkaspip:cfg_lbl_inc_position_0:> 64 </label> 65 <br /> 66 <label> 67 <input type="radio" name="position_rubriques" value="1" [(#ENV{position_rubriques, 1}|=={1}|?{checked="checked"})] /> 68 <:sarkaspip:cfg_lbl_inc_position_1:> 69 </label> 70 <br /> 71 <label> 72 <input type="radio" name="position_rubriques" value="5" [(#ENV{position_rubriques, 1}|=={5}|?{checked="checked"})] /> 73 <:sarkaspip:cfg_lbl_inc_position_5:> 74 </label> 75 <br /> 76 <div id="bloc_modele1"> 77 <p><:sarkaspip:cfg_inf_menu_modele_rubriques:></p> 78 <label> 79 <input type="radio" name="modele_rubriques" value="1" [(#ENV{modele_rubriques, 1}|=={1}|?{checked="checked"})] /> 80 <:sarkaspip:cfg_lbl_inc_rubriques_1:> 81 </label> 82 <br /> 83 <label> 84 <input type="radio" name="modele_rubriques" value="2" [(#ENV{modele_rubriques, 1}|=={2}|?{checked="checked"})] /> 85 <:sarkaspip:cfg_lbl_inc_rubriques_2:> 86 </label> 87 <br /> 88 <label> 89 <input type="radio" name="modele_rubriques" value="3" [(#ENV{modele_rubriques, 1}|=={3}|?{checked="checked"})] /> 90 <:sarkaspip:cfg_lbl_inc_rubriques_3:> 91 </label> 92 <div id="bloc_option1"> 93 <p><:sarkaspip:cfg_inf_menu_option1:></p> 94 <label> 95 <input type="radio" name="option_rubriques" id="option_rubriques_0" value="0" [(#ENV{option_rubriques, 0}|=={0}|?{checked="checked"})] /> 96 <:sarkaspip:cfg_lbl_menu_option1_1:> 97 </label> 98 <br /> 99 <label id="bloc_option2"> 100 <input type="radio" name="option_rubriques" value="1" [(#ENV{option_rubriques, 0}|=={1}|?{checked="checked"})] /> 101 <:sarkaspip:cfg_lbl_menu_option1_2:> 102 <br /> 103 </label> 104 <label> 105 <input type="radio" name="option_rubriques" value="2" [(#ENV{option_rubriques, 0}|=={2}|?{checked="checked"})] /> 106 <:sarkaspip:cfg_lbl_menu_option1_3:> 107 </label> 108 </div> 109 </div> 12 <ul> 13 #SET{name,position_rubriques}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 14 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 15 <label><:sarkaspip:cfg_inf_menu_rubriques:></label>[ 16 <span class='erreur_message'>(#GET{erreurs})</span> 17 ] 18 #SET{val,0} 19 <div class="choix"> 20 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 21 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 22 </div> 23 #SET{val,1} 24 <div class="choix"> 25 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 26 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 27 </div> 28 #SET{val,5} 29 <div class="choix"> 30 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 31 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_5:></label> 32 </div> 33 </li> 34 <li class="fieldset suite" id="bloc_modele1"><fieldset> 35 <ul> 36 #SET{name,modele_rubriques}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 37 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 38 <label><:sarkaspip:cfg_inf_menu_rubriques:></label>[ 39 <span class='erreur_message'>(#GET{erreurs})</span> 40 ] 41 #SET{val,1} 42 <div class="choix"> 43 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 44 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_rubriques_1:></label> 45 </div> 46 #SET{val,2} 47 <div class="choix"> 48 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 49 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_rubriques_2:></label> 50 </div> 51 #SET{val,3} 52 <div class="choix"> 53 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 54 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_rubriques_3:></label> 55 </div> 56 </li> 57 <li class="fieldset suite" id="bloc_option1"><fieldset> 58 <ul> 59 #SET{name,option_rubriques}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 60 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 61 <label><:sarkaspip:cfg_inf_menu_rubriques:></label>[ 62 <span class='erreur_message'>(#GET{erreurs})</span> 63 ] 64 #SET{val,0} 65 <div class="choix"> 66 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 67 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_menu_option1_1:></label> 68 </div> 69 #SET{val,1} 70 <div class="choix" id="bloc_option2"> 71 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 72 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_menu_option1_2:></label> 73 </div> 74 #SET{val,2} 75 <div class="choix"> 76 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 77 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_menu_option1_3:></label> 78 </div> 79 </li> 80 </ul></fieldset> 81 </li> 82 </ul></fieldset> 83 </li> 84 </ul> 110 85 </fieldset> 111 86 … … 113 88 <fieldset> 114 89 <legend><:sarkaspip:cfg_lgd_menu_secteurs:></legend> 115 <p><:sarkaspip:cfg_inf_menu_secteurs:></p> 116 <label> 117 <input type="radio" name="position_secteurs" value="0" [(#ENV{position_secteurs, 0}|=={0}|?{checked="checked"})] /> 118 <:sarkaspip:cfg_lbl_inc_position_0:> 119 </label> 120 <br /> 121 <label> 122 <input type="radio" name="position_secteurs" value="5" [(#ENV{position_secteurs, 0}|=={5}|?{checked="checked"})] /> 123 <:sarkaspip:cfg_lbl_inc_position_5:> 124 </label> 125 <br /> 90 <ul> 91 #SET{name,position_secteurs}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 92 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 93 <label><:sarkaspip:cfg_inf_menu_secteurs:></label>[ 94 <span class='erreur_message'>(#GET{erreurs})</span> 95 ] 96 #SET{val,0} 97 <div class="choix"> 98 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 99 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 100 </div> 101 #SET{val,5} 102 <div class="choix"> 103 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 104 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_5:></label> 105 </div> 106 </li> 107 </ul> 126 108 </fieldset> 127 109 … … 129 111 <fieldset> 130 112 <legend><:sarkaspip:cfg_lgd_menu_pages_speciales:></legend> 131 <p><:sarkaspip:cfg_inf_menu_pages_speciales:></p> 132 <label> 133 <input type="radio" name="position_pages" value="0" [(#ENV{position_pages, 1}|=={0}|?{checked="checked"})] /> 134 <:sarkaspip:cfg_lbl_inc_position_0:> 135 </label> 136 <br /> 137 <label> 138 <input type="radio" name="position_pages" value="1" [(#ENV{position_pages, 1}|=={1}|?{checked="checked"})] /> 139 <:sarkaspip:cfg_lbl_inc_position_1:> 140 </label> 141 <br /> 142 <label> 143 <input type="radio" name="position_pages" value="4" [(#ENV{position_pages, 1}|=={4}|?{checked="checked"})] /> 144 <:sarkaspip:cfg_lbl_inc_position_4:> 145 </label> 146 <br /> 147 <label> 148 <input type="radio" name="position_pages" value="5" [(#ENV{position_pages, 1}|=={5}|?{checked="checked"})] /> 149 <:sarkaspip:cfg_lbl_inc_position_5:> 150 </label> 151 <br /> 113 <ul> 114 #SET{name,position_pages}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 115 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 116 <label><:sarkaspip:cfg_inf_menu_pages_speciales:></label>[ 117 <span class='erreur_message'>(#GET{erreurs})</span> 118 ] 119 #SET{val,0} 120 <div class="choix"> 121 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 122 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 123 </div> 124 #SET{val,1} 125 <div class="choix"> 126 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 127 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 128 </div> 129 #SET{val,4} 130 <div class="choix"> 131 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 132 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_4:></label> 133 </div> 134 #SET{val,5} 135 <div class="choix"> 136 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 137 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_5:></label> 138 </div> 139 </li> 140 </ul> 152 141 </fieldset> 153 142 … … 155 144 <fieldset> 156 145 <legend><:sarkaspip:cfg_lgd_menu_formulaires:></legend> 157 <p><:sarkaspip:cfg_inf_menu_formulaires:></p> 158 <label> 159 <input type="radio" name="position_formulaires" value="0" [(#ENV{position_formulaires, 1}|=={0}|?{checked="checked"})] /> 160 <:sarkaspip:cfg_lbl_inc_position_0:> 161 </label> 162 <br /> 163 <label> 164 <input type="radio" name="position_formulaires" value="1" [(#ENV{position_formulaires, 1}|=={1}|?{checked="checked"})] /> 165 <:sarkaspip:cfg_lbl_inc_position_1:> 166 </label> 167 <br /> 168 <label> 169 <input type="radio" name="position_formulaires" value="4" [(#ENV{position_formulaires, 1}|=={4}|?{checked="checked"})] /> 170 <:sarkaspip:cfg_lbl_inc_position_4:> 171 </label> 172 <br /> 173 <p><:sarkaspip:cfg_inf_lien_plan:></p> 174 <label> 175 <input type="radio" name="lien_plan" value="1" [(#ENV{lien_plan, 0}|=={1}|?{checked="checked"})] /> 176 <:sarkaspip:cfg_lbl_oui:> 177 </label> 178 <label> 179 <input type="radio" name="lien_plan" value="0" [(#ENV{lien_plan, 0}|=={0}|?{checked="checked"})] /> 180 <:sarkaspip:cfg_lbl_non:> 181 </label> 182 <br /> 146 <ul> 147 #SET{name,position_formulaires}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 148 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 149 <label><:sarkaspip:cfg_inf_menu_formulaires:></label>[ 150 <span class='erreur_message'>(#GET{erreurs})</span> 151 ] 152 #SET{val,0} 153 <div class="choix"> 154 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 155 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 156 </div> 157 #SET{val,1} 158 <div class="choix"> 159 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 160 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 161 </div> 162 #SET{val,4} 163 <div class="choix"> 164 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 165 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_4:></label> 166 </div> 167 </li> 168 #SET{name,lien_plan}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 169 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 170 <label><:sarkaspip:cfg_inf_lien_plan:></label>[ 171 <span class='erreur_message'>(#GET{erreurs})</span> 172 ] 173 #SET{val,1} 174 <div class="choix"> 175 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 176 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 177 </div> 178 #SET{val,0} 179 <div class="choix"> 180 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 181 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 182 </div> 183 </li> 184 </ul> 183 185 </fieldset> 184 186 … … 186 188 <fieldset> 187 189 <legend><:sarkaspip:cfg_lgd_menu_langues:></legend> 188 <p><:sarkaspip:cfg_inf_menu_langues:></p> 189 <label> 190 <input type="radio" name="position_langues" value="0" [(#ENV{position_langues, 4}|=={0}|?{checked="checked"})] /> 191 <:sarkaspip:cfg_lbl_inc_position_0:> 192 </label> 193 <br /> 194 <label> 195 <input type="radio" name="position_langues" value="4" [(#ENV{position_langues, 4}|=={4}|?{checked="checked"})] /> 196 <:sarkaspip:cfg_lbl_inc_position_4:> 197 </label> 198 <br /> 190 <ul> 191 #SET{name,position_langues}#SET{defaut,4}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 192 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 193 <label><:sarkaspip:cfg_inf_menu_langues:></label>[ 194 <span class='erreur_message'>(#GET{erreurs})</span> 195 ] 196 #SET{val,0} 197 <div class="choix"> 198 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 199 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 200 </div> 201 #SET{val,4} 202 <div class="choix"> 203 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 204 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_4:></label> 205 </div> 206 </li> 207 </ul> 199 208 </fieldset> 200 209 … … 203 212 <legend><:sarkaspip:cfg_lgd_menu_perso:></legend> 204 213 <p><:sarkaspip:cfg_inf_menu_perso:></p> 205 <label> 206 <input type="radio" name="position_perso" value="0" [(#ENV{position_perso, 0}|=={0}|?{checked="checked"})] /> 207 <:sarkaspip:cfg_lbl_inc_position_0:> 208 </label> 209 <br /> 210 <label> 211 <input type="radio" name="position_perso" value="5" [(#ENV{position_perso, 0}|=={5}|?{checked="checked"})] /> 212 <:sarkaspip:cfg_lbl_inc_position_5:> 213 </label> 214 <br /> 215 <div id="bloc_liens"> 216 <p><:sarkaspip:cfg_inf_menu_perso_aide:></p> 217 <table> 218 <tr> 219 <th><:sarkaspip:cfg_lbl_lien_texte:></th> 220 <th><:sarkaspip:cfg_lbl_lien_url:></th> 221 </tr> 222 <tr> 223 <td><input type="text" name="lien_texte_1" value="#ENV{lien_texte_1}" size="30" class="fondl" /></td> 224 <td><input type="text" name="lien_url_1" value="[(#ENV{lien_url_1})]" size="40" class="fondl" /></td> 225 </tr> 226 <tr> 227 <td><input type="text" name="lien_texte_2" value="#ENV{lien_texte_2}" size="30" class="fondl" /></td> 228 <td><input type="text" name="lien_url_2" value="[(#ENV{lien_url_2})]" size="40" class="fondl" /></td> 229 </tr> 230 <tr> 231 <td><input type="text" name="lien_texte_3" value="#ENV{lien_texte_3}" size="30" class="fondl" /></td> 232 <td><input type="text" name="lien_url_3" value="[(#ENV{lien_url_3})]" size="40" class="fondl" /></td> 233 </tr> 234 <tr> 235 <td><input type="text" name="lien_texte_4" value="#ENV{lien_texte_4}" size="30" class="fondl" /></td> 236 <td><input type="text" name="lien_url_4" value="[(#ENV{lien_url_4})]" size="40" class="fondl" /></td> 237 </tr> 238 <tr> 239 <td><input type="text" name="lien_texte_5" value="#ENV{lien_texte_5}" size="30" class="fondl" /></td> 240 <td><input type="text" name="lien_url_5" value="[(#ENV{lien_url_5})]" size="40" class="fondl" /></td> 241 </tr> 242 </table> 243 </div> 214 <ul> 215 #SET{name,position_perso}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 216 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 217 <label><:sarkaspip:cfg_inf_menu_langues:></label>[ 218 <span class='erreur_message'>(#GET{erreurs})</span> 219 ] 220 #SET{val,0} 221 <div class="choix"> 222 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 223 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 224 </div> 225 #SET{val,5} 226 <div class="choix"> 227 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 228 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_5:></label> 229 </div> 230 </li> 231 <li class="fieldset suite" id="bloc_liens"><fieldset> 232 <p class="explication"><:sarkaspip:cfg_inf_menu_perso_aide:></p> 233 <ul> 234 <BOUCLE_nb(DATA){enum 1,5}> 235 #SET{name,lien_texte_#VALEUR}#SET{defaut,''}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 236 <li class="editer editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 237 <label for="#GET{name}"><:sarkaspip:cfg_lbl_lien_texte:></label>[ 238 <span class='erreur_message'>(#GET{erreurs})</span> 239 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 240 </li> 241 #SET{name,lien_url_#VALEUR}#SET{defaut,''}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 242 <li class="editer editer_lien_url editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 243 <label for="#GET{name}"><:sarkaspip:cfg_lbl_lien_url:></label>[ 244 <span class='erreur_message'>(#GET{erreurs})</span> 245 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 246 </li> 247 </BOUCLE_nb> 248 </ul></fieldset> 249 </li> 250 </ul> 244 251 </fieldset> 245 252 … … 255 262 ] 256 263 </div> 264 <script type="text/javascript"> 265 /*<![CDATA[*/ 266 jQuery(document).ready(function() { 267 [(#ENV{modele_rubriques, 1}|!={1}|?{jQuery("#bloc_option2").hide();})] 268 [(#ENV{modele_rubriques, 1}|=={0}|?{jQuery("#bloc_option1").hide();})] 269 [(#ENV{position_rubriques, 1}|=={0}|?{jQuery("#bloc_modele1").hide();})] 270 [(#ENV{position_perso, 0}|=={0}|?{jQuery("#bloc_liens").hide();})] 271 272 jQuery("input[name='position_rubriques']").change(function() { 273 if (jQuery("input[name='position_rubriques']:checked").val() == 0) { 274 jQuery("#bloc_modele1").hide('fast'); 275 } 276 else { 277 jQuery("#bloc_modele1").show('fast'); 278 } 279 jQuery(this).blur(); 280 }); 281 282 jQuery("input[name='modele_rubriques']").change(function() { 283 if (jQuery("input[name='modele_rubriques']:checked").val() == 1) { 284 jQuery("#bloc_option1").show('fast'); 285 jQuery("#bloc_option2").show('fast'); 286 jQuery("#option_rubriques_0").attr({checked: "checked"}); 287 } 288 else if (jQuery("input[name='modele_rubriques']:checked").val() == 0) { 289 jQuery("#bloc_option2").hide('fast'); 290 jQuery("#bloc_option1").hide('fast'); 291 } 292 else { 293 jQuery("#bloc_option1").show('fast'); 294 jQuery("#bloc_option2").hide('fast'); 295 jQuery("#option_rubriques_0").attr({checked: "checked"}); 296 } 297 jQuery(this).blur(); 298 }); 299 300 jQuery("input[name='position_perso']").change(function() { 301 if (jQuery("input[name='position_perso']:checked").val() == 0) { 302 jQuery("#bloc_liens").hide('fast');} 303 else { 304 jQuery("#bloc_liens").show('fast');} 305 306 jQuery(this).blur(); 307 }); 308 }); 309 /*]]>*/ 310 </script> 311 <style>li.fieldset.suite>fieldset {padding-left: 30px;border-top:0;} 312 li.editer_lien_texte {padding-bottom: 2px;} 313 li.editer_lien_url {padding-top: 2px;} 314 </style> -
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_noisettes.html
r65841 r65861 1 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 2 3 <h3 class="titrem"><:sarkaspip:cfg_boite_noisettes:></h3> 4 5 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 6 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 7 <form method="post" action="#ENV{action}"><div> 8 #ACTION_FORMULAIRE{#ENV{action}} 9 10 [(#REM) <!-- Choix de la pagination des noisettes de navigation --> ] 11 <fieldset> 12 <legend><:sarkaspip:cfg_lgd_inc_navigation:></legend> 13 <ul> 14 <INCLURE{fond=formulaires/inc/cfg_pagination} 15 {explications=<:sarkaspip:cfg_inf_inc_navigation:>} 16 {defaut_pas=10} 17 {suffixe=_navigation} 18 {choix=sans_position} 19 {env}> 20 </ul> 21 </fieldset> 22 23 [(#REM) <!-- Choix de la pagination des noisettes de filtre --> ] 24 <fieldset> 25 <legend><:sarkaspip:cfg_lgd_inc_filtre:></legend> 26 <ul> 27 <INCLURE{fond=formulaires/inc/cfg_pagination} 28 {explications=<:sarkaspip:cfg_inf_inc_filtre:>} 29 {defaut_pas=10} 30 {suffixe=_filtre} 31 {choix=sans_position} 32 {env}> 33 </ul> 34 </fieldset> 35 36 [(#REM) <!-- Choix de presentation des publications --> ] 37 <fieldset> 38 <legend><:sarkaspip:cfg_lgd_inc_publications:></legend> 39 <ul> 40 #SET{name,position_publications}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 41 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 42 <label><:sarkaspip:cfg_inf_inc_publications:></label>[ 43 <span class='erreur_message'>(#GET{erreurs})</span> 44 ] 45 #SET{val,0} 46 <div class="choix"> 47 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 48 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 49 </div> 50 #SET{val,1} 51 <div class="choix"> 52 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 53 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 54 </div> 55 #SET{val,2} 56 <div class="choix"> 57 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 58 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 59 </div> 60 </li> 61 <li class="fieldset suite" id="bloc_max_publications"><fieldset> 62 <ul> 63 #SET{name,max_publications}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 64 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 65 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_publications:></label>[ 66 <span class='erreur_message'>(#GET{erreurs})</span> 67 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 68 </li> 69 </ul></fieldset> 70 </li> 71 </ul> 72 </fieldset> 73 74 [(#REM) <!-- Choix de presentation du nuage de mots-cles --> ] 75 <fieldset> 76 <legend><:sarkaspip:cfg_lgd_inc_nuage:></legend> 77 [(#PLUGIN{NUAGE}|oui) 78 #SET{name,position_nuage}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 79 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 80 <label><:sarkaspip:cfg_inf_inc_publications:></label>[ 81 <span class='erreur_message'>(#GET{erreurs})</span> 82 ] 83 #SET{val,0} 84 <div class="choix"> 85 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 86 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 87 </div> 88 #SET{val,1} 89 <div class="choix"> 90 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 91 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 92 </div> 93 #SET{val,2} 94 <div class="choix"> 95 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 96 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 97 </div> 98 </li> 99 <li class="fieldset suite" id="bloc_nuage"><fieldset> 100 [(#CONFIG{sarkaspip_recherche/groupes_recherche}|oui) 101 <ul> 102 #SET{name,max_nuage}#SET{defaut,50}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 103 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 104 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_nuage:></label>[ 105 <span class='erreur_message'>(#GET{erreurs})</span> 106 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 107 </li> 108 <INCLURE{fond=formulaires/inc/cfg_groupes_mots} 109 {suffixe=_nuage} 110 {label=<:sarkaspip:cfg_lbl_groupes_mots:>} 111 {id_groupe=#CONFIG{sarkaspip_recherche/groupes_recherche, #ARRAY{0,0}}} 112 {env}> 113 </ul> 114 ] 115 [(#CONFIG{sarkaspip_recherche/groupes_recherche}|non) 116 <p class="explication"><:sarkaspip:cfg_inf_aucun_groupe_nuage:></p> 117 ] 118 </fieldset> 119 </li> 120 ] 121 [(#PLUGIN{NUAGE}|non) 122 #SET{plugin, Nuage} 123 <p class="notice"><:sarkaspip:cfg_inf_plugin_inactif{lbl_plugin=#GET{plugin}}:></p> 124 ] 125 </fieldset> 126 127 [(#REM) <!-- Choix de presentation du mini agenda --> ] 128 <fieldset> 129 <legend><:sarkaspip:cfg_lgd_inc_miniagenda:></legend> 130 <ul> 131 #SET{name,position_miniagenda}#SET{defaut,2}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 132 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 133 <label><:sarkaspip:cfg_inf_inc_miniagenda_pos:></label>[ 134 <span class='erreur_message'>(#GET{erreurs})</span> 135 ] 136 #SET{val,0} 137 <div class="choix"> 138 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 139 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 140 </div> 141 #SET{val,1} 142 <div class="choix"> 143 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 144 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 145 </div> 146 #SET{val,2} 147 <div class="choix"> 148 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 149 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 150 </div> 151 </li> 152 </ul> 153 </fieldset> 154 155 [(#REM) <!-- Choix de presentation des commentaires --> ] 156 <fieldset> 157 <legend><:sarkaspip:cfg_lgd_inc_commentaires:></legend> 158 <ul> 159 #SET{name,position_commentaires}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 160 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 161 <label><:sarkaspip:cfg_inf_inc_commentaires:></label>[ 162 <span class='erreur_message'>(#GET{erreurs})</span> 163 ] 164 #SET{val,0} 165 <div class="choix"> 166 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 167 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 168 </div> 169 #SET{val,1} 170 <div class="choix"> 171 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 172 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 173 </div> 174 #SET{val,2} 175 <div class="choix"> 176 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 177 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 178 </div> 179 </li> 180 <li class="fieldset suite" id="bloc_intro_commentaires"><fieldset> 181 <ul> 182 #SET{name,max_commentaires}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 183 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 184 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_commentaires:></label>[ 185 <span class='erreur_message'>(#GET{erreurs})</span> 186 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 187 </li> 188 #SET{name,intro_commentaire}#SET{defaut,100}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 189 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 190 <label for="#GET{name}"><:sarkaspip:cfg_lbl_intro_commentaires:></label>[ 191 <span class='erreur_message'>(#GET{erreurs})</span> 192 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 193 </li> 194 </ul> 195 </fieldset> 196 </li> 197 </ul> 198 </fieldset> 199 200 [(#REM) <!-- Choix de presentation des messages de forum --> ] 201 <fieldset> 202 <legend><:sarkaspip:cfg_lgd_inc_messages:></legend> 203 <ul> 204 #SET{name,position_messages}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 205 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 206 <label><:sarkaspip:cfg_inf_inc_messages:></label>[ 207 <span class='erreur_message'>(#GET{erreurs})</span> 208 ] 209 #SET{val,0} 210 <div class="choix"> 211 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 212 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 213 </div> 214 #SET{val,1} 215 <div class="choix"> 216 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 217 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 218 </div> 219 #SET{val,2} 220 <div class="choix"> 221 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 222 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 223 </div> 224 </li> 225 <li class="fieldset suite" id="bloc_intro_messages"><fieldset> 226 <ul> 227 #SET{name,max_messages}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 228 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 229 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_messages:></label>[ 230 <span class='erreur_message'>(#GET{erreurs})</span> 231 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 232 </li> 233 #SET{name,intro_message}#SET{defaut,100}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 234 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 235 <label for="#GET{name}"><:sarkaspip:cfg_lbl_intro_messages:></label>[ 236 <span class='erreur_message'>(#GET{erreurs})</span> 237 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 238 </li> 239 </ul> 240 </fieldset> 241 </li> 242 </ul> 243 </fieldset> 244 245 [(#REM) <!-- Choix de presentation des breves --> ] 246 <fieldset> 247 <legend><:sarkaspip:cfg_lgd_inc_breves:></legend> 248 <ul> 249 #SET{name,position_breves}#SET{defaut,2}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 250 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 251 <label><:sarkaspip:cfg_inf_inc_breves_pos:></label>[ 252 <span class='erreur_message'>(#GET{erreurs})</span> 253 ] 254 #SET{val,0} 255 <div class="choix"> 256 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 257 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 258 </div> 259 #SET{val,1} 260 <div class="choix"> 261 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 262 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 263 </div> 264 #SET{val,2} 265 <div class="choix"> 266 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 267 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 268 </div> 269 </li> 270 <li class="fieldset suite" id="bloc_type_breves"><fieldset> 271 <ul> 272 #SET{name,liste_breves}#SET{defaut,2}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 273 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 274 <label><:sarkaspip:cfg_inf_inc_breves_pos:></label>[ 275 <span class='erreur_message'>(#GET{erreurs})</span> 276 ] 277 #SET{val,1} 278 <div class="choix"> 279 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 280 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_breves_1:></label> 281 </div> 282 #SET{val,2} 283 <div class="choix"> 284 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 285 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_breves_2:></label> 286 </div> 287 </li> 288 #SET{name,max_breves}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 289 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 290 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_breves:></label>[ 291 <span class='erreur_message'>(#GET{erreurs})</span> 292 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 293 </li> 294 #SET{name,intro_breve}#SET{defaut,100}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 295 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_intro_breve"> 296 <label for="#GET{name}"><:sarkaspip:cfg_lbl_intro_breve:></label>[ 297 <span class='erreur_message'>(#GET{erreurs})</span> 298 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 299 </li> 300 </ul> 301 </fieldset> 302 </li> 303 </ul> 304 </fieldset> 305 306 [(#REM) <!-- Choix de presentation des articles syndiques des sites references --> ] 307 <fieldset> 308 <legend><:sarkaspip:cfg_lgd_inc_sites:></legend> 309 <ul> 310 #SET{name,liste_sites}#SET{defaut,2}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 311 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 312 <label><:sarkaspip:cfg_inf_inc_sites:></label>[ 313 <span class='erreur_message'>(#GET{erreurs})</span> 314 ] 315 #SET{val,1} 316 <div class="choix"> 317 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 318 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_sites_1:></label> 319 </div> 320 #SET{val,2} 321 <div class="choix"> 322 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 323 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_sites_2:></label> 324 </div> 325 </li> 326 #SET{name,max_sites}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 327 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_max_site"> 328 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_sites:></label>[ 329 <span class='erreur_message'>(#GET{erreurs})</span> 330 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 331 </li> 332 #SET{name,max_syndic}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 333 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 334 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_syndic:></label>[ 335 <span class='erreur_message'>(#GET{erreurs})</span> 336 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 337 </li> 338 </ul> 339 </fieldset> 340 341 [(#REM) <!-- Choix de presentation des sites de l'herbier --> ] 342 <fieldset> 343 <legend><:sarkaspip:cfg_lgd_inc_herbier:></legend> 344 <ul> 345 #SET{name,position_herbier}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 346 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 347 <label><:sarkaspip:cfg_inf_inc_herbier_pos:></label>[ 348 <span class='erreur_message'>(#GET{erreurs})</span> 349 ] 350 #SET{val,0} 351 <div class="choix"> 352 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 353 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 354 </div> 355 #SET{val,1} 356 <div class="choix"> 357 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 358 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 359 </div> 360 #SET{val,2} 361 <div class="choix"> 362 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 363 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 364 </div> 365 </li> 366 <li class="fieldset suite" id="bloc_type_herbier"><fieldset> 367 <ul> 368 #SET{name,liste_herbier}#SET{defaut,2}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 369 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 370 <label><:sarkaspip:cfg_inf_inc_breves_pos:></label>[ 371 <span class='erreur_message'>(#GET{erreurs})</span> 372 ] 373 #SET{val,1} 374 <div class="choix"> 375 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 376 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_herbier_1:></label> 377 </div> 378 #SET{val,2} 379 <div class="choix"> 380 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 381 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_herbier_2:></label> 382 </div> 383 </li> 384 #SET{name,max_herbier}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 385 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 386 <label for="#GET{name}"><:sarkaspip:cfg_lbl_max_herbier:></label>[ 387 <span class='erreur_message'>(#GET{erreurs})</span> 388 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 389 </li> 390 #SET{name,intro_breve}#SET{defaut,100}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 391 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_intro_breve"> 392 <label for="#GET{name}"><:sarkaspip:cfg_lbl_intro_breve:></label>[ 393 <span class='erreur_message'>(#GET{erreurs})</span> 394 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 395 </li> 396 </ul> 397 </fieldset> 398 </li> 399 </ul> 400 </fieldset> 401 402 [(#REM) <!-- Choix des moteurs de recherche --> ] 403 <fieldset> 404 <legend><:sarkaspip:cfg_lgd_inc_recherche:></legend> 405 <ul> 406 #SET{name,position_rechspip}#SET{defaut,3}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 407 <li class="editer pleine_largeur"> 408 <p class="explication"><:sarkaspip:cfg_inf_inc_rechspip_pos:></p> 409 </li> 410 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 411 <label></label>[ 412 <span class='erreur_message'>(#GET{erreurs})</span> 413 ] 414 #SET{val,3} 415 <div class="choix"> 416 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 417 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_3:></label> 418 </div> 419 #SET{val,4} 420 <div class="choix"> 421 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 422 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_7:></label> 423 </div> 424 </li> 425 #SET{name,position_recherche}#SET{defaut,2}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 426 <li class="editer pleine_largeur"> 427 <p class="explication"><:sarkaspip:cfg_inf_inc_recherche_pos:></p> 428 </li> 429 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 430 <label></label>[ 431 <span class='erreur_message'>(#GET{erreurs})</span> 432 ] 433 #SET{val,1} 434 <div class="choix"> 435 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 436 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 437 </div> 438 #SET{val,2} 439 <div class="choix"> 440 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 441 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 442 </div> 443 </li> 444 #SET{name,moteur_externe}#SET{defaut,2}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 445 <li class="editer pleine_largeur"> 446 <p class="explication"><:sarkaspip:cfg_inf_inc_recherche_ext:></p> 447 </li> 448 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 449 <label></label>[ 450 <span class='erreur_message'>(#GET{erreurs})</span> 451 ] 452 #SET{val,0} 453 <div class="choix"> 454 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 455 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_recherche_ext_0:></label> 456 </div> 457 #SET{val,1} 458 <div class="choix"> 459 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 460 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_recherche_ext_1:></label> 461 </div> 462 #SET{val,2} 463 <div class="choix"> 464 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 465 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_recherche_ext_2:></label> 466 </div> 467 #SET{val,3} 468 <div class="choix"> 469 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 470 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_recherche_ext_3:></label> 471 </div> 472 #SET{val,4} 473 <div class="choix"> 474 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 475 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_recherche_ext_4:></label> 476 </div> 477 #SET{val,5} 478 <div class="choix"> 479 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 480 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_recherche_ext_5:></label> 481 </div> 482 </li> 483 </ul> 484 </fieldset> 485 486 [(#REM) <!-- Choix de presentation des statistiques du site --> ] 487 <fieldset> 488 <legend><:sarkaspip:cfg_lgd_inc_statsite:></legend> 489 <ul> 490 #SET{name,position_stats_1}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 491 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 492 <label><:sarkaspip:cfg_inf_inc_statsite_pos:></label>[ 493 <span class='erreur_message'>(#GET{erreurs})</span> 494 ] 495 #SET{val,0} 496 <div class="choix"> 497 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 498 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 499 </div> 500 #SET{val,1} 501 <div class="choix"> 502 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 503 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 504 </div> 505 #SET{val,2} 506 <div class="choix"> 507 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 508 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 509 </div> 510 </li> 511 </ul> 512 </fieldset> 513 514 [(#REM) <!-- Choix de presentation des statistiques sur les articles --> ] 515 <fieldset> 516 <legend><:sarkaspip:cfg_lgd_inc_stathit:></legend> 517 <ul> 518 #SET{name,position_stats_2}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 519 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 520 <label><:sarkaspip:cfg_inf_inc_stathit_pos:></label>[ 521 <span class='erreur_message'>(#GET{erreurs})</span> 522 ] 523 #SET{val,0} 524 <div class="choix"> 525 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 526 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 527 </div> 528 #SET{val,1} 529 <div class="choix"> 530 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 531 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 532 </div> 533 #SET{val,2} 534 <div class="choix"> 535 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 536 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 537 </div> 538 </li> 539 <li class="fieldset suite" id="bloc_stats_2_compo"><fieldset> 540 <ul> 541 #SET{name,composition_stats_2}#SET{defaut,3}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 542 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 543 <label><:sarkaspip:cfg_inf_inc_stathit_compo:></label>[ 544 <span class='erreur_message'>(#GET{erreurs})</span> 545 ] 546 #SET{val,1} 547 <div class="choix"> 548 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 549 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_stathit_compo_1:></label> 550 </div> 551 #SET{val,2} 552 <div class="choix"> 553 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 554 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_stathit_compo_2:></label> 555 </div> 556 #SET{val,3} 557 <div class="choix"> 558 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 559 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_stathit_compo_3:></label> 560 </div> 561 </li> 562 #SET{name,max_articles_top}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 563 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_stats_2_max_top"> 564 <label for="#GET{name}"><:sarkaspip:cfg_lbl_stathit_max_top:></label>[ 565 <span class='erreur_message'>(#GET{erreurs})</span> 566 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 567 </li> 568 #SET{name,max_articles_hasard}#SET{defaut,5}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 569 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_stats_2_max_hasard"> 570 <label for="#GET{name}"><:sarkaspip:cfg_lbl_stathit_max_hasard:></label>[ 571 <span class='erreur_message'>(#GET{erreurs})</span> 572 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 573 </li> 574 </ul> 575 </fieldset> 576 </li> 577 </ul> 578 </fieldset> 579 580 [(#REM) <!-- Choix des badges --> ] 581 <fieldset> 582 <legend><:sarkaspip:cfg_lgd_inc_badges:></legend> 583 <ul> 584 #SET{name,position_badges}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 585 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 586 <label><:sarkaspip:cfg_inf_inc_badges_pos:></label>[ 587 <span class='erreur_message'>(#GET{erreurs})</span> 588 ] 589 #SET{val,0} 590 <div class="choix"> 591 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 592 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 593 </div> 594 #SET{val,1} 595 <div class="choix"> 596 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 597 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 598 </div> 599 #SET{val,2} 600 <div class="choix"> 601 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 602 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 603 </div> 604 </li> 605 <li class="fieldset suite" id="bloc_badges_liste"><fieldset> 606 <ul> 607 #SET{name,''}#SET{defaut,''}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 608 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 609 <label><:sarkaspip:cfg_inf_inc_badges_liste:></label>[ 610 <span class='erreur_message'>(#GET{erreurs})</span> 611 ] 612 #SET{name,badge_xhtml}#SET{defaut,''}#SET{val,on} 613 <div class="choix"> 614 <input type="checkbox" name="#GET{name}" class="checkbox" id="#GET{name}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 615 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_badges_xhtml:></label> 616 </div> 617 #SET{name,badge_rss}#SET{defaut,''}#SET{val,on} 618 <div class="choix"> 619 <input type="checkbox" name="#GET{name}" class="checkbox" id="#GET{name}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 620 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_badges_rss:></label> 621 </div> 622 #SET{name,badge_sarka}#SET{defaut,''}#SET{val,on} 623 <div class="choix"> 624 <input type="checkbox" name="#GET{name}" class="checkbox" id="#GET{name}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 625 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_badges_sarka:></label> 626 </div> 627 #SET{name,badge_spip}#SET{defaut,''}#SET{val,on} 628 <div class="choix"> 629 <input type="checkbox" name="#GET{name}" class="checkbox" id="#GET{name}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 630 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_badges_spip:></label> 631 </div> 632 #SET{name,badge_perso}#SET{defaut,''}#SET{val,on} 633 <div class="choix"> 634 <input type="checkbox" name="#GET{name}" class="checkbox" id="#GET{name}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 635 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_badges_perso:></label> 636 </div> 637 </li> 638 <li class="fieldset suite" id="bloc_badges_perso"><fieldset> 639 <ul> 640 #SET{name,lien_badge_perso}#SET{defaut,'http://'}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 641 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_stats_2_max_top"> 642 <label for="#GET{name}"><:sarkaspip:cfg_lbl_badge_perso_lien:></label>[ 643 <span class='erreur_message'>(#GET{erreurs})</span> 644 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 645 </li> 646 #SET{name,infobulle_badge_perso}#SET{defaut,''}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 647 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_stats_2_max_hasard"> 648 <label for="#GET{name}"><:sarkaspip:cfg_lbl_badge_perso_infobulle:></label>[ 649 <span class='erreur_message'>(#GET{erreurs})</span> 650 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 651 </li> 652 </ul></fieldset> 653 </li> 654 </ul> 655 </fieldset> 656 </li> 657 </ul> 658 </fieldset> 659 660 [(#REM) <!-- Choix de presentation des annonces --> ] 661 <fieldset> 662 <legend><:sarkaspip:cfg_lgd_inc_annonce:></legend> 663 <ul> 664 #SET{name,position_annonce}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 665 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 666 <label><:sarkaspip:cfg_inf_inc_annonce_pos:></label>[ 667 <span class='erreur_message'>(#GET{erreurs})</span> 668 ] 669 #SET{val,0} 670 <div class="choix"> 671 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 672 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 673 </div> 674 #SET{val,1} 675 <div class="choix"> 676 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 677 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 678 </div> 679 #SET{val,2} 680 <div class="choix"> 681 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 682 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 683 </div> 684 </li> 685 <li class="fieldset suite" id="bloc_annonce_id"><fieldset> 686 <ul> 687 <INCLURE{fond=formulaires/inc/cfg_article_specialise} 688 {explication=<:sarkaspip:cfg_inf_annonce_id:>} 689 {article=annonce} 690 {multiple=oui} 691 {env}> 692 </ul> 693 </fieldset> 694 </li> 695 </ul> 696 </fieldset> 697 698 [(#REM) <!-- Choix de presentation de la meteo --> ] 699 <fieldset> 700 <legend><:sarkaspip:cfg_lgd_inc_rainette:></legend> 701 [(#PLUGIN{RAINETTE}|oui) 702 <ul> 703 #SET{name,position_rainette}#SET{defaut,0}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 704 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 705 <label><:sarkaspip:cfg_inf_inc_rainette_pos:></label>[ 706 <span class='erreur_message'>(#GET{erreurs})</span> 707 ] 708 #SET{val,0} 709 <div class="choix"> 710 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 711 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_0:></label> 712 </div> 713 #SET{val,1} 714 <div class="choix"> 715 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 716 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_1:></label> 717 </div> 718 #SET{val,2} 719 <div class="choix"> 720 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 721 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_inc_position_2:></label> 722 </div> 723 </li> 724 <li class="fieldset suite" id="bloc_rainette_ville"><fieldset> 725 <p class="explication"><:sarkaspip:cfg_inf_inc_rainette_ville:></p> 726 <ul> 727 #SET{name,rainette_ville}#SET{defaut,FRXX0076}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 728 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_stats_2_max_top"> 729 <label for="#GET{name}"><:sarkaspip:cfg_lbl_rainette_ville:></label>[ 730 <span class='erreur_message'>(#GET{erreurs})</span> 731 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 732 </li> 733 #SET{name,rainette_prevision}#SET{defaut,7}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 734 <li class="editer long_label editer_lien_texte editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="bloc_stats_2_max_hasard"> 735 <label for="#GET{name}"><:sarkaspip:cfg_lbl_rainette_nb_prevision:></label>[ 736 <span class='erreur_message'>(#GET{erreurs})</span> 737 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 738 </li> 739 </ul> 740 </fieldset> 741 </li> 742 </ul> 743 ] 744 [(#PLUGIN{RAINETTE}|non) 745 #SET{plugin, Rainette} 746 <p class="notice"><:sarkaspip:cfg_inf_plugin_inactif{lbl_plugin=#GET{plugin}}:></p> 747 ] 748 </fieldset> 749 750 <INCLURE{fond=formulaires/inc/cfg_boutons}> 751 </div></form> 752 753 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui) 754 <div id="bloc_debug"> 755 <br /> 756 >> Debug - Etat des variables du fond Noisettes:<br /> 757 [(#VAL{sarkaspip_noisettes}|afficher_config)] 758 </div> 759 ] 760 </div> 1 761 <script type="text/javascript"> 2 / /<![CDATA[762 /*<![CDATA[*/ 3 763 jQuery(document).ready(function() { 4 764 [(#ENV{position_publications, 0}|=={0}|?{jQuery("#bloc_max_publications").hide();})] … … 24 784 jQuery("input[name='position_publications']").change(function() { 25 785 if (jQuery("input[name='position_publications']:checked").val() != 0) 26 jQuery("#bloc_max_publications").show( );786 jQuery("#bloc_max_publications").show('fast'); 27 787 else 28 jQuery("#bloc_max_publications").hide( );29 jQuery(this).blur(); 30 }); 788 jQuery("#bloc_max_publications").hide('fast'); 789 jQuery(this).blur(); 790 }); 31 791 32 792 jQuery("input[name='position_nuage']").change(function() { 33 793 if (jQuery("input[name='position_nuage']:checked").val() != 0) 34 jQuery("#bloc_nuage").show( );794 jQuery("#bloc_nuage").show('fast'); 35 795 else 36 jQuery("#bloc_nuage").hide( );37 jQuery(this).blur(); 38 }); 796 jQuery("#bloc_nuage").hide('fast'); 797 jQuery(this).blur(); 798 }); 39 799 40 800 jQuery("input[name='position_commentaires']").change(function() { 41 801 if (jQuery("input[name='position_commentaires']:checked").val() != 0) 42 jQuery("#bloc_intro_commentaires").show( );802 jQuery("#bloc_intro_commentaires").show('fast'); 43 803 else 44 jQuery("#bloc_intro_commentaires").hide( );45 jQuery(this).blur(); 46 }); 804 jQuery("#bloc_intro_commentaires").hide('fast'); 805 jQuery(this).blur(); 806 }); 47 807 48 808 jQuery("input[name='position_messages']").change(function() { 49 809 if (jQuery("input[name='position_messages']:checked").val() != 0) 50 jQuery("#bloc_intro_messages").show( );810 jQuery("#bloc_intro_messages").show('fast'); 51 811 else 52 jQuery("#bloc_intro_messages").hide( );53 jQuery(this).blur(); 54 }); 812 jQuery("#bloc_intro_messages").hide('fast'); 813 jQuery(this).blur(); 814 }); 55 815 56 816 jQuery("input[name='liste_breves']").change(function() { 57 817 if (jQuery("input[name='liste_breves']:checked").val() == 2) 58 jQuery("#bloc_intro_breve").show( );818 jQuery("#bloc_intro_breve").show('fast'); 59 819 else 60 jQuery("#bloc_intro_breve").hide( );61 jQuery(this).blur(); 62 }); 820 jQuery("#bloc_intro_breve").hide('fast'); 821 jQuery(this).blur(); 822 }); 63 823 64 824 jQuery("input[name='position_breves']").change(function() { 65 825 if (jQuery("input[name='position_breves']:checked").val() != 0) { 66 jQuery("#bloc_type_breves").show( );826 jQuery("#bloc_type_breves").show('fast'); 67 827 } 68 828 else { 69 jQuery("#bloc_type_breves").hide( );70 } 71 jQuery(this).blur(); 72 }); 829 jQuery("#bloc_type_breves").hide('fast'); 830 } 831 jQuery(this).blur(); 832 }); 73 833 74 834 jQuery("input[name='liste_sites']").change(function() { 75 835 if (jQuery("input[name='liste_sites']:checked").val() == 1) 76 jQuery("#bloc_max_site").show( );836 jQuery("#bloc_max_site").show('fast'); 77 837 else 78 jQuery("#bloc_max_site").hide( );79 jQuery(this).blur(); 80 }); 838 jQuery("#bloc_max_site").hide('fast'); 839 jQuery(this).blur(); 840 }); 81 841 82 842 jQuery("input[name='position_herbier']").change(function() { 83 843 if (jQuery("input[name='position_herbier']:checked").val() != 0) { 84 jQuery("#bloc_type_herbier").show( );844 jQuery("#bloc_type_herbier").show('fast'); 85 845 } 86 846 else { 87 jQuery("#bloc_type_herbier").hide( );88 } 89 jQuery(this).blur(); 90 }); 847 jQuery("#bloc_type_herbier").hide('fast'); 848 } 849 jQuery(this).blur(); 850 }); 91 851 92 852 jQuery("input[name='position_stats_2']").change(function() { 93 853 if (jQuery("input[name='position_stats_2']:checked").val() != 0) { 94 jQuery("#bloc_stats_2_compo").show( );854 jQuery("#bloc_stats_2_compo").show('fast'); 95 855 if (jQuery("input[name='composition_stats_2']:checked").val() == 1) { 96 jQuery("#bloc_stats_2_max_top").show( );97 jQuery("#bloc_stats_2_max_hasard").hide( );856 jQuery("#bloc_stats_2_max_top").show('fast'); 857 jQuery("#bloc_stats_2_max_hasard").hide('fast'); 98 858 } 99 859 else if (jQuery("input[name='composition_stats_2']:checked").val() == 2) { 100 jQuery("#bloc_stats_2_max_top").hide( );101 jQuery("#bloc_stats_2_max_hasard").show( );860 jQuery("#bloc_stats_2_max_top").hide('fast'); 861 jQuery("#bloc_stats_2_max_hasard").show('fast'); 102 862 } 103 863 else { 104 jQuery("#bloc_stats_2_max_top").show( );105 jQuery("#bloc_stats_2_max_hasard").show( );864 jQuery("#bloc_stats_2_max_top").show('fast'); 865 jQuery("#bloc_stats_2_max_hasard").show('fast'); 106 866 } 107 } 867 } 108 868 else 109 jQuery("#bloc_stats_2_compo,#bloc_stats_2_max_hasard,#bloc_stats_2_max_top").hide( );110 jQuery(this).blur(); 111 }); 869 jQuery("#bloc_stats_2_compo,#bloc_stats_2_max_hasard,#bloc_stats_2_max_top").hide('fast'); 870 jQuery(this).blur(); 871 }); 112 872 113 873 jQuery("input[name='composition_stats_2']").change(function() { 114 874 if (jQuery("input[name='composition_stats_2']:checked").val() == 1) { 115 jQuery("#bloc_stats_2_max_top").show( );116 jQuery("#bloc_stats_2_max_hasard").hide( );875 jQuery("#bloc_stats_2_max_top").show('fast'); 876 jQuery("#bloc_stats_2_max_hasard").hide('fast'); 117 877 } 118 878 else if (jQuery("input[name='composition_stats_2']:checked").val() == 2) { 119 jQuery("#bloc_stats_2_max_top").hide( );120 jQuery("#bloc_stats_2_max_hasard").show( );879 jQuery("#bloc_stats_2_max_top").hide('fast'); 880 jQuery("#bloc_stats_2_max_hasard").show('fast'); 121 881 } 122 882 else { 123 jQuery("#bloc_stats_2_max_top").show( );124 jQuery("#bloc_stats_2_max_hasard").show( );125 } 126 jQuery(this).blur(); 127 }); 883 jQuery("#bloc_stats_2_max_top").show('fast'); 884 jQuery("#bloc_stats_2_max_hasard").show('fast'); 885 } 886 jQuery(this).blur(); 887 }); 128 888 129 889 jQuery("input[name='position_badges']").change(function() { 130 890 if (jQuery("input[name='position_badges']:checked").val() != 0) 131 jQuery("#bloc_badges_liste").show( );891 jQuery("#bloc_badges_liste").show('fast'); 132 892 else 133 jQuery("#bloc_badges_liste").hide( );134 jQuery(this).blur(); 135 }); 893 jQuery("#bloc_badges_liste").hide('fast'); 894 jQuery(this).blur(); 895 }); 136 896 jQuery("input[name='badge_perso']").change(function() { 137 897 if (jQuery("input[name='badge_perso']:checked").val() == 'on') { 138 jQuery("#bloc_badges_perso").show( );898 jQuery("#bloc_badges_perso").show('fast'); 139 899 } 140 900 else { 141 jQuery("#bloc_badges_perso").hide( );142 } 143 jQuery(this).blur(); 144 }); 901 jQuery("#bloc_badges_perso").hide('fast'); 902 } 903 jQuery(this).blur(); 904 }); 145 905 146 906 jQuery("input[name='position_annonce']").change(function() { 147 907 if (jQuery("input[name='position_annonce']:checked").val() != 0) { 148 jQuery("#bloc_annonce_id").show( );908 jQuery("#bloc_annonce_id").show('fast'); 149 909 } 150 910 else { 151 jQuery("#bloc_annonce_id").hide( );911 jQuery("#bloc_annonce_id").hide('fast'); 152 912 jQuery("#select_article option:first").attr({selected: "selected"}); 153 913 } 154 914 jQuery(this).blur(); 155 }); 156 915 }); 916 157 917 jQuery("input[name='position_rainette']").change(function() { 158 918 if (jQuery("input[name='position_rainette']:checked").val() != 0) 159 jQuery("#bloc_rainette_ville").show( );919 jQuery("#bloc_rainette_ville").show('fast'); 160 920 else 161 jQuery("#bloc_rainette_ville").hide( );162 jQuery(this).blur(); 163 }); 921 jQuery("#bloc_rainette_ville").hide('fast'); 922 jQuery(this).blur(); 923 }); 164 924 }); 165 / /]]>925 /*]]>*/ 166 926 </script> 167 168 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 169 170 <h3 class="titrem"><:sarkaspip:cfg_boite_noisettes:></h3> 171 172 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 173 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 174 <form method="post" action="#ENV{action}"><div> 175 #ACTION_FORMULAIRE{#ENV{action}} 176 177 [(#REM) <!-- Choix de la pagination des noisettes de navigation --> ] 178 <fieldset> 179 <legend><:sarkaspip:cfg_lgd_inc_navigation:></legend> 180 <p><:sarkaspip:cfg_inf_inc_navigation:></p> 181 <INCLURE{fond=formulaires/inc/cfg_pagination} 182 {defaut_pas=10} 183 {suffixe=_navigation} 184 {choix=sans_position} 185 {env}> 186 </fieldset> 187 188 [(#REM) <!-- Choix de la pagination des noisettes de filtre --> ] 189 <fieldset> 190 <legend><:sarkaspip:cfg_lgd_inc_filtre:></legend> 191 <p><:sarkaspip:cfg_inf_inc_filtre:></p> 192 <INCLURE{fond=formulaires/inc/cfg_pagination} 193 {defaut_pas=10} 194 {suffixe=_filtre} 195 {choix=sans_position} 196 {env}> 197 </fieldset> 198 199 [(#REM) <!-- Choix de presentation des publications --> ] 200 <fieldset> 201 <legend><:sarkaspip:cfg_lgd_inc_publications:></legend> 202 <p><:sarkaspip:cfg_inf_inc_publications:></p> 203 <label> 204 <input type="radio" name="position_publications" value="0" [(#ENV{position_publications, 0}|=={0}|?{checked="checked"})] /> 205 <:sarkaspip:cfg_lbl_inc_position_0:> 206 </label> 207 <br /> 208 <label> 209 <input type="radio" name="position_publications" value="1" [(#ENV{position_publications, 0}|=={1}|?{checked="checked"})] /> 210 <:sarkaspip:cfg_lbl_inc_position_1:> 211 </label> 212 <br /> 213 <label> 214 <input type="radio" name="position_publications" value="2" [(#ENV{position_publications, 0}|=={2}|?{checked="checked"})] /> 215 <:sarkaspip:cfg_lbl_inc_position_2:> 216 </label> 217 <br /> 218 <div id="bloc_max_publications"> 219 <br /> 220 <label><:sarkaspip:cfg_lbl_max_publications:></label> 221 <input type="text" name="max_publications" value="#ENV{max_publications, 5}" size="2" class="fondl" /> 222 <br /> 223 </div> 224 </fieldset> 225 226 [(#REM) <!-- Choix de presentation du nuage de mots-cles --> ] 227 <fieldset> 228 <legend><:sarkaspip:cfg_lgd_inc_nuage:></legend> 229 [(#PLUGIN{NUAGE}|oui) 230 <p><:sarkaspip:cfg_inf_inc_nuage:></p> 231 <label> 232 <input type="radio" name="position_nuage" value="0" [(#ENV{position_nuage, 0}|=={0}|?{checked="checked"})] /> 233 <:sarkaspip:cfg_lbl_inc_position_0:> 234 </label> 235 <br /> 236 <label> 237 <input type="radio" name="position_nuage" value="1" [(#ENV{position_nuage, 0}|=={1}|?{checked="checked"})] /> 238 <:sarkaspip:cfg_lbl_inc_position_1:> 239 </label> 240 <br /> 241 <label> 242 <input type="radio" name="position_nuage" value="2" [(#ENV{position_nuage, 0}|=={2}|?{checked="checked"})] /> 243 <:sarkaspip:cfg_lbl_inc_position_2:> 244 </label> 245 <div id="bloc_nuage"> 246 <br /> 247 [(#CONFIG{sarkaspip_recherche/groupes_recherche}|oui) 248 <label><:sarkaspip:cfg_lbl_max_nuage:></label> 249 <input type="text" name="max_nuage" value="#ENV{max_nuage, 50}" size="3" class="fondl" /> 250 <br /><br /> 251 <INCLURE{fond=formulaires/inc/cfg_groupes_mots} 252 {suffixe=_nuage} 253 {label=<:sarkaspip:cfg_lbl_groupes_mots:>} 254 {id_groupe=#CONFIG{sarkaspip_recherche/groupes_recherche, #ARRAY{0,0}}} 255 {env}> 256 ] 257 [(#CONFIG{sarkaspip_recherche/groupes_recherche}|non) 258 <p><:sarkaspip:cfg_inf_aucun_groupe_nuage:></p> 259 ] 260 </div> 261 ] 262 [(#PLUGIN{NUAGE}|non) 263 #SET{plugin, Nuage} 264 <p class="avertissement"><:sarkaspip:cfg_inf_plugin_inactif{lbl_plugin=#GET{plugin}}:></p> 265 ] 266 </fieldset> 267 268 [(#REM) <!-- Choix de presentation du mini agenda --> ] 269 <fieldset> 270 <legend><:sarkaspip:cfg_lgd_inc_miniagenda:></legend> 271 <p><:sarkaspip:cfg_inf_inc_miniagenda_pos:></p> 272 <label> 273 <input type="radio" name="position_miniagenda" value="0" [(#ENV{position_miniagenda, 2}|=={0}|?{checked="checked"})] /> 274 <:sarkaspip:cfg_lbl_inc_position_0:> 275 </label> 276 <br /> 277 <label> 278 <input type="radio" name="position_miniagenda" value="1" [(#ENV{position_miniagenda, 2}|=={1}|?{checked="checked"})] /> 279 <:sarkaspip:cfg_lbl_inc_position_1:> 280 </label> 281 <br /> 282 <label> 283 <input type="radio" name="position_miniagenda" value="2" [(#ENV{position_miniagenda, 2}|=={2}|?{checked="checked"})] /> 284 <:sarkaspip:cfg_lbl_inc_position_2:> 285 </label> 286 <br /> 287 </fieldset> 288 289 [(#REM) <!-- Choix de presentation des commentaires --> ] 290 <fieldset> 291 <legend><:sarkaspip:cfg_lgd_inc_commentaires:></legend> 292 <p><:sarkaspip:cfg_inf_inc_commentaires:></p> 293 <label> 294 <input type="radio" name="position_commentaires" value="0" [(#ENV{position_commentaires, 0}|=={0}|?{checked="checked"})] /> 295 <:sarkaspip:cfg_lbl_inc_position_0:> 296 </label> 297 <br /> 298 <label> 299 <input type="radio" name="position_commentaires" value="1" [(#ENV{position_commentaires, 0}|=={1}|?{checked="checked"})] /> 300 <:sarkaspip:cfg_lbl_inc_position_1:> 301 </label> 302 <br /> 303 <label> 304 <input type="radio" name="position_commentaires" value="2" [(#ENV{position_commentaires, 0}|=={2}|?{checked="checked"})] /> 305 <:sarkaspip:cfg_lbl_inc_position_2:> 306 </label> 307 <br /> 308 <div id="bloc_intro_commentaires"> 309 <br /> 310 <label><:sarkaspip:cfg_lbl_max_commentaires:></label> 311 <input type="text" name="max_commentaires" value="#ENV{max_commentaires, 5}" size="2" class="fondl" /> 312 <br /> 313 <label><:sarkaspip:cfg_lbl_intro_commentaires:></label> 314 <input type="text" name="intro_commentaire" value="#ENV{intro_commentaire, 100}" size="3" class="fondl" /> 315 <br /> 316 </div> 317 </fieldset> 318 319 [(#REM) <!-- Choix de presentation des messages de forum --> ] 320 <fieldset> 321 <legend><:sarkaspip:cfg_lgd_inc_messages:></legend> 322 <p><:sarkaspip:cfg_inf_inc_messages:></p> 323 <label> 324 <input type="radio" name="position_messages" value="0" [(#ENV{position_messages, 0}|=={0}|?{checked="checked"})] /> 325 <:sarkaspip:cfg_lbl_inc_position_0:> 326 </label> 327 <br /> 328 <label> 329 <input type="radio" name="position_messages" value="1" [(#ENV{position_messages, 0}|=={1}|?{checked="checked"})] /> 330 <:sarkaspip:cfg_lbl_inc_position_1:> 331 </label> 332 <br /> 333 <label> 334 <input type="radio" name="position_messages" value="2" [(#ENV{position_messages, 0}|=={2}|?{checked="checked"})] /> 335 <:sarkaspip:cfg_lbl_inc_position_2:> 336 </label> 337 <br /> 338 <div id="bloc_intro_messages"> 339 <br /> 340 <label><:sarkaspip:cfg_lbl_max_messages:></label> 341 <input type="text" name="max_messages" value="#ENV{max_messages, 5}" size="2" class="fondl" /> 342 <br /> 343 <label><:sarkaspip:cfg_lbl_intro_messages:></label> 344 <input type="text" name="intro_message" value="#ENV{intro_message, 100}" size="3" class="fondl" /> 345 <br /> 346 </div> 347 </fieldset> 348 349 [(#REM) <!-- Choix de presentation des breves --> ] 350 <fieldset> 351 <legend><:sarkaspip:cfg_lgd_inc_breves:></legend> 352 <p><:sarkaspip:cfg_inf_inc_breves_pos:></p> 353 <label> 354 <input type="radio" name="position_breves" value="0" [(#ENV{position_breves, 2}|=={0}|?{checked="checked"})] /> 355 <:sarkaspip:cfg_lbl_inc_position_0:> 356 </label> 357 <br /> 358 <label> 359 <input type="radio" name="position_breves" value="1" [(#ENV{position_breves, 2}|=={1}|?{checked="checked"})] /> 360 <:sarkaspip:cfg_lbl_inc_position_1:> 361 </label> 362 <br /> 363 <label> 364 <input type="radio" name="position_breves" value="2" [(#ENV{position_breves, 2}|=={2}|?{checked="checked"})] /> 365 <:sarkaspip:cfg_lbl_inc_position_2:> 366 </label> 367 <br /> 368 <div id="bloc_type_breves"> 369 <p><:sarkaspip:cfg_inf_inc_breves_type:></p> 370 <label> 371 <input type="radio" name="liste_breves" value="1" [(#ENV{liste_breves, 2}|=={1}|?{checked="checked"})] /> 372 <:sarkaspip:cfg_lbl_inc_breves_1:> 373 </label> 374 <br /> 375 <label> 376 <input type="radio" name="liste_breves" value="2" [(#ENV{liste_breves, 2}|=={2}|?{checked="checked"})] /> 377 <:sarkaspip:cfg_lbl_inc_breves_2:> 378 </label> 379 <br /><br /> 380 <label><:sarkaspip:cfg_lbl_max_breves:></label> 381 <input type="text" name="max_breves" value="#ENV{max_breves, 5}" size="2" class="fondl" /> 382 <div id="bloc_intro_breve"> 383 <label><:sarkaspip:cfg_lbl_intro_breve:></label> 384 <input type="text" name="intro_breve" value="#ENV{intro_breve, 100}" size="3" class="fondl" /> 385 </div> 386 </div> 387 </fieldset> 388 389 [(#REM) <!-- Choix de presentation des articles syndiques des sites references --> ] 390 <fieldset> 391 <legend><:sarkaspip:cfg_lgd_inc_sites:></legend> 392 <p><:sarkaspip:cfg_inf_inc_sites:></p> 393 <label> 394 <input type="radio" name="liste_sites" value="1" [(#ENV{liste_sites, 2}|=={1}|?{checked="checked"})] /> 395 <:sarkaspip:cfg_lbl_inc_sites_1:> 396 </label> 397 <br /> 398 <label> 399 <input type="radio" name="liste_sites" value="2" [(#ENV{liste_sites, 2}|=={2}|?{checked="checked"})] /> 400 <:sarkaspip:cfg_lbl_inc_sites_2:> 401 </label> 402 <br /><br /> 403 <div id="bloc_max_site"> 404 <label><:sarkaspip:cfg_lbl_max_sites:></label> 405 <input type="text" name="max_sites" value="#ENV{max_sites, 5}" size="2" class="fondl" /> 406 </div> 407 <label><:sarkaspip:cfg_lbl_max_syndic:></label> 408 <input type="text" name="max_syndic" value="#ENV{max_syndic, 5}" size="2" class="fondl" /> 409 <br /> 410 </fieldset> 411 412 [(#REM) <!-- Choix de presentation des sites de l'herbier --> ] 413 <fieldset> 414 <legend><:sarkaspip:cfg_lgd_inc_herbier:></legend> 415 <p><:sarkaspip:cfg_inf_inc_herbier_pos:></p> 416 <label> 417 <input type="radio" name="position_herbier" value="0" [(#ENV{position_herbier, 0}|=={0}|?{checked="checked"})] /> 418 <:sarkaspip:cfg_lbl_inc_position_0:> 419 </label> 420 <br /> 421 <label> 422 <input type="radio" name="position_herbier" value="1" [(#ENV{position_herbier, 0}|=={1}|?{checked="checked"})] /> 423 <:sarkaspip:cfg_lbl_inc_position_1:> 424 </label> 425 <br /> 426 <label> 427 <input type="radio" name="position_herbier" value="2" [(#ENV{position_herbier, 0}|=={2}|?{checked="checked"})] /> 428 <:sarkaspip:cfg_lbl_inc_position_2:> 429 </label> 430 <br /> 431 <div id="bloc_type_herbier"> 432 <p><:sarkaspip:cfg_inf_inc_herbier_type:></p> 433 <label> 434 <input type="radio" name="liste_herbier" value="1" [(#ENV{liste_herbier, 2}|=={1}|?{checked="checked"})] /> 435 <:sarkaspip:cfg_lbl_inc_herbier_1:> 436 </label> 437 <br /> 438 <label> 439 <input type="radio" name="liste_herbier" value="2" [(#ENV{liste_herbier, 2}|=={2}|?{checked="checked"})] /> 440 <:sarkaspip:cfg_lbl_inc_herbier_2:> 441 </label> 442 <br /><br /> 443 <label><:sarkaspip:cfg_lbl_max_herbier:></label> 444 <input type="text" name="max_herbier" value="#ENV{max_herbier, 5}" size="2" class="fondl" /> 445 </div> 446 </fieldset> 447 448 [(#REM) <!-- Choix des moteurs de recherche --> ] 449 <fieldset> 450 <legend><:sarkaspip:cfg_lgd_inc_recherche:></legend> 451 <p><:sarkaspip:cfg_inf_inc_rechspip_pos:></p> 452 <label> 453 <input type="radio" name="position_rechspip" value="3" [(#ENV{position_rechspip, 3}|=={3}|?{checked="checked"})] /> 454 <:sarkaspip:cfg_lbl_inc_position_3:> 455 </label> 456 <br /> 457 <label> 458 <input type="radio" name="position_rechspip" value="4" [(#ENV{position_rechspip, 3}|=={4}|?{checked="checked"})] /> 459 <:sarkaspip:cfg_lbl_inc_position_7:> 460 </label> 461 <br /> 462 <br /> 463 <p><:sarkaspip:cfg_inf_inc_recherche_pos:></p> 464 <label> 465 <input type="radio" name="position_recherche" value="1" [(#ENV{position_recherche, 2}|=={1}|?{checked="checked"})] /> 466 <:sarkaspip:cfg_lbl_inc_position_1:> 467 </label> 468 <br /> 469 <label> 470 <input type="radio" name="position_recherche" value="2" [(#ENV{position_recherche, 2}|=={2}|?{checked="checked"})] /> 471 <:sarkaspip:cfg_lbl_inc_position_2:> 472 </label> 473 <br /> 474 <br /> 475 <p><:sarkaspip:cfg_inf_inc_recherche_ext:></p> 476 <label> 477 <input type="radio" name="moteur_externe" value="0" [(#ENV{moteur_externe, 1}|=={0}|?{checked="checked"})] /> 478 <:sarkaspip:cfg_lbl_inc_recherche_ext_0:> 479 </label> 480 <br /> 481 <label> 482 <input type="radio" name="moteur_externe" value="1" [(#ENV{moteur_externe, 1}|=={1}|?{checked="checked"})] /> 483 <:sarkaspip:cfg_lbl_inc_recherche_ext_1:> 484 </label> 485 <br /> 486 <label> 487 <input type="radio" name="moteur_externe" value="2" [(#ENV{moteur_externe, 1}|=={2}|?{checked="checked"})] /> 488 <:sarkaspip:cfg_lbl_inc_recherche_ext_2:> 489 </label> 490 <br /> 491 <label> 492 <input type="radio" name="moteur_externe" value="3" [(#ENV{moteur_externe, 1}|=={3}|?{checked="checked"})] /> 493 <:sarkaspip:cfg_lbl_inc_recherche_ext_3:> 494 </label> 495 <br /> 496 <label> 497 <input type="radio" name="moteur_externe" value="4" [(#ENV{moteur_externe, 1}|=={4}|?{checked="checked"})] /> 498 <:sarkaspip:cfg_lbl_inc_recherche_ext_4:> 499 </label> 500 <br /> 501 <label> 502 <input type="radio" name="moteur_externe" value="5" [(#ENV{moteur_externe, 1}|=={5}|?{checked="checked"})] /> 503 <:sarkaspip:cfg_lbl_inc_recherche_ext_5:> 504 </label> 505 </fieldset> 506 507 [(#REM) <!-- Choix de presentation des statistiques du site --> ] 508 <fieldset> 509 <legend><:sarkaspip:cfg_lgd_inc_statsite:></legend> 510 <p><:sarkaspip:cfg_inf_inc_statsite_pos:></p> 511 <label> 512 <input type="radio" name="position_stats_1" value="0" [(#ENV{position_stats_1, 1}|=={0}|?{checked="checked"})] /> 513 <:sarkaspip:cfg_lbl_inc_position_0:> 514 </label> 515 <br /> 516 <label> 517 <input type="radio" name="position_stats_1" value="1" [(#ENV{position_stats_1, 1}|=={1}|?{checked="checked"})] /> 518 <:sarkaspip:cfg_lbl_inc_position_1:> 519 </label> 520 <br /> 521 <label> 522 <input type="radio" name="position_stats_1" value="2" [(#ENV{position_stats_1, 1}|=={2}|?{checked="checked"})] /> 523 <:sarkaspip:cfg_lbl_inc_position_2:> 524 </label> 525 <br /> 526 </fieldset> 527 528 [(#REM) <!-- Choix de presentation des statistiques sur les articles --> ] 529 <fieldset> 530 <legend><:sarkaspip:cfg_lgd_inc_stathit:></legend> 531 <p><:sarkaspip:cfg_inf_inc_stathit_pos:></p> 532 <label> 533 <input type="radio" name="position_stats_2" value="0" [(#ENV{position_stats_2, 0}|=={0}|?{checked="checked"})] /> 534 <:sarkaspip:cfg_lbl_inc_position_0:> 535 </label> 536 <br /> 537 <label> 538 <input type="radio" name="position_stats_2" value="1" [(#ENV{position_stats_2, 0}|=={1}|?{checked="checked"})] /> 539 <:sarkaspip:cfg_lbl_inc_position_1:> 540 </label> 541 <br /> 542 <label> 543 <input type="radio" name="position_stats_2" value="2" [(#ENV{position_stats_2, 0}|=={2}|?{checked="checked"})] /> 544 <:sarkaspip:cfg_lbl_inc_position_2:> 545 </label> 546 <br /> 547 <div id="bloc_stats_2_compo"> 548 <br /> 549 <p><:sarkaspip:cfg_inf_inc_stathit_compo:></p> 550 <label> 551 <input type="radio" name="composition_stats_2" value="1" [(#ENV{composition_stats_2, 3}|=={1}|?{checked="checked"})] /> 552 <:sarkaspip:cfg_lbl_inc_stathit_compo_1:> 553 </label> 554 <br /> 555 <label> 556 <input type="radio" name="composition_stats_2" value="2" [(#ENV{composition_stats_2, 3}|=={2}|?{checked="checked"})] /> 557 <:sarkaspip:cfg_lbl_inc_stathit_compo_2:> 558 </label> 559 <br /> 560 <label> 561 <input type="radio" name="composition_stats_2" value="3" [(#ENV{composition_stats_2, 3}|=={3}|?{checked="checked"})] /> 562 <:sarkaspip:cfg_lbl_inc_stathit_compo_3:> 563 </label> 564 <br /> 565 <br /> 566 </div> 567 <div id="bloc_stats_2_max_top"> 568 <label><:sarkaspip:cfg_lbl_stathit_max_top:></label> 569 <input type="text" name="max_articles_top" value="#ENV{max_articles_top, 5}" size="2" class="fondl" /> 570 <br /> 571 </div> 572 <div id="bloc_stats_2_max_hasard"> 573 <label><:sarkaspip:cfg_lbl_stathit_max_hasard:></label> 574 <input type="text" name="max_articles_hasard" value="#ENV{max_articles_hasard, 5}" size="2" class="fondl" /> 575 <br /> 576 </div> 577 </fieldset> 578 579 [(#REM) <!-- Choix des badges --> ] 580 <fieldset> 581 <legend><:sarkaspip:cfg_lgd_inc_badges:></legend> 582 <p><:sarkaspip:cfg_inf_inc_badges_pos:></p> 583 <label> 584 <input type="radio" name="position_badges" value="0" [(#ENV{position_badges, 1}|=={0}|?{checked="checked"})] /> 585 <:sarkaspip:cfg_lbl_inc_position_0:> 586 </label> 587 <br /> 588 <label> 589 <input type="radio" name="position_badges" value="1" [(#ENV{position_badges, 1}|=={1}|?{checked="checked"})] /> 590 <:sarkaspip:cfg_lbl_inc_position_1:> 591 </label> 592 <br /> 593 <label> 594 <input type="radio" name="position_badges" value="2" [(#ENV{position_badges, 1}|=={2}|?{checked="checked"})] /> 595 <:sarkaspip:cfg_lbl_inc_position_2:> 596 </label> 597 <br /> 598 <br /> 599 <div id="bloc_badges_liste"> 600 <p><:sarkaspip:cfg_inf_inc_badges_liste:></p> 601 <label> 602 <input type="checkbox" name="badge_xhtml" [checked="(#ENV{badge_xhtml}|=={on}|?{checked})"] /> 603 <:sarkaspip:cfg_lbl_inc_badges_xhtml:> 604 </label> 605 <br /> 606 <label> 607 <input type="checkbox" name="badge_rss" [checked="(#ENV{badge_rss}|=={on}|?{checked})"] /> 608 <:sarkaspip:cfg_lbl_inc_badges_rss:> 609 </label> 610 <br /> 611 <label> 612 <input type="checkbox" name="badge_sarka" [checked="(#ENV{badge_sarka}|=={on}|?{checked})"] /> 613 <:sarkaspip:cfg_lbl_inc_badges_sarka:> 614 </label> 615 <br /> 616 <label> 617 <input type="checkbox" name="badge_spip" [checked="(#ENV{badge_spip}|=={on}|?{checked})"] /> 618 <:sarkaspip:cfg_lbl_inc_badges_spip:> 619 </label> 620 <br /> 621 <label> 622 <input type="checkbox" name="badge_perso" [checked="(#ENV{badge_perso}|=={on}|?{checked})"] /> 623 <:sarkaspip:cfg_lbl_inc_badges_perso:> 624 </label> 625 <br /> 626 <ul id="bloc_badges_perso"> 627 <li><label><:sarkaspip:cfg_lbl_badge_perso_lien:> 628 <input type="text" name="lien_badge_perso" value="#ENV{lien_badge_perso, http://}" size="30" class="fondl" /> 629 </label></li> 630 <li><label><:sarkaspip:cfg_lbl_badge_perso_infobulle:> 631 <input type="text" name="infobulle_badge_perso" value="#ENV{infobulle_badge_perso, ''}" size="30" class="fondl" /> 632 </label></li> 633 </ul> 634 </div> 635 </fieldset> 636 637 [(#REM) <!-- Choix de presentation des annonces --> ] 638 <fieldset> 639 <legend><:sarkaspip:cfg_lgd_inc_annonce:></legend> 640 <p><:sarkaspip:cfg_inf_inc_annonce_pos:></p> 641 <label> 642 <input type="radio" name="position_annonce" value="0" [(#ENV{position_annonce, 0}|=={0}|?{checked="checked"})] /> 643 <:sarkaspip:cfg_lbl_inc_position_0:> 644 </label> 645 <br /> 646 <label> 647 <input type="radio" name="position_annonce" value="1" [(#ENV{position_annonce, 0}|=={1}|?{checked="checked"})] /> 648 <:sarkaspip:cfg_lbl_inc_position_1:> 649 </label> 650 <br /> 651 <label> 652 <input type="radio" name="position_annonce" value="2" [(#ENV{position_annonce, 0}|=={2}|?{checked="checked"})] /> 653 <:sarkaspip:cfg_lbl_inc_position_2:> 654 </label> 655 <br /> 656 <div id="bloc_annonce_id"> 657 <INCLURE{fond=formulaires/inc/cfg_article_specialise} 658 {explication=<:sarkaspip:cfg_inf_annonce_id:>} 659 {article=annonce} 660 {multiple=oui} 661 {env}> 662 </div> 663 </fieldset> 664 665 [(#REM) <!-- Choix de presentation de la meteo --> ] 666 <fieldset> 667 <legend><:sarkaspip:cfg_lgd_inc_rainette:></legend> 668 [(#PLUGIN{RAINETTE}|oui) 669 <p><:sarkaspip:cfg_inf_inc_rainette_pos:></p> 670 <label> 671 <input type="radio" name="position_rainette" value="0" [(#ENV{position_rainette, 0}|=={0}|?{checked="checked"})] /> 672 <:sarkaspip:cfg_lbl_inc_position_0:> 673 </label> 674 <br /> 675 <label> 676 <input type="radio" name="position_rainette" value="1" [(#ENV{position_rainette, 0}|=={1}|?{checked="checked"})] /> 677 <:sarkaspip:cfg_lbl_inc_position_1:> 678 </label> 679 <br /> 680 <label> 681 <input type="radio" name="position_rainette" value="2" [(#ENV{position_rainette, 0}|=={2}|?{checked="checked"})] /> 682 <:sarkaspip:cfg_lbl_inc_position_2:> 683 </label> 684 <br /> 685 <div id="bloc_rainette_ville"> 686 <p><:sarkaspip:cfg_inf_inc_rainette_ville:></p> 687 <label><:sarkaspip:cfg_lbl_rainette_ville:></label> 688 <input type="text" name="rainette_ville" value="#ENV{rainette_ville, FRXX0076}" size="10" class="fondl" /><br /> 689 <label><:sarkaspip:cfg_lbl_rainette_nb_prevision:></label> 690 <input type="text" name="rainette_prevision" value="#ENV{rainette_prevision, 7}" size="3" class="fondl" /> 691 </div> 692 ] 693 [(#PLUGIN{RAINETTE}|non) 694 #SET{plugin, Rainette} 695 <p class="avertissement"><:sarkaspip:cfg_inf_plugin_inactif{lbl_plugin=#GET{plugin}}:></p> 696 ] 697 </fieldset> 698 699 <INCLURE{fond=formulaires/inc/cfg_boutons}> 700 </div></form> 701 702 [(#EVAL{_SARKASPIP_DEBUG_CFG_ARBO}|=={oui}|oui) 703 <div id="bloc_debug"> 704 <br /> 705 >> Debug - Etat des variables du fond Noisettes:<br /> 706 [(#VAL{sarkaspip_noisettes}|afficher_config)] 707 </div> 708 ] 709 </div> 927 <style>li.fieldset.suite>fieldset {padding-left: 30px;border-top:0;}</style> -
_squelettes_/sarkaspip/trunk/formulaires/configurer_sarkaspip_pied.html
r65841 r65861 1 <script type="text/javascript">2 //<![CDATA[3 jQuery(document).ready(function() {4 [(#ENV{position_pied, 1}|!={1}|oui)5 jQuery("#affiche_pied_1 ,#affiche_pied_2").hide();6 ]7 jQuery("input[name='position_pied']").change(function() {8 if (jQuery("input[name='position_pied']:checked").val() == 1) {9 jQuery("#affiche_pied_1 ,#affiche_pied_2").show();10 }11 else {12 jQuery("#affiche_pied_1 ,#affiche_pied_2").hide();13 }14 jQuery(this).blur();15 });16 });17 //]]>18 </script>19 20 21 1 <div class="formulaire_spip formulaire_configurer formulaire_#FORM"> 22 2 … … 29 9 <fieldset> 30 10 <legend><:sarkaspip:cfg_lgd_pied_affichage:></legend> 31 <p><:sarkaspip:cfg_inf_pied_affichage:></p> 32 <label> 33 <input type="radio" name="position_pied" value="1" [(#ENV{position_pied, 1}|=={1}|?{checked="checked"})] /> 34 <:sarkaspip:cfg_lbl_oui:> 35 </label> 36 <label> 37 <input type="radio" name="position_pied" value="0" [(#ENV{position_pied, 1}|=={0}|?{checked="checked"})] /> 38 <:sarkaspip:cfg_lbl_non:> 39 </label> 40 41 <div id="affiche_pied_1"> 42 <br /> 43 <label><:sarkaspip:cfg_lbl_hauteur_minimale:></label> 44 <input type="text" name="bas_minheight" value="#ENV{bas_minheight, 50}" size="3" class="fondl" /> 45 <br /> 46 <label><:sarkaspip:cfg_lbl_top_padding:></label> 47 <input type="text" name="bas_toppadding" value="#ENV{bas_toppadding, 10}" size="3" class="fondl" /> 48 <br /> 49 </div> 50 </fieldset> 51 52 <div id="affiche_pied"> 53 <fieldset> 11 <ul> 12 #SET{name,position_pied}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 13 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 14 <label><:sarkaspip:cfg_inf_pied_affichage:></label>[ 15 <span class='erreur_message'>(#GET{erreurs})</span> 16 ] 17 #SET{val,1} 18 <div class="choix"> 19 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 20 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 21 </div> 22 #SET{val,0} 23 <div class="choix"> 24 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 25 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 26 </div> 27 </li> 28 </ul> 29 <li class="fieldset suite" id="affiche_pied_1"><fieldset> 30 <ul> 31 #SET{name,bas_minheight}#SET{defaut,50}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 32 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 33 <label for="#GET{name}"><:sarkaspip:cfg_lbl_hauteur_minimale:></label>[ 34 <span class='erreur_message'>(#GET{erreurs})</span> 35 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 36 </li> 37 #SET{name,bas_toppadding}#SET{defaut,10}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 38 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 39 <label for="#GET{name}"><:sarkaspip:cfg_lbl_top_padding:></label>[ 40 <span class='erreur_message'>(#GET{erreurs})</span> 41 ]<input type="text" name="#GET{name}" class="text" value="#ENV*{#GET{name},#GET{defaut}}" id="#GET{name}" [(#HTML5|et{#GET{obli}})required='required']/> 42 </li> 43 </ul></fieldset> 44 </li> 45 </fieldset> 46 47 <fieldset> 54 48 <legend><:sarkaspip:cfg_lgd_pied_copyright:></legend> 55 <p><:sarkaspip:cfg_inf_copyright_site:></p> 56 <label> 57 <input type="radio" name="copyright_site" value="1" [(#ENV{copyright_site, 1}|=={1}|?{checked="checked"})] /> 58 <:sarkaspip:cfg_lbl_oui:> 59 </label> 60 <label> 61 <input type="radio" name="copyright_site" value="0" [(#ENV{copyright_site, 1}|=={0}|?{checked="checked"})] /> 62 <:sarkaspip:cfg_lbl_non:> 63 </label> 64 <br /> 65 <div id="bloc_licence_site"> 66 <p><:sarkaspip:cfg_inf_licence_site:></p> 67 <label> 68 <textarea name="licence_site" rows="4" cols="40" style="width:100%;">[(#ENV{licence_site})]</textarea> 69 </label> 70 <br /> 71 </div> 72 <br /> 73 </fieldset> 74 75 <fieldset> 49 <ul> 50 #SET{name,copyright_site}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 51 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 52 <label><:sarkaspip:cfg_inf_copyright_site:></label>[ 53 <span class='erreur_message'>(#GET{erreurs})</span> 54 ] 55 #SET{val,1} 56 <div class="choix"> 57 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 58 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 59 </div> 60 #SET{val,0} 61 <div class="choix"> 62 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 63 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 64 </div> 65 </li> 66 #SET{name,licence_site}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 67 <li class="editer pleine_largeur editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 68 <label for="#GET{name}"><:sarkaspip:cfg_inf_licence_site:></label>[ 69 <span class='erreur_message'>(#GET{erreurs})</span> 70 ]<textarea name="#GET{name}" class="textarea"> 71 #ENV*{#GET{name}}</textarea> 72 </li> 73 74 </ul> 75 </fieldset> 76 77 <fieldset> 76 78 <legend><:sarkaspip:cfg_lgd_pied_version:></legend> 77 <p><:sarkaspip:cfg_inf_version_spip:></p> 78 <label> 79 <input type="radio" name="version_spip" value="1" [(#ENV{version_spip, 1}|=={1}|?{checked="checked"})] /> 80 <:sarkaspip:cfg_lbl_oui:> 81 </label> 82 <label> 83 <input type="radio" name="version_spip" value="0" [(#ENV{version_spip, 1}|=={0}|?{checked="checked"})] /> 84 <:sarkaspip:cfg_lbl_non:> 85 </label> 86 <br /> 87 <p><:sarkaspip:cfg_inf_version_sarka:></p> 88 <label> 89 <input type="radio" name="version_sarka" value="1" [(#ENV{version_sarka, 1}|=={1}|?{checked="checked"})] /> 90 <:sarkaspip:cfg_lbl_oui:> 91 </label> 92 <label> 93 <input type="radio" name="version_sarka" value="0" [(#ENV{version_sarka, 1}|=={0}|?{checked="checked"})] /> 94 <:sarkaspip:cfg_lbl_non:> 95 </label> 96 <br /> 97 </fieldset> 98 99 <fieldset> 79 <ul> 80 #SET{name,version_spip}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 81 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 82 <label><:sarkaspip:cfg_inf_version_spip:></label>[ 83 <span class='erreur_message'>(#GET{erreurs})</span> 84 ] 85 #SET{val,1} 86 <div class="choix"> 87 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 88 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 89 </div> 90 #SET{val,0} 91 <div class="choix"> 92 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 93 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 94 </div> 95 </li> 96 #SET{name,version_sarka}#SET{defaut,1}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} 97 <li class="editer long_label editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]"> 98 <label><:sarkaspip:cfg_inf_version_sarka:></label>[ 99 <span class='erreur_message'>(#GET{erreurs})</span> 100 ] 101 #SET{val,1} 102 <div class="choix"> 103 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 104 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_oui:></label> 105 </div> 106 #SET{val,0} 107 <div class="choix"> 108 <input type="radio" name="#GET{name}" class="radio" id="#GET{name}_#GET{val}" value="#GET{val}"[(#ENV{#GET{name},#GET{defaut}}|=={#GET{val}}|oui)checked="checked"] /> 109 <label for="#GET{name}_#GET{val}"><:sarkaspip:cfg_lbl_non:></label> 110 </div> 111 </li> 112 </ul> 113 </fieldset> 114 115 <fieldset> 100 116 <legend><:sarkaspip:cfg_lgd_pied_liens:></legend> 101 <p><:sarkaspip:cfg_inf_lien_plan:></p> 102 <label> 103 <input type="radio" name="lien_plan" value="1" [(#ENV{lien_plan, 1}|=={1}|?{checked="checked"})] /> 104 <:sarkaspip:cfg_lbl_oui:> 105 </label> 106 <label> 107 <input type="radio" name="lien_plan" value="0" [(#ENV{lien_plan, 1}|=={0}|?{checked="checked"})] /> 108 <:sarkaspip:cfg_lbl_non:> 109 </label> 110 <br /> 111 112 <p><:sarkaspip:cfg_inf_collectif_sarka:></p> 113 <label> 114 <input type="radio" name="collectif_sarka" value="1" [(#ENV{collectif_sarka, 1}|=={1}|?{checked="checked"})] /> 115 <:sarkaspip:cfg_lbl_oui:> 116 </label> 117 <label> 118 <input type="radio" name="collectif_sarka" value="0" [(#ENV{collectif_sarka, 1}|=={0}|?{checked="checked"})] /> 119 <:sarkaspip:cfg_lbl_non:> 120 </label> 121 <br /> 122 123 <p><:sarkaspip:cfg_inf_licence_squelette:></p> 124 <label> 125 <input type="radio" name="licence_squelette" value="1" [(#ENV{licence_squelette, 1}|=={1}|?{checked="checked"})] /> 126 <:sarkaspip:cfg_lbl_oui:> 127 </label> 128 <label> 129 <input type="radio" name="licence_squelette" value="0" [(#ENV{licence_squelette, 1}|=={0}|?{checked="checked"})] /> 130 <:sarkaspip:cfg_lbl_non:> 131 </label> 132 <br /> 133 134 <p><:sarkaspip:cfg_inf_lien_squelette:></p> 135 <label> 136 <input type="radio" name="lien_squelette" value="1" [(#ENV{lien_squelette, 1}|=={1}|?{checked="checked"})] /> 137 <:sarkaspip:cfg_lbl_oui:> 138 </label> 139 <label> 140 <input type="radio" name="lien_squelette" value="0" [(#ENV{lien_squelette, 1}|=={0}|?{checked="checked"})] /> 141 <:sarkaspip:cfg_lbl_non:> 142 </label> 143 <br /> 144 145 <p><:sarkaspip:cfg_inf_outils_perso:></p> 146 <label> 147 <textarea name="outils_perso" rows="4" cols="40" style="width:100%;">[(#ENV{outils_perso})]</textarea> 148 </label> 149 <br /> 150 151 <p><:sarkaspip:cfg_inf_ancre_hautpage:></p> 152 <label> 153 &