[(#REM) modèle pour Orgchart.js ] [(#REM) Valeurs par défaut Attention : le nom des variables sont entièrement en minuscule pour respecter les dénominations habituelles de SPIP, mais leur utilisation dans l'environnement javascipt prend en compte une dénomination utilisant une casse mixte utilisée par Org Chart. ] #SET{data,#ENV{data}|replace{"'","’"}|html_entity_decode|addslashes} #SET{partie,publique} [(#ENV{partie}|=={privee}|oui) #SET{partie,privee}] #SET{idorgchartjs,1} [(#ENV{idorgchartjs}|oui) #SET{idorgchartjs,#ENV{idorgchartjs}|intval}] #SET{debug,false} [(#ENV{debug}|=={true}|oui) #SET{debug,true}] #SET{pan,false} [(#ENV{pan}|=={true}|oui) #SET{pan,true}] #SET{zoominlimit,7} [(#ENV{zoomoutlimit}|oui) #SET{zoomoutlimit,#ENV{zoomoutlimit}|floatval}] #SET{zoomoutlimit,'0.5'} [(#ENV{zoomoutlimit}|oui) #SET{zoomoutlimit,#ENV{zoomoutlimit}|floatval}] #SET{direction,t2b} [(#ENV{direction}|in_array{#ARRAY{t2b,b2t,l2r,r2l}}|oui)#SET{direction,#ENV{direction}}] #SET{verticallevel,false} [(#ENV{verticallevel}|=={true}|oui) #SET{verticallevel,true}] #SET{togglesiblingsresp,true} [(#ENV{togglesiblingsresp}|=={false}|oui) #SET{togglesiblingsresp,false}] #SET{ajaxurl,''} [(#ENV{ajaxurl}|oui) #SET{ajaxurl,#ENV{ajaxurl}}] #SET{visiblelevel,999} [(#ENV{visiblelevel}|oui) #SET{visiblelevel,#ENV{visiblelevel}|intval}] #SET{nodetitle,'nom de l’organigramme'} #SET{parentnodesymbol,'oci-leader'} #SET{nodecontent,'titre'} [(#ENV{nodecontent}|oui) #SET{nodecontent,#ENV{nodecontent}|trim}] #SET{nodeid,''} #SET{relationshipvalue,''} #SET{nodetemplate,''} #SET{createnode,''} #SET{exportbutton,false} #SET{exportfilename,'mon organigramme'}[(#ENV{exportfilename}|oui) #SET{exportfilename,#ENV{exportfilename}|trim|strtolower|ucfirst}] #SET{exportfileextension,'png'} #SET{chartclass,''} #SET{classname,''} #SET{draggable,false} #SET{dropcriteria, ''} [(#REM) c'est dans cette balise ci-dessous que sera placé l’organigramme]
[(#REM) c'est le javascript ci-dessous qui élabore l’organigramme]