Make WordPress Core

Changeset 14794


Ignore:
Timestamp:
05/21/2010 09:39:35 PM (14 years ago)
Author:
nacin
Message:

Less clunky export UI. see #10317

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/export.php

    r14614 r14794  
    6565<p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function on another WordPress site to import this site.'); ?></p>
    6666<form action="" method="get">
    67 <h3><?php _e('Options'); ?></h3>
     67<h3><?php _e('Filters'); ?></h3>
    6868
    6969<table class="form-table">
    7070<tr>
    71 <th><label for="mm_start"><?php _e('Restrict Date'); ?></label></th>
    72 <td><strong><?php _e('Start:'); ?></strong>
     71<th><label for="mm_start"><?php _e('Start Date'); ?></label></th>
     72<td>
    7373<select name="mm_start" id="mm_start">
    7474    <option value="all" selected="selected"><?php _e('All Dates'); ?></option>
    7575<?php echo $dateoptions; ?>
    76 </select> <br/>
    77 <strong><?php _e('End:'); ?></strong>
     76</select>
     77</td>
     78</tr>
     79<tr>
     80<th><label for="mm_end" id="mm_end"><?php _e('End Date'); ?></label></th>
     81<td>
    7882<select name="mm_end" id="mm_end">
    7983    <option value="all" selected="selected"><?php _e('All Dates'); ?></option>
     
    8387</tr>
    8488<tr>
    85 <th><label for="author"><?php _e('Restrict Author'); ?></label></th>
     89<th><label for="author"><?php _e('Authors'); ?></label></th>
    8690<td>
    8791<select name="author" id="author">
     
    96100</td>
    97101</tr>
    98 <tr>
    99 <th><?php _e('Restrict Taxonomies'); ?></th>
    100 <td>
    101102<?php foreach ( get_taxonomies( array( 'show_ui' => true ), 'objects' ) as $tax_obj ) {
    102103    $term_dropdown = wp_dropdown_categories( array( 'taxonomy' => $tax_obj->name, 'hide_if_empty' => true, 'show_option_all' => __( 'All Terms' ), 'name' => 'taxonomy[' . $tax_obj->name . ']', 'id' => 'taxonomy-' . $tax_obj->name, 'class' => '', 'echo' => false ) );
    103104    if ( $term_dropdown )
    104         echo '<label for="taxonomy-' . $tax_obj->name . '">' . $tax_obj->labels->name . '</label>: ' . $term_dropdown . '<br/>';
     105        echo '<tr><th><label for="taxonomy-' . $tax_obj->name . '">' . $tax_obj->labels->name . '</label></th><td>' . $term_dropdown . '</td></tr>';
    105106}
    106107?>
    107 </td>
    108 </tr>
    109108<tr>
    110 <th><label for="post_type"><?php _e('Restrict Content'); ?></label></th>
     109<th><label for="post_type"><?php _e('Content Types'); ?></label></th>
    111110<td>
    112111<select name="post_type" id="post_type">
     
    119118</tr>
    120119<tr>
    121 <th><label for="status"><?php _e('Restrict Status'); ?></label></th>
     120<th><label for="status"><?php _e('Statuses'); ?></label></th>
    122121<td>
    123122<select name="status" id="status">
Note: See TracChangeset for help on using the changeset viewer.