Subversion Repositories eFlore/Applications.cel

Rev

Rev 2045 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2045 Rev 2194
Line 29... Line 29...
29
		$id_mot_cle = $pairs['id'];
29
		$id_mot_cle = $pairs['id'];
30
		$action = $pairs['action'];
30
		$action = $pairs['action'];
Line 31... Line 31...
31
	
31
	
32
		if ($action == 'modification') {
32
		if ($action == 'modification') {
33
			$nouveau_nom = $pairs['motcle'];
33
			$nouveau_nom = $pairs['motcle'];
34
			$modification = $this->getGestionMotsCles($uid[0])->renommerMotCle($id_mot_cle, $nouveau_nom);	
34
			$modification = $this->getGestionMotsCles($uid[0])->renommerMotCle($id_mot_cle, $nouveau_nom);
35
		} else if ($action == 'deplacement') {
35
		} else if ($action == 'deplacement') {
36
			$id_pere = $pairs['parent'];
36
			$id_pere = $pairs['parent'];
37
			$modification = $this->getGestionMotsCles($uid[0])->deplacerMotCle($id_mot_cle, $id_pere, $id_utilisateur);
37
			$modification = $this->getGestionMotsCles($uid[0])->deplacerMotCle($id_mot_cle, $id_pere, $id_utilisateur);
Line -... Line 38...
-
 
38
		}
38
		}
39
		
39
		
40
		$modification = ($modification !== false);
40
		if($modification) {
41
		if($modification) {
Line 41... Line 42...
41
			$this->envoyer("OK");
42
			$this->envoyer("OK");