Changeset 154


Ignore:
Timestamp:
04/15/2009 03:30:00 PM (3 years ago)
Author:
ofer
Message:

Fix hints and use more compatible title tag

File:
1 edited

Legend:

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

    r151 r154  
    949949        //The browser will take decode step 2 and pass it to the js engine which decode step 1 - a bit tricky 
    950950        $translation = htmlspecialchars(addslashes($translation)); 
    951         $original    = htmlspecialchars(addslashes($original)); 
     951        //TODO: Need to check this one delicate point 
     952        // $original    = htmlspecialchars(addslashes($original)); 
    952953 
    953954        if ($is_translated) 
     
    962963        $img = "<img src=\"$plugin_url/img/translate$add_img.png\" alt=\"translate\" class=\"".IMG_PREFIX."\" id=\"" . IMG_PREFIX . "$segment_id\" ". 
    963964           "onclick=\"translate_dialog('$original','$translation','$segment_id'); return false;\" ". 
    964            "onmouseover=\"hint('$original'); return true;\" ". 
     965                   "title=\"$original\"". 
     966           //"onmouseover=\"hint('$original'); return true;\" ". 
    965967           "onmouseout=\"nd()\" />"; 
    966968 
Note: See TracChangeset for help on using the changeset viewer.