Changeset 108
- Timestamp:
- 03/27/2009 12:01:13 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/transposh_widget.php
r107 r108 79 79 { 80 80 logger("Enter " . __METHOD__, 4); 81 global $languages, $wp_query, $plugin_url ;81 global $languages, $wp_query, $plugin_url,$lang; 82 82 extract($args); 83 83 … … 115 115 if(strstr($viewable_langs, $code) || 116 116 ($is_translator && strstr($editable_langs, $code)) || 117 get_option(DEFAULT_LANG) == $code)117 (get_option(DEFAULT_LANG) == $code && $lang)) 118 118 { 119 119 $page_url2 = rewrite_url_lang_param($page_url, $code, $is_edit); … … 148 148 if(strstr($viewable_langs, $code) || 149 149 ($is_translator && strstr($editable_langs, $code)) || 150 get_option(DEFAULT_LANG) == $code)150 (get_option(DEFAULT_LANG) == $code && $lang)) 151 151 { 152 152 $is_selected = ($lang == $code ? "selected=\"selected\"" : "" );
Note: See TracChangeset
for help on using the changeset viewer.
