Changeset 92


Ignore:
Timestamp:
03/23/2009 11:11:51 PM (3 years ago)
Author:
ofer
Message:

Naturally, a typo slipped in, also fixed the missing logo image in the language list mode (widget)

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

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/js/transposh.js

    r91 r92  
    170170jQuery.noConflict(); 
    171171var transposh_post_url,transposh_target_lang;  
    172 jQuery("script[src*='transposh']").each(function (i) { 
    173         transposh_post_url = this.src.match('post_url=(.*?)&')[1]; 
     172jQuery("script[src*='transposh.js']").each(function (i) { 
     173        transposh_post_url = unescape(this.src.match('post_url=(.*?)&')[1]); 
    174174        transposh_target_lang = this.src.match('lang=(.*?)&')[1]; 
    175175}); 
  • trunk/WordPress/plugin/transposh/transposh_widget.php

    r81 r92  
    8383{ 
    8484        logger("Enter " . __METHOD__, 4); 
    85         global $languages, $wp_query, $wp_rewrite; 
     85        global $languages, $wp_query, $wp_rewrite, $plugin_url; 
    8686        extract($args); 
    8787 
     
    109109            echo "<div style=\"text-align: left;\" class=\"" . NO_TRANSLATE_CLASS . "\" >"; 
    110110 
    111             global $plugin_url; 
    112111            $using_permalinks = $wp_rewrite->using_permalinks(); 
    113112 
Note: See TracChangeset for help on using the changeset viewer.