WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/09/2010 02:16:45 AM (9 years ago)
Author:
nacin
Message:

Search for site-themes. props PeteMall, see #14897.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-themes.php

    r16242 r16252  
    11<?php
    22/**
    3  * Multisite themes administration panel.
     3 * Edit Site Themes Administration Screen
    44 *
    55 * @package WordPress
    6  * @subpackage Multisite
     6 * @subpackage Administration
    77 * @since 3.1.0
    88 */
     
    1818
    1919// Clean up request URI from temporary args for screen options/paging uri's to work as expected.
    20 $_SERVER['REQUEST_URI'] = remove_query_arg(array('network-enable', 'network-disable', 'network-enable-selected', 'network-disable-selected'), $_SERVER['REQUEST_URI']);
     20$_SERVER['REQUEST_URI'] = remove_query_arg(array('enable', 'disable', 'enable-selected', 'disable-selected'), $_SERVER['REQUEST_URI']);
    2121
    2222$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
     
    110110</h3>
    111111<p class="description"><?php _e( 'Network enabled themes are not shown on this screen.' ) ?></p>
    112 <?php
    113 if ( ! empty( $messages ) ) {
    114     foreach ( $messages as $msg )
    115         echo '<div id="message" class="updated"><p>' . $msg . '</p></div>';
    116 }
    117112
    118 $wp_list_table->views(); ?>
     113<form method="get" action="">
     114<p class="search-box">
     115    <label class="screen-reader-text" for="theme-search-input"><?php _e( 'Search Themes' ); ?>:</label>
     116    <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" />
     117    <?php submit_button( __( 'Search Installed Themes' ), 'button', '', false ); ?>
     118</p>
     119</form>
     120
     121<?php $wp_list_table->views(); ?>
    119122
    120123<form method="post" action="site-themes.php?action=update-site">
Note: See TracChangeset for help on using the changeset viewer.