Development

Changeset 8711

You must first sign up to be able to contribute.

Changeset 8711

Show
Ignore:
Timestamp:
05/01/08 14:21:31 (6 months ago)
Author:
FabianLange
Message:

fixed typo. fixes #3451

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.0/book/10-Forms.txt

    r8706 r8711  
    4343    // It allows you to add custom attributes to the generated tag 
    4444    <?php echo input_tag('name', 'default value', 'maxlength=20') ?> 
    45      => <input type="text" name="name" id="name" value="default value"maxlength="20" /> 
     45     => <input type="text" name="name" id="name" value="default value" maxlength="20" /> 
    4646 
    4747    // Long text field (text area) 
     
    5454    <?php echo checkbox_tag('single', 1, true) ?> 
    5555    <?php echo checkbox_tag('driverslicense', 'B', false) ?> 
    56      => <input type="checkbox" name="single" id="single" value="1"checked="checked" /> 
    57         <input type="checkbox" name="driverslicense" id="driverslicense"value="B" /> 
     56     => <input type="checkbox" name="single" id="single" value="1" checked="checked" /> 
     57        <input type="checkbox" name="driverslicense" id="driverslicense" value="B" /> 
    5858 
    5959    // Radio button 
    6060    <?php echo radiobutton_tag('status[]', 'value1', true) ?> 
    6161    <?php echo radiobutton_tag('status[]', 'value2', false) ?> 
    62      => <input type="radio" name="status[]" id="status_value1" value="value1"checked="checked" /> 
     62     => <input type="radio" name="status[]" id="status_value1" value="value1" checked="checked" /> 
    6363        <input type="radio" name="status[]" id="status_value2" value="value2" /> 
    6464 
  • doc/branches/1.1/book/10-Forms.txt

    r8706 r8711  
    4343    // It allows you to add custom attributes to the generated tag 
    4444    <?php echo input_tag('name', 'default value', 'maxlength=20') ?> 
    45      => <input type="text" name="name" id="name" value="default value"maxlength="20" /> 
     45     => <input type="text" name="name" id="name" value="default value" maxlength="20" /> 
    4646 
    4747    // Long text field (text area) 
     
    5454    <?php echo checkbox_tag('single', 1, true) ?> 
    5555    <?php echo checkbox_tag('driverslicense', 'B', false) ?> 
    56      => <input type="checkbox" name="single" id="single" value="1"checked="checked" /> 
    57         <input type="checkbox" name="driverslicense" id="driverslicense"value="B" /> 
     56     => <input type="checkbox" name="single" id="single" value="1" checked="checked" /> 
     57        <input type="checkbox" name="driverslicense" id="driverslicense" value="B" /> 
    5858 
    5959    // Radio button 
    6060    <?php echo radiobutton_tag('status[]', 'value1', true) ?> 
    6161    <?php echo radiobutton_tag('status[]', 'value2', false) ?> 
    62      => <input type="radio" name="status[]" id="status_value1" value="value1"checked="checked" /> 
     62     => <input type="radio" name="status[]" id="status_value1" value="value1" checked="checked" /> 
    6363        <input type="radio" name="status[]" id="status_value2" value="value2" /> 
    6464