Changeset 50007 in spip-zone


Ignore:
Timestamp:
Jul 27, 2011, 2:24:01 AM (10 years ago)
Author:
webmaster@…
Message:

Correction d'un bug d'afichage de la valeur d'un contrôle de classe textarea.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/acs/inc/composant/classControles.php

    r49195 r50007  
    251251class ctlTextarea extends Controle {
    252252  public function draw() {
    253     $r = '<div align="'.$GLOBALS['spip_lang_left'].'"><label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'">'._TC($this->composant, $this->nom).'</label><textarea name="'.$this->var.'_'.$this->wid.'" class="forml" rows="'.(isset($this->param['lines']) ? $this->param['lines']-1 : 2).'">'.$txt.'</textarea></div>';
     253    $r = '<div align="'.$GLOBALS['spip_lang_left'].'"><label for "'.$this->var.'_'.$this->wid.'" title="'.$this->var.'">'._TC($this->composant, $this->nom).'</label><textarea name="'.$this->var.'_'.$this->wid.'" class="forml" rows="'.(isset($this->param['lines']) ? $this->param['lines']-1 : 2).'">'.$this->value.'</textarea></div>';
    254254    if ($this->help)
    255255      $r .= acs_help_div($this->var.'Help', $this->help);
Note: See TracChangeset for help on using the changeset viewer.