Ignore:
Timestamp:
Nov 24, 2009, 9:13:38 AM (15 years ago)
Author:
george
Message:
  • Upraveno: Přepracován základový webový systém
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Base/Types/Boolean.php

    r40 r42  
    11<?php
     2
     3include_once(dirname(__FILE__).'/Base.php');
    24
    35class TypeBoolean extends TypeBase
     
    810  {
    911    if($Item['Value'] == 1) $Checked = ' checked="1"'; else $Checked = '';
    10     return('<input type="checkbox" name="'.$Item['Name'].'" disabled="1"'.$Checked.'>');
     12    return('<input type="checkbox" name="'.$Item['Name'].'" disabled="1"'.$Checked.'/>');
    1113  }
    1214
     
    1416  {
    1517    if($Item['Value'] == 1) $Checked = ' checked="1"'; else $Checked = '';
    16     return('<input type="checkbox" name="'.$Item['Name'].'"'.$Checked.'>');
     18    return('<input type="checkbox" name="'.$Item['Name'].'"'.$Checked.'/>');
    1719  }
    1820
Note: See TracChangeset for help on using the changeset viewer.