Changeset 59 for trunk/WordPress/plugin/transposh/transposh_widget.php
- Timestamp:
- 03/03/2009 10:23:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/transposh_widget.php
r46 r59 102 102 103 103 echo $before_widget . $before_title . __(no_translate("Transposh")) . $after_title; 104 echo "<span class=\"" . NO_TRANSLATE_CLASS . "\" >"; 105 104 106 105 switch ($options['style']) { 107 106 case 1: // flags 108 107 //keep the flags in the same direction regardless of the overall page direction 109 echo "<div dir=rtl>";110 108 echo "<div style=\"text-align: left;\" class=\"" . NO_TRANSLATE_CLASS . "\" >"; 109 111 110 global $plugin_url; 112 111 $using_permalinks = $wp_rewrite->using_permalinks(); … … 131 130 } 132 131 } 133 134 132 echo "</div>"; 135 133 … … 141 139 142 140 echo "<form action=\"$page_url\" method=\"post\">"; 141 echo "<span class=\"" . NO_TRANSLATE_CLASS . "\" >"; 143 142 echo "<select name=\"lang\" id=\"lang\" onchange=\"Javascript:this.form.submit();\">"; 144 143 echo "<option value=\"none\">[Language]</option>"; … … 153 152 { 154 153 $is_selected = ($lang == $code ? "selected=\"selected\"" : "" ); 155 echo "<option value=\"$code\" $is_selected>" . no_translate($language). "</option>";154 echo "<option value=\"$code\" $is_selected>" . $language . "</option>"; 156 155 $is_showing_languages = TRUE; 157 156 } 158 157 } 159 158 echo "</select><br/>"; 159 echo "</span>"; // the no_translate for the language list 160 160 } 161 161 … … 169 169 echo "<input type=\"checkbox\" name=\"" . EDIT_PARAM . "\" value=\"1\"" . 170 170 ($is_edit ? "checked=\"1\"" : "0") . 171 "\" onClick=\"this.form.submit();\"/> Edit Translation<br/>";171 "\" onClick=\"this.form.submit();\"/> Edit Translation"; 172 172 } 173 173 … … 181 181 182 182 echo "</form>"; 183 echo "</span>"; // the no_translate for the widget184 183 185 184 echo $after_widget;
Note: See TracChangeset
for help on using the changeset viewer.
