Changeset 117


Ignore:
Timestamp:
05/06/05 18:39:52 (9 years ago)
Author:
gogo
Message:

Fix #176 - incorrectly placed block of PHP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/SpellChecker/spell-check-logic.php

    r21 r117  
    128128            } 
    129129         } 
     130        $infolines .= '"Language Used":"'.$lang.'",'; 
     131        $infolines .= '"Mispelled words":"'.$counter.'",'; 
     132        $infolines .= '"Total words suggested":"'.$suggest_count.'",'; 
     133        $infolines .= '"Total Lines Checked":"'.$returnlines.'"'; 
     134        $infolines .= '};'; 
     135        $varlines = substr($varlines, 0, strlen($varlines) - 1); 
     136        echo $varlines.'};'.$infolines.'</script>'; 
    130137     } 
    131138     else 
     
    133140       $return = 'failed to open!'; 
    134141     } 
     142 
    135143} 
    136 $infolines .= '"Language Used":"'.$lang.'",'; 
    137 $infolines .= '"Mispelled words":"'.$counter.'",'; 
    138 $infolines .= '"Total words suggested":"'.$suggest_count.'",'; 
    139 $infolines .= '"Total Lines Checked":"'.$returnlines.'"'; 
    140 $infolines .= '};'; 
    141 $varlines = substr($varlines, 0, strlen($varlines) - 1); 
    142 echo $varlines.'};'.$infolines.'</script>'; 
     144 
    143145 
    144146echo '</head> 
Note: See TracChangeset for help on using the changeset viewer.