Dotclear


Ignore:
Timestamp:
03/08/13 16:42:21 (12 years ago)
Author:
Dsls <dsls@…>
Branch:
twig
Message:

fixed textfilter

Location:
inc/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/class.dc.filter.php

    r1147 r1148  
    666666               return; 
    667667          if ($value === NULL) { 
    668                $value = 1; 
    669           } 
    670           $f = new dcFieldCombo( 
     668               $value = ''; 
     669          } 
     670          $f = new dcFieldText( 
    671671               $this->getFieldID($pos), 
    672                $value, 
    673                $this->options); 
     672               $value); 
    674673          $this->filterset->addField($f); 
    675674          $this->fields[]=$f; 
  • inc/admin/default-templates/form_layout.html.twig

    r1147 r1148  
    3737 
    3838{% block field_input %} 
     39{% autoescape "html" %} 
    3940{% spaceless %} 
    4041    {% set type = type|default('text') %} 
     
    4344    {{ block('endlabel') }} 
    4445{% endspaceless %} 
     46{% endautoescape %} 
    4547{% endblock field_input %} 
    4648 
Note: See TracChangeset for help on using the changeset viewer.

Sites map