WordPress.org

Make WordPress Core

Changeset 11554


Ignore:
Timestamp:
06/12/2009 03:20:16 AM (9 years ago)
Author:
azaozz
Message:

H2 "Add New" buttons for the main screens

Location:
trunk/wp-admin
Files:
8 edited

Legend:

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

    r11458 r11554  
    107107<div class="wrap">
    108108<?php screen_icon(); ?>
    109 <h2><?php echo esc_html( $title );
     109<h2><?php echo esc_html( $title ); ?> <a href="page-new.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php
    110110if ( isset($_GET['s']) && $_GET['s'] )
    111111    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( get_search_query() ) ); ?>
  • trunk/wp-admin/edit.php

    r11383 r11554  
    9797<div class="wrap">
    9898<?php screen_icon(); ?>
    99 <h2><?php echo esc_html( $title );
     99<h2><?php echo esc_html( $title ); ?> <a href="post-new.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php
    100100if ( isset($_GET['s']) && $_GET['s'] )
    101101    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( get_search_query() ) ); ?>
  • trunk/wp-admin/link-manager.php

    r11450 r11554  
    7272<div class="wrap nosubsub">
    7373<?php screen_icon(); ?>
    74 <h2><?php echo esc_html( $title );
     74<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php
    7575if ( isset($_GET['s']) && $_GET['s'] )
    7676    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( stripslashes($_GET['s']) ) ); ?>
  • trunk/wp-admin/plugins.php

    r11527 r11554  
    253253<div class="wrap">
    254254<?php screen_icon(); ?>
    255 <h2><?php echo esc_html( $title ); ?></h2>
     255<h2><?php echo esc_html( $title ); ?> <a href="plugin-install.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a></h2>
    256256
    257257<?php
  • trunk/wp-admin/themes.php

    r11539 r11554  
    125125<div class="wrap">
    126126<?php screen_icon(); ?>
    127 <h2><?php echo esc_html( $title ); ?></h2>
     127<h2><?php echo esc_html( $title ); ?> <a href="theme-install.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a></h2>
    128128
    129129<h3><?php _e('Current Theme'); ?></h3>
  • trunk/wp-admin/upload.php

    r11380 r11554  
    165165<div class="wrap">
    166166<?php screen_icon(); ?>
    167 <h2><?php echo esc_html( $title );
     167<h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php
    168168if ( isset($_GET['s']) && $_GET['s'] )
    169169    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( get_search_query() ) ); ?>
  • trunk/wp-admin/users.php

    r11380 r11554  
    240240<div class="wrap">
    241241<?php screen_icon(); ?>
    242 <h2><?php echo esc_html( $title );
     242<h2><?php echo esc_html( $title ); ?>  <a href="user-new.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php
    243243if ( isset($_GET['usersearch']) && $_GET['usersearch'] )
    244244    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( $_GET['usersearch'] ) ); ?>
  • trunk/wp-admin/wp-admin.css

    r11546 r11554  
    32983298    border-radius: 5px;
    32993299}
     3300
     3301.add-new-h2 {
     3302    font-style: normal;
     3303    margin: 0 6px;
     3304    position: relative;
     3305    top: -3px;
     3306}
Note: See TracChangeset for help on using the changeset viewer.