dépôts
/
ptitvelo
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~v3.0.12-->3.0.13
[ptitvelo/web/www.git]
/
www
/
ecrire
/
public
/
decompiler.php
diff --git
a/www/ecrire/public/decompiler.php
b/www/ecrire/public/decompiler.php
index
f6a7782
..
de52ce5
100644
(file)
--- a/
www/ecrire/public/decompiler.php
+++ b/
www/ecrire/public/decompiler.php
@@
-71,18
+71,15
@@
function decompiler_polyglotte($struct, $fmt='', $prof=0)
function decompiler_idiome($struct, $fmt='', $prof=0)
{
function decompiler_idiome($struct, $fmt='', $prof=0)
{
- $module = ($struct->module == MODULES_IDIOMES)? ''
- : $struct->module;
-
$args = array();
foreach ($struct->arg as $k => $v) {
$args = array();
foreach ($struct->arg as $k => $v) {
-
if ($k) $args[$k]= decompiler_
($v, $fmt, $prof);
+
$args[$k]= public_decompiler
($v, $fmt, $prof);
}
$filtres = decompiler_liste($struct->param, $fmt, $prof);
$f = 'format_idiome_' . $fmt;
}
$filtres = decompiler_liste($struct->param, $fmt, $prof);
$f = 'format_idiome_' . $fmt;
- return $f($struct->nom_champ, $module, $args, $filtres, $prof);
+ return $f($struct->nom_champ, $
struct->
module, $args, $filtres, $prof);
}
function decompiler_champ($struct, $fmt='', $prof=0)
}
function decompiler_champ($struct, $fmt='', $prof=0)