X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Ffusionax.php;h=ff77c3bc11ab874b6c8e3eb8843e54e7c55da08f;hb=8127963d297fab1ccb03df8f69cc9ddcdc645036;hp=848bc2746877eb434cc9e78838b5586e3a38f428;hpb=aabb817adfe803f869cf01ebede47cceb005544d;p=platal.git diff --git a/modules/fusionax.php b/modules/fusionax.php index 848bc27..ff77c3b 100644 --- a/modules/fusionax.php +++ b/modules/fusionax.php @@ -234,7 +234,7 @@ class FusionAxModule extends PLModule $next = 'clean'; } elseif ($action == 'clean') { // nettoyage du fichier temporaire - exec('rm -Rf ' . $spoolpath); + //exec('rm -Rf ' . $spoolpath); $report[] = 'Import finit.'; } foreach($report as $t) { @@ -673,6 +673,13 @@ class FusionAxModule extends PLModule 'address' => 'adresses', 'job' => 'emplois' ); + static $typeList = array( + 'name' => 'general', + 'phone' => 'general', + 'education' => 'general', + 'address' => 'adresses', + 'job' => 'emploi' + ); if (!array_key_exists($action, $issueList)) { pl_redirect('fusionax'); @@ -695,6 +702,7 @@ class FusionAxModule extends PLModule $page->changeTpl('fusionax/other_issues.tpl'); $page->assign('issues', $issues); $page->assign('issue', $issueList[$action]); + $page->assign('type', $typeList[$action]); $page->assign('total', $total); } }