Changeset 11110 for trunk/wp-admin/plugin-editor.php
- Timestamp:
- 04/28/2009 06:37:51 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/plugin-editor.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-editor.php
r11109 r11110 157 157 ?> 158 158 </select> 159 <input type="submit" name="Submit" value="<?php _e ('Select') ?>" class="button" />159 <input type="submit" name="Submit" value="<?php _ea('Select') ?>" class="button" /> 160 160 </form> 161 161 </div> … … 205 205 <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" tabindex="1" class="codepress <?php echo $codepress_lang ?>"><?php echo $content ?></textarea> 206 206 <input type="hidden" name="action" value="update" /> 207 <input type="hidden" name="file" value="<?php echo $file?>" />208 <input type="hidden" name="plugin" value="<?php echo $plugin?>" />207 <input type="hidden" name="file" value="<?php echo attr($file) ?>" /> 208 <input type="hidden" name="plugin" value="<?php echo attr($plugin) ?>" /> 209 209 </div> 210 210 <?php if ( count( $functions ) ) : ?> 211 <div id="documentation"><label for="docs-list"><?php _e('Documentation:') ?></label> <?php echo $docs_select ?> <input type="button" class="button" value=" <?php echo attr(__( 'Lookup' )) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" /></div>211 <div id="documentation"><label for="docs-list"><?php _e('Documentation:') ?></label> <?php echo $docs_select ?> <input type="button" class="button" value="<?php _ea( 'Lookup' ) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_locale() ) ?>&version=<?php echo urlencode( $wp_version ) ?>&redirect=true'); }" /></div> 212 212 <?php endif; ?> 213 213 <?php if ( is_writeable($real_file) ) : ?> … … 218 218 <?php 219 219 if ( isset($_GET['phperror']) ) 220 echo "<input type='hidden' name='phperror' value='1' /><input type='submit' name='submit' class='button-primary' value='" . _ _('Update File and Attempt to Reactivate') . "' tabindex='2' />";221 else 222 echo "<input type='submit' name='submit' class='button-primary' value='" . _ _('Update File') . "' tabindex='2' />";220 echo "<input type='hidden' name='phperror' value='1' /><input type='submit' name='submit' class='button-primary' value='" . _a('Update File and Attempt to Reactivate') . "' tabindex='2' />"; 221 else 222 echo "<input type='submit' name='submit' class='button-primary' value='" . _a('Update File') . "' tabindex='2' />"; 223 223 ?> 224 224 </p>
Note: See TracChangeset
for help on using the changeset viewer.