Changeset 10792
- Timestamp:
- 03/15/2009 05:14:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r10767 r10792 203 203 <input type="hidden" name="theme" value="<?php echo $theme ?>" /> 204 204 </div> 205 <?php if ( count( $functions ) ) : ?> 206 <div id="documentation"><label for="docs-list">Documentation:</label> <?php echo $docs_select ?> <input type="button" class="button" value=" <?php _e( '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> 207 <?php endif; ?> 205 <?php if ( isset($functions ) && count($functions) ) { ?> 206 <div id="documentation"> 207 <label for="docs-list">Documentation:</label> 208 <?php echo $docs_select; ?> 209 <input type="button" class="button" value=" <?php _e( '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'); }" /> 210 </div> 211 <?php } ?> 208 212 209 213 <div>
Note: See TracChangeset
for help on using the changeset viewer.