Dotclear

Changeset 1137:67d6b276ec8e for inc


Ignore:
Timestamp:
03/29/13 07:03:08 (12 years ago)
Author:
JcDenis
Branch:
twig
Message:

Minor bugfix

Location:
inc/admin
Files:
2 edited

Legend:

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

    r1090 r1137  
    376376     public function __toString() 
    377377     { 
    378           return $this->value; 
     378          return (string) $this->value; 
    379379     } 
    380380      
  • inc/admin/default-templates/form_layout.html.twig

    r1001 r1137  
    4848          <label for="{{name}}" class="classic"> 
    4949     {% endif %} 
    50     <input type="checkbox" {{ block('widget_attributes') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %} /> 
     50    <input type="checkbox" {{ block('field_attr') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %} /> 
    5151     {% if label is not empty %} 
    5252          {{ label }}</label> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map