Changeset 107


Ignore:
Timestamp:
03/26/2009 11:38:02 PM (3 years ago)
Author:
amir
Message:

Changes made to pass w3c validation.

Location:
trunk/WordPress/plugin/transposh
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/parser.php

    r103 r107  
    488488        $current_tag = end($tags_list); 
    489489 
    490         if($is_in_body || $current_tag == 'title') 
     490        if($current_tag == 'title') 
     491        { 
     492                $rc = TRUE; 
     493        } 
     494        else if($is_in_body &&  $current_tag != 'style' && $current_tag != 'script') 
    491495        { 
    492496                $rc = TRUE; 
  • trunk/WordPress/plugin/transposh/transposh.php

    r106 r107  
    152152        if($is_edit) 
    153153        { 
    154                 $params = EDIT_PARAM . '=1&'; 
     154                $params = EDIT_PARAM . '=1&'; 
    155155 
    156156        } 
     
    158158        if($use_params_only) 
    159159        { 
    160                 $params .= LANG_PARAM . "=$lang&"; 
     160                $params .= LANG_PARAM . "=$lang&"; 
    161161        } 
    162162        else 
  • trunk/WordPress/plugin/transposh/transposh_widget.php

    r105 r107  
    167167        { 
    168168            echo "<input type=\"checkbox\" name=\"" . EDIT_PARAM . "\" value=\"1\"" . 
    169                 ($is_edit ? "checked=\"1\"" : "0") . 
    170                 "\" onClick=\"this.form.submit();\"/>&nbsp;Edit Translation"; 
     169                ($is_edit ? "checked=\"1\"" : "") . 
     170                " onclick=\"this.form.submit();\"/>&nbsp;Edit Translation"; 
    171171        } 
    172172 
Note: See TracChangeset for help on using the changeset viewer.