#SET{config_objet,#CONFIG{config_alertes/#ENV{objet}|table_objet}|to_array} [(#BOITE_OUVRIR{<:alerte:titre_alertes:>})] [] [(#ID_OBJET|alertes_trouver{#OBJET,#SESSION{id_auteur}}|non) [(#BOUTON_ACTION{[(#CHEMIN{images/alerte-add-32.png} |balise_img{<:alerte:add_to:>}|inserer_attribut{class,co_middle} |image_reduire{24,24} |concat{' ',<:alerte:add_to:>,''})], [(#URL_ACTION_AUTEUR{ajouter_alerte,#OBJET-#ID_OBJET,#SELF})], icone s24 horizontale alerte-24,<:alerte:confirmer_add_to:>})] ] [(#ID_OBJET|alertes_trouver{#OBJET,#SESSION{id_auteur}}|oui) [(#BOUTON_ACTION{[(#CHEMIN{images/alerte-remove-32.png} |balise_img{<:alerte:remove_from:>}|inserer_attribut{class,co_middle} |image_reduire{24,24} |concat{' ',<:alerte:remove_from:>,''})], [(#URL_ACTION_AUTEUR{retirer_alerte,#OBJET-#ID_OBJET,#SELF})], icone s24 horizontale alerte-24,<:alerte:confirmer_remove_from:>})] ] [(#REM) Si on est sur un objet rubrique, il faut permettre de s'abonner au secteur. ] [(#SET{secteur,[(#ID_OBJET|trouver_secteur)]})]
[] [(#GET{secteur}|>{0}|oui) [(#GET{secteur}|alertes_trouver{secteur,#SESSION{id_auteur}}|non) [(#BOUTON_ACTION{[(#CHEMIN{images/alerte-add-32.png} |balise_img{<:alerte:add_sector_to:>}|inserer_attribut{class,co_middle} |image_reduire{24,24} |concat{' ',<:alerte:add_sector_to:>,''})], [(#URL_ACTION_AUTEUR{ajouter_alerte,secteur-[(#GET{secteur})],#SELF})], icone s24 horizontale alerte-24,<:alerte:confirmer_add_to:>})] ] [(#GET{secteur}|alertes_trouver{secteur,#SESSION{id_auteur}}|oui) [(#BOUTON_ACTION{[(#CHEMIN{images/alerte-remove-32.png} |balise_img{<:alerte:remove_sector_from:>}|inserer_attribut{class,co_middle} |image_reduire{24,24} |concat{' ',<:alerte:remove_sector_from:>,''})], [(#URL_ACTION_AUTEUR{retirer_alerte,secteur-[(#GET{secteur})],#SELF})], icone s24 horizontale alerte-24,<:alerte:confirmer_remove_from:>})] ] ]
#BOITE_FERMER