| @@ 212-215 (lines=4) @@ | ||
| 209 | $_contexte['doublons'] = "\\'doublons\\' => '.var_export(\$doublons,true).'"; |
|
| 210 | } |
|
| 211 | ||
| 212 | if ($ajax = isset($_contexte['ajax'])) { |
|
| 213 | $ajax = preg_replace(",=>(.*)$,ims", '=> ($v=(\\1))?$v:true', $_contexte['ajax']); |
|
| 214 | unset($_contexte['ajax']); |
|
| 215 | } |
|
| 216 | ||
| 217 | $_contexte = join(",\n\t", $_contexte); |
|
| 218 | } else { |
|
| @@ 1968-1971 (lines=4) @@ | ||
| 1965 | } |
|
| 1966 | ||
| 1967 | $_options = array(); |
|
| 1968 | if (isset($_contexte['ajax'])) { |
|
| 1969 | $_options[] = preg_replace(",=>(.*)$,ims", '=> ($v=(\\1))?$v:true', $_contexte['ajax']); |
|
| 1970 | unset($_contexte['ajax']); |
|
| 1971 | } |
|
| 1972 | if ($p->etoile) { |
|
| 1973 | $_options[] = "'etoile'=>true"; |
|
| 1974 | } |
|
| @@ 2065-2068 (lines=4) @@ | ||
| 2062 | ||
| 2063 | $_options = memoriser_contexte_compil($p); |
|
| 2064 | $_options = "'compil'=>array($_options), 'trim'=>true"; |
|
| 2065 | if (isset($_contexte['ajax'])) { |
|
| 2066 | $_options .= ", " . preg_replace(",=>(.*)$,ims", '=> ($v=(\\1))?$v:true', $_contexte['ajax']); |
|
| 2067 | unset($_contexte['ajax']); |
|
| 2068 | } |
|
| 2069 | ||
| 2070 | $_l = 'array(' . join(",\n\t", $_contexte) . ')'; |
|
| 2071 | if ($flag_env) { |
|