Changeset 92
- Timestamp:
- 03/23/2009 11:11:51 PM (3 years ago)
- Location:
- trunk/WordPress/plugin/transposh
- Files:
-
- 2 edited
-
js/transposh.js (modified) (1 diff)
-
transposh_widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/js/transposh.js
r91 r92 170 170 jQuery.noConflict(); 171 171 var transposh_post_url,transposh_target_lang; 172 jQuery("script[src*='transposh ']").each(function (i) {173 transposh_post_url = this.src.match('post_url=(.*?)&')[1];172 jQuery("script[src*='transposh.js']").each(function (i) { 173 transposh_post_url = unescape(this.src.match('post_url=(.*?)&')[1]); 174 174 transposh_target_lang = this.src.match('lang=(.*?)&')[1]; 175 175 }); -
trunk/WordPress/plugin/transposh/transposh_widget.php
r81 r92 83 83 { 84 84 logger("Enter " . __METHOD__, 4); 85 global $languages, $wp_query, $wp_rewrite ;85 global $languages, $wp_query, $wp_rewrite, $plugin_url; 86 86 extract($args); 87 87 … … 109 109 echo "<div style=\"text-align: left;\" class=\"" . NO_TRANSLATE_CLASS . "\" >"; 110 110 111 global $plugin_url;112 111 $using_permalinks = $wp_rewrite->using_permalinks(); 113 112
Note: See TracChangeset
for help on using the changeset viewer.
