Re,
Pour faire peut-être évoluer ton code à toi de juger, j'avais rajouter ça dans plugin_form.
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 /** * retourne un champ input password * @access public * @param string $sName nom du champ * @param array $tOption options du champ texte */ public function getInputPassword($sName,$tOption=null){ $sHtml=null; $sHtml.='<input type="password" name="'.$sName.'" value="'.$this->getValue($sName).'" '.$this->getOption($tOption).'/>'; $sHtml.=$this->getMessage($sName); return $sHtml; } /** * retourne un champ input password vide * @access public * @param string $sName nom du champ * @param array $tOption options du champ texte */ public function getInputPasswordEmpty($sName,$tOption=null){ $sHtml=null; $sHtml.='<input type="password" name="'.$sName.'" value="" '.$this->getOption($tOption).'/>'; $sHtml.=$this->getMessage($sName); return $sHtml; }
A +
Partager