| @@ 2008-2011 (lines=4) @@ | ||
| 2005 | } |
|
| 2006 | ||
| 2007 | $_options = array(); |
|
| 2008 | if (isset($_contexte['ajax'])) { |
|
| 2009 | $_options[] = preg_replace(",=>(.*)$,ims", '=> ($v=(\\1))?$v:true', $_contexte['ajax']); |
|
| 2010 | unset($_contexte['ajax']); |
|
| 2011 | } |
|
| 2012 | if ($p->etoile) { |
|
| 2013 | $_options[] = "'etoile'=>true"; |
|
| 2014 | } |
|
| @@ 2105-2108 (lines=4) @@ | ||
| 2102 | ||
| 2103 | $_options = memoriser_contexte_compil($p); |
|
| 2104 | $_options = "'compil'=>array($_options), 'trim'=>true"; |
|
| 2105 | if (isset($_contexte['ajax'])) { |
|
| 2106 | $_options .= ", " . preg_replace(",=>(.*)$,ims", '=> ($v=(\\1))?$v:true', $_contexte['ajax']); |
|
| 2107 | unset($_contexte['ajax']); |
|
| 2108 | } |
|
| 2109 | ||
| 2110 | $_l = 'array(' . join(",\n\t", $_contexte) . ')'; |
|
| 2111 | if ($flag_env) { |
|
| @@ 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 { |
|