#HTTP_HEADER{Content-Type: application/json; charset=#CHARSET} [(#AUTORISER{voir,messages}|sinon_interdire_acces)] [(#ENV{id}|setenv{id_message})] [{ "header":{ "id": "_", "date": "Date", "origine": "Page origine", "formulaire": "Formulaire", [(#CONFIG{gamucontact/gamutable_afficher_type}|oui) "type": "Type", ] "objet": "Objet", "statut": "Statut", "actions": "Actions", "nom": "Expéditeur", "email_contact": "Email", "telephone": "Tel", "message": "Message" }, "crayons": { [(#REM) "statut": "message", "nom": "message" ] }, "ordreCol" : { "date": "desc" }, "filtreCol" : { "statut": "select", "formulaire": "select", "nom": "input", [(#CONFIG{gamucontact/gamutable_afficher_type}|oui) "type": "select", ] "email_contact" : "input" }, "filtreColValeurs" : {}, "classes": { "id": "w80p", "objet": "minw250p", "statut": "minw100p", "formulaire": "w150p" } } , [(#SET{message, [(#TEXTE*|couper{100})]})] #SET{statut, #LISTE{prepa,prop,publie,poubelle}|str_replace{#LISTE{Brouillon,Proposé,Publié,Poubelle}, #STATUT}} #SET{formulaire, #TITRE|replace{Formulaire de, ''}} [(#SET{origine_, [(#ORIGINE|couper{35})...]})] [(#SET{origine, article origine})] #SET{args,#ID_MESSAGE} [(#STATUT|!={publie}|oui) #SET{args, #GET{args}|concat{-}|concat{publie}} [(#SET{actions, })] ][(#STATUT|=={publie}|oui) #SET{args, #GET{args}|concat{-}|concat{poubelle}} [(#SET{actions, })] ] { "html": { "id": #ID_MESSAGE, "date": [(#DATE_HEURE|affdate{d/m/Y H:i:s}|json_encode)], "origine": [(#GET{origine}|json_encode)], "formulaire": [(#GET{formulaire}|json_encode)], [(#CONFIG{gamucontact/gamutable_afficher_type}|oui) "type": [(#TYPE|json_encode)], ] "objet": [(#OBJET|json_encode)], "statut": [(#GET{statut}|json_encode)], "actions": [(#GET{actions}|json_encode)], "nom": [(#NOM|json_encode)], "email_contact": [(#EMAIL_CONTACT|json_encode)], "telephone": [(#TELEPHONE|json_encode)], "message": [(#GET{message}|json_encode)] }, "search": { "id": #ID_MESSAGE, "date": [(#DATE_HEURE|affdate{Y-m-d H:i:s}|json_encode)], "origine": [(#ORIGINE|json_encode)], "formulaire": [(#GET{formulaire}|json_encode)], [(#CONFIG{gamucontact/gamutable_afficher_type}|oui) "type": [(#TYPE|json_encode)], ] "objet": [(#OBJET|json_encode)], "statut": [(#STATUT|json_encode)], "actions": "", "nom": [(#NOM|json_encode)], "email_contact": [(#EMAIL_CONTACT|json_encode)], "telephone": [(#TELEPHONE|json_encode)], "message": [(#GET{message}|json_encode)] } } ]