Formulaire article : On n'affiche plus les groupes mais juste les villes puisque qu'on affiche les articles par ville et non pas par groupe. (il faudra veiller si on supprime un groupe de transférer ses articles sur les autres groupes de la ville)
This commit is contained in:
parent
f8fc4de3b6
commit
3a6916e09c
2 changed files with 5 additions and 5 deletions
|
@ -124,13 +124,13 @@
|
||||||
<select id="id_groupe" name="id_groupe" class="chosen">
|
<select id="id_groupe" name="id_groupe" class="chosen">
|
||||||
<option value=""> </option>
|
<option value=""> </option>
|
||||||
<BOUCLE_pays(RUBRIQUES){id_parent = #CONFIG{balint/id_rub_groupes}}{tout}>
|
<BOUCLE_pays(RUBRIQUES){id_parent = #CONFIG{balint/id_rub_groupes}}{tout}>
|
||||||
|
<optgroup label="#TITRE">
|
||||||
<BOUCLE_villes(ARTICLES){id_rubrique = #ID_RUBRIQUE}{fusion surtitre}{par surtitre}>
|
<BOUCLE_villes(ARTICLES){id_rubrique = #ID_RUBRIQUE}{fusion surtitre}{par surtitre}>
|
||||||
<optgroup label="#SURTITRE">
|
<BOUCLE_groupes(ARTICLES){surtitre = #SURTITRE}{0,1}>
|
||||||
<BOUCLE_groupes(ARTICLES){surtitre = #SURTITRE}>
|
<option value="#ID_ARTICLE" [(#ENV{id_groupe}|=={#ID_ARTICLE}|oui) selected="selected"]>#SURTITRE</option>
|
||||||
<option value="#ID_ARTICLE" [(#ENV{id_groupe}|=={#ID_ARTICLE}|oui) selected="selected"]>#TITRE</option>
|
|
||||||
</BOUCLE_groupes>
|
</BOUCLE_groupes>
|
||||||
</optgroup>
|
|
||||||
</BOUCLE_villes>
|
</BOUCLE_villes>
|
||||||
|
</optgroup>
|
||||||
</BOUCLE_pays>
|
</BOUCLE_pays>
|
||||||
</select>
|
</select>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<aside class="col col-lg-3 d-none d-lg-block dernieres-nouvelles">
|
<aside class="col col-lg-3 d-none d-lg-block dernieres-nouvelles">
|
||||||
|
|
||||||
<h3 class="h4 mt-4 mb-3">Derniers articles</br>
|
<h3 class="h4 mt-4 mb-3">Derniers articles</br>
|
||||||
<BOUCLE_pays(RUBRIQUES){id_rubrique=#ENV{id_rubrique}}>
|
<BOUCLE_pays(RUBRIQUES){id_rubrique=#ENV{id_rubrique}}{tout}>
|
||||||
<span class="h4 font-italic">#PREPOSITION #TITRE</span>
|
<span class="h4 font-italic">#PREPOSITION #TITRE</span>
|
||||||
</BOUCLE_pays>
|
</BOUCLE_pays>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
Loading…
Add table
Reference in a new issue