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">
|
||||
<option value=""> </option>
|
||||
<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}>
|
||||
<optgroup label="#SURTITRE">
|
||||
<BOUCLE_groupes(ARTICLES){surtitre = #SURTITRE}>
|
||||
<option value="#ID_ARTICLE" [(#ENV{id_groupe}|=={#ID_ARTICLE}|oui) selected="selected"]>#TITRE</option>
|
||||
<BOUCLE_groupes(ARTICLES){surtitre = #SURTITRE}{0,1}>
|
||||
<option value="#ID_ARTICLE" [(#ENV{id_groupe}|=={#ID_ARTICLE}|oui) selected="selected"]>#SURTITRE</option>
|
||||
</BOUCLE_groupes>
|
||||
</optgroup>
|
||||
</BOUCLE_villes>
|
||||
</optgroup>
|
||||
</BOUCLE_pays>
|
||||
</select>
|
||||
</fieldset>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<aside class="col col-lg-3 d-none d-lg-block dernieres-nouvelles">
|
||||
|
||||
<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>
|
||||
</BOUCLE_pays>
|
||||
</h3>
|
||||
|
|
Loading…
Add table
Reference in a new issue