Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3729 → Rev 3730

/branches/v3.00-serfouette/widget/modules/manager/Manager.php
65,7 → 65,7
 
$this->cel_url_tpl = $this->config['manager']['celUrlTpl'];
 
if ( $_POST !== array() ) { //print_r($_POST);
if ( !empty( $_POST ) ) { //print_r($_POST);
$this->parametres['projet'] = $_POST['projet'];
$this->parametres['langue'] = $_POST['langue'];
 
75,7 → 75,6
$json = $this->getDao()->modifier( $this->cel_url_tpl, $donnees );
} else {
$donnees = array_merge( $_POST, $this->traiterDonneesFiles() );
// var_dump($donnees);
$json = $this->getDao()->ajouter( $this->cel_url_tpl, $donnees );
$mode = $this->parametres['mode'] = 'modification';
}