Make WordPress Core


Ignore:
Timestamp:
09/10/2008 10:47:03 PM (17 years ago)
Author:
ryan
Message:

Inline editing. First cut. Props Aaron Harp. see #6815

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-pages.php

    r8839 r8857  
    4545$parent_file = 'edit.php';
    4646wp_enqueue_script('admin-forms');
     47wp_enqueue_script('inline-edit');
    4748
    4849$post_stati  = array(   //  array( adj, noun )
     
    154155<select name="action">
    155156<option value="" selected><?php _e('Actions'); ?></option>
     157<option value="edit"><?php _e('Edit'); ?></option>
    156158<option value="delete"><?php _e('Delete'); ?></option>
    157159</select>
     
    188190  </thead>
    189191  <tbody>
     192  <?php inline_edit_row( 'page' ) ?>
    190193  <?php page_rows($posts, $pagenum, $per_page); ?>
    191194  </tbody>
Note: See TracChangeset for help on using the changeset viewer.