Bring back the H2s. Rough draft.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-10-17 20:02:03 +00:00
parent f3981a0ed8
commit 61f911c42e
34 changed files with 54 additions and 10 deletions

View File

@ -140,6 +140,7 @@ if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<ul class="subsubsub"><li class="current"><a class="current"><br /></a></li></ul>
<form class="search-form" action="" method="get">

View File

@ -121,6 +121,7 @@ if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['sp
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<ul class="subsubsub">
<?php

View File

@ -76,6 +76,7 @@ $messages[6] = __('Categories deleted.'); ?>
endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<ul class="subsubsub"><li><a class="current"><br /></a></li></ul>
<form class="search-form" action="" method="get">

View File

@ -320,6 +320,7 @@ add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link'
</div>
<div class="wrap">
<h2><?php echo $title ?></h2>
<!--
<p id="big-add-button">

View File

@ -358,6 +358,7 @@ endif;
</div>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form name="post" action="page.php" method="post" id="post">
<?php if ( $notice ) : ?>

View File

@ -66,7 +66,7 @@ if ( isset($_GET['action']) && ( -1 != $_GET['action'] || -1 != $_GET['action2']
}
if ( empty($title) )
$title = __('View All Pages');
$title = __('Edit Pages');
$parent_file = 'edit.php';
wp_enqueue_script('admin-forms');
wp_enqueue_script('inline-edit-post');
@ -135,6 +135,8 @@ if ( (int) $_GET['locked'] ) {
endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<ul class="subsubsub">
<?php

View File

@ -143,6 +143,7 @@ $messages[6] = __('Tags deleted.'); ?>
endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<ul class="subsubsub"><li class="current"><a class="current"><br /></a></li></ul>
<form class="search-form" action="" method="get">

View File

@ -22,6 +22,8 @@ require_once ('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p>
<p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>

View File

@ -13,6 +13,7 @@ require_once ('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<p><?php _e('If you have posts or comments in another system, WordPress can import those into this blog. To get started, choose a system to import from below:'); ?></p>
<?php

View File

@ -38,6 +38,8 @@ $today = current_time('mysql', 1);
</div>
<div class="wrap">
<h2><?php echo $title ?></h2>
<div id="dashboard-widgets-wrap">
<?php wp_dashboard(); ?>

View File

@ -9,7 +9,7 @@
/** Load WordPress Administration Bootstrap */
require_once('admin.php');
$title = __('Add Link');
$title = __('Add New Link');
$parent_file = 'link-manager.php';
wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',

View File

@ -45,7 +45,7 @@ if ( empty($cat_id) )
if ( empty($order_by) )
$order_by = 'order_name';
$title = __('Manage Links');
$title = __('Edit Links');
$this_file = $parent_file = 'edit.php';
include_once ("./admin-header.php");
@ -95,6 +95,7 @@ if ( isset($_GET['deleted']) ) {
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<div class="filter">
<form id="list-filter" action="" method="get">

View File

@ -9,7 +9,6 @@
$_GET['inline'] = 'true';
/** Administration bootstrap */
require_once('admin.php');
$title = __('Upload New Media');
require_once('media-upload.php');
?>

View File

@ -31,7 +31,7 @@ if ( isset($action) && $action == 'edit' && !$ID )
wp_die(__("You are not allowed to be here"));
if ( isset($_GET['inline']) ) {
if ( isset($_GET['upload-page-form']) ) {
$errors = media_upload_form_handler();
@ -52,15 +52,16 @@ if ( isset($_GET['inline']) ) {
}
}
$title = __('Upload Media');
$title = __('Upload New Media');
$parent_file = 'edit.php';
require_once('admin-header.php'); ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form enctype="multipart/form-data" method="post" action="media-upload.php?inline=&amp;upload-page-form=" class="media-upload-form type-form validate" id="file-form">
<?php media_upload_form(); ?>
<script type="text/javascript">
jQuery(function($){
var preloaded = $(".media-item.preloaded");

View File

@ -16,6 +16,8 @@ include('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form method="post" action="options.php">
<input type='hidden' name='option_page' value='discussion' />
<input type="hidden" name="action" value="update" />

View File

@ -49,6 +49,8 @@ include('./admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form method="post" action="options.php">
<input type='hidden' name='option_page' value='general' />
<input type="hidden" name="action" value="update" />

View File

@ -17,6 +17,7 @@ include('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form action="options.php" method="post">
<input type="hidden" name="action" value="update" />

View File

@ -17,6 +17,8 @@ include('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form method="post" action="options.php">
<input type='hidden' name='option_page' value='misc' />
<input type="hidden" name="action" value="update" />

View File

@ -123,6 +123,8 @@ else
<?php endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form name="form" action="options-permalink.php" method="post">
<?php wp_nonce_field('update-permalink') ?>

View File

@ -16,6 +16,8 @@ include('./admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('privacy-options') ?>
<input type='hidden' name='option_page' value='privacy' />

View File

@ -16,6 +16,8 @@ include('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form name="form1" method="post" action="options.php">
<?php wp_nonce_field('reading-options') ?>
<input type='hidden' name='option_page' value='reading' />

View File

@ -16,6 +16,8 @@ include('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form method="post" action="options.php">
<?php wp_nonce_field('writing-options') ?>
<input type='hidden' name='option_page' value='writing' />

View File

@ -8,7 +8,7 @@
/** WordPress Administration Bootstrap */
require_once('admin.php');
$title = __('New Page');
$title = __('Add New Page');
$parent_file = 'edit-pages.php';
$editing = true;
wp_enqueue_script('autosave');

View File

@ -96,6 +96,8 @@ default:
</div>
<?php endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<div class="tablenav">
<div class="alignleft">
<big><?php

View File

@ -52,6 +52,8 @@ do_action('install_plugins_pre_' . $tab); //Used to override the general interfa
include('admin-header.php');
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<ul class="subsubsub">
<?php
$display_tabs = array();

View File

@ -203,6 +203,8 @@ if( !empty($invalid) )
<?php endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<p><?php _e('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.'); ?></p>
<?php

View File

@ -99,8 +99,8 @@ $description = get_file_description($file);
$desc_header = ( $description != $file_show ) ? "$description</strong> (%s)" : "%s";
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<div class="bordertitle">
<h2><?php _e('Theme Editor'); ?></h2>
<form id="themeselector" action="theme-editor.php" method="post">
<strong><label for="theme"><?php _e('Select theme to edit:'); ?> </label></strong>
<select name="theme" id="theme">

View File

@ -98,6 +98,8 @@ function theme_update_available( $theme ) {
?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<h2><?php _e('Current Theme'); ?></h2>
<div id="current-theme">
<?php if ( $ct->screenshot ) : ?>

View File

@ -17,6 +17,8 @@ require_once('admin-header.php');
if ( ! $is_opera ) {
?>
<div id="gears-info-box" class="wrap">
<h2><?php echo $title ?></h2>
<img src="images/gear.png" title="Gear" alt="" class="gears-img" />
<div id="gears-msg1">
<h3 class="info-box-title"><?php _e('Speed up WordPress'); ?></h3>

View File

@ -183,6 +183,7 @@ if ( isset($message) ) { ?>
<?php do_action('restrict_manage_posts'); ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<ul class="subsubsub">
<?php

View File

@ -177,6 +177,7 @@ include ('admin-header.php');
<?php endif; ?>
<div class="wrap" id="profile-page">
<h2><?php echo $title ?></h2>
<form id="your-profile" action="" method="post">
<?php wp_nonce_field('update-user_' . $user_id) ?>

View File

@ -264,6 +264,7 @@ if ( ! empty($messages) ) {
} ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form id="posts-filter" action="" method="get">
<?php if ( $wp_user_search->is_search() ) : ?>

View File

@ -233,6 +233,7 @@ require_once( 'admin-header.php' ); ?>
<?php endif; ?>
<div class="wrap">
<h2><?php echo $title ?></h2>
<form id="widgets-filter" action="" method="get">

View File

@ -363,6 +363,7 @@ function kubrick_theme_page() {
if ( isset( $_REQUEST['saved'] ) ) echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.').'</strong></p></div>';
?>
<div class='wrap'>
<h2><?php _e('Customize Header'); ?></h2>
<div id="kubrick-header">
<div id="headwrap">
<div id="header">