#HTTP_HEADER{Content-Type: application/json; charset=#CHARSET}
[(#REM)
Menu de selection d'une rubrique pour un article
Chercher les rubriques correspondant a la requete
]
{
"results": \[
#SET{label,''}
[(#SET{label,#GET{label}|concat{#TITRE|couper{12},' > '}})]
[(#SET{label,#GET{label}|concat{#TITRE|textebrut}})]
{
"id": [(#ID_RUBRIQUE|json_encode)],
"long_text": [(#GET{label}|json_encode)],
"text": [(#TITRE|textebrut|json_encode)]
}
#SET{label,''}
[(#SET{label,#GET{label}|concat{#TITRE|couper{12},' > '}})]
[(#SET{label,#GET{label}|concat{#TITRE|textebrut}})]
{
"id": [(#ID_RUBRIQUE|json_encode)],
"long_text": [(#GET{label}|json_encode)],
"text": [(#TITRE|textebrut|json_encode)]
}
/B_s>
\]
}