Changeset 8867 for trunk/wp-admin/widgets.php
- Timestamp:
- 09/11/2008 06:54:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/widgets.php
r8841 r8867 101 101 exit; 102 102 } 103 104 105 106 103 107 104 // What widget (if any) are we editing … … 226 223 $show = isset($_GET['show']) && isset($show_values[$_GET['show']]) ? attribute_escape( $_GET['show'] ) : false; 227 224 228 229 225 $messages = array( 230 226 'updated' => __('Changes saved.') 231 227 ); 232 228 233 require_once( 'admin-header.php' ); 234 235 if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?> 236 237 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div> 238 239 <?php endif; ?> 240 241 <div class="wrap"> 242 243 <form id="widgets-filter" action="" method="get"> 244 245 <h2><?php _e( 'Widgets' ); ?></h2> 229 require_once( 'admin-header.php' ); ?> 230 231 <form class="search-form" action="" method="get"> 246 232 <p id="widget-search" class="search-box"> 247 233 <label class="hidden" for="widget-search-input"><?php _e( 'Search Widgets' ); ?></label> … … 249 235 <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" /> 250 236 </p> 237 </form> 238 239 <?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?> 240 <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div> 241 <?php endif; ?> 242 243 <div class="wrap"> 244 245 <form id="widgets-filter" action="" method="get"> 246 247 <h2><?php _e( 'Widgets' ); ?></h2> 251 248 252 249 <div class="widget-liquid-left-holder">
Note: See TracChangeset
for help on using the changeset viewer.