New buttons and styling for all "management" pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2eb1ba967f
commit
ee9c9b86cf
|
@ -148,14 +148,13 @@ if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
|
|||
endif; ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||
<h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>
|
||||
|
||||
<ul class="subsubsub"><li class="current"><a class="current"><br /></a></li></ul>
|
||||
<form class="search-form" action="" method="get">
|
||||
<form class="search-form topmargin" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e('Search Categories'); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button-primary" />
|
||||
</p>
|
||||
</form>
|
||||
<br class="clear" />
|
||||
|
@ -173,6 +172,8 @@ if( ! isset( $catsperpage ) || $catsperpage < 0 )
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'pagenum', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => ceil(wp_count_terms('category') / $catsperpage),
|
||||
'current' => $pagenum
|
||||
));
|
||||
|
@ -181,7 +182,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
@ -221,7 +222,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
|
|
@ -20,13 +20,20 @@ body > #upload-menu {
|
|||
border-bottom-color: #fff;
|
||||
}
|
||||
|
||||
div#current-widgets, #postcustomstuff table, #your-profile fieldset,
|
||||
a.page-numbers, #rightnow, div.dashboard-widget,
|
||||
#dashboard-widgets p.dashboard-widget-links, .widefat,
|
||||
div#current-widgets,
|
||||
#postcustomstuff table,
|
||||
#your-profile fieldset,
|
||||
#rightnow,
|
||||
div.dashboard-widget,
|
||||
#dashboard-widgets p.dashboard-widget-links,
|
||||
#replyrow #ed_reply_toolbar input {
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.widefat {
|
||||
border-color: #dfdfdf;
|
||||
}
|
||||
|
||||
div.dashboard-widget-error {
|
||||
background-color: #c43;
|
||||
}
|
||||
|
@ -73,7 +80,7 @@ strong .post-com-count span {
|
|||
background-color: #2583ad;
|
||||
}
|
||||
|
||||
#post-body ul#category-tabs li.ui-tabs-selected, .button-secondary,
|
||||
#post-body ul#category-tabs li.ui-tabs-selected,
|
||||
#quicktags, #login form .submit input, .search-box .button,
|
||||
#ed_reply_toolbar {
|
||||
background-color: #cee1ef !important;
|
||||
|
@ -172,17 +179,6 @@ ul#widget-list li.widget-list-item h4.widget-title {
|
|||
color: #9a9a9a;
|
||||
}
|
||||
|
||||
.page-numbers {
|
||||
background-color: #fff;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.page-numbers.current {
|
||||
background-color: #328ab2;
|
||||
border-color: #328ab2;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.post-com-count {
|
||||
background-image: url(../images/bubble_bg.gif);
|
||||
color: #fff;
|
||||
|
@ -211,8 +207,6 @@ ul#widget-list li.widget-list-item h4.widget-title {
|
|||
}
|
||||
|
||||
.submit input,
|
||||
.button,
|
||||
.button-secondary,
|
||||
#login form .submit input,
|
||||
div.dashboard-widget-submit input,
|
||||
#edit-slug-buttons a.save {
|
||||
|
@ -221,6 +215,29 @@ div.dashboard-widget-submit input,
|
|||
border-color: #80b5d0;
|
||||
}
|
||||
|
||||
.button {
|
||||
border-color: #DCDCDC;
|
||||
color: #464646;
|
||||
text-shadow: #FFF 0 1px 0;
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
border-color: #21759B;
|
||||
color: #FFF;
|
||||
background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
border-color: #CFE1EF;
|
||||
color: #464646;
|
||||
text-shadow: #FFF, 0 1px 0;
|
||||
}
|
||||
|
||||
.button,
|
||||
.button-secondary {
|
||||
background: #f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;
|
||||
}
|
||||
|
||||
.button[disabled], .button:disabled {
|
||||
background-color: #999;
|
||||
}
|
||||
|
@ -238,7 +255,12 @@ div.dashboard-widget-submit input,
|
|||
color: #d54e21;
|
||||
}
|
||||
|
||||
.button-secondary:hover, #login form .submit input:hover {
|
||||
.button-primary:hover {
|
||||
border-color: #156079;
|
||||
}
|
||||
|
||||
.button-secondary:hover,
|
||||
#login form .submit input:hover {
|
||||
border-color: #328ab2;
|
||||
}
|
||||
|
||||
|
@ -305,10 +327,18 @@ div.dashboard-widget-submit input,
|
|||
border-bottom-color: #2583ad;
|
||||
}
|
||||
|
||||
.widefat td, .widefat th, div#available-widgets-filter, ul#widget-list li.widget-list-item, .commentlist li {
|
||||
a.page-numbers {
|
||||
border-bottom-color: #B8D3E2;
|
||||
}
|
||||
|
||||
div#available-widgets-filter, ul#widget-list li.widget-list-item, .commentlist li {
|
||||
border-bottom-color: #ccc;
|
||||
}
|
||||
|
||||
.widefat td, .widefat th {
|
||||
border-color: #dfdfdf;
|
||||
}
|
||||
|
||||
.widefat thead,
|
||||
.widefat tfoot,
|
||||
.thead,
|
||||
|
@ -317,8 +347,8 @@ h3.dashboard-widget-title,
|
|||
h3.dashboard-widget-title span,
|
||||
h3.dashboard-widget-title small,
|
||||
.find-box-head {
|
||||
background-color: #464646;
|
||||
color: #d7d7d7;
|
||||
color: #333;
|
||||
background: #dfdfdf url(../images/gray-grad.png) repeat-x scroll left top;
|
||||
}
|
||||
|
||||
h3.dashboard-widget-title small a {
|
||||
|
@ -334,12 +364,6 @@ h3.dashboard-widget-title small a:hover {
|
|||
color: #246;
|
||||
}
|
||||
|
||||
.wrap h2 {
|
||||
border-bottom-color: #dadada;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
||||
#adminmenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-tabs-nav a, .ui-sortable .postbox h3:hover span, a {
|
||||
color: #2583ad;
|
||||
}
|
||||
|
|
|
@ -174,10 +174,16 @@ h6 {
|
|||
.widefat {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-collapse: collapse;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
margin: 0;
|
||||
-moz-border-radius: 4px;
|
||||
-khtml-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
|
||||
}
|
||||
|
||||
.widefat a {
|
||||
|
@ -202,7 +208,7 @@ h6 {
|
|||
}
|
||||
|
||||
.widefat th {
|
||||
padding: 9px 15px 6px 10px;
|
||||
padding: 7px 15px 8px 10px;
|
||||
text-align: left;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
@ -210,6 +216,7 @@ h6 {
|
|||
.widefat th input {
|
||||
margin: 0 0 0 8px;
|
||||
padding: 0;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.widefat .check-column {
|
||||
|
@ -220,7 +227,7 @@ h6 {
|
|||
}
|
||||
|
||||
.widefat tbody th.check-column {
|
||||
padding: 8px 0 22px;
|
||||
padding: 10px 0 22px;
|
||||
}
|
||||
/*
|
||||
th.check-column + th, th.check-column + td {
|
||||
|
@ -232,6 +239,10 @@ th.check-column + th, th.check-column + td {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.widefat th#comments {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.wrap, .updated, .error {
|
||||
margin: 0 15px;
|
||||
padding: 0;
|
||||
|
@ -262,14 +273,10 @@ th.check-column + th, th.check-column + td {
|
|||
}
|
||||
|
||||
.wrap h2 {
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
clear: both;
|
||||
font: 24px Georgia, "Times New Roman", Times, serif;
|
||||
margin: 5px 0 10px -4px;
|
||||
padding: 0;
|
||||
padding-bottom: 7px;
|
||||
padding-right: 280px;
|
||||
font: italic normal normal 24px/29px Georgia, "Times New Roman", Times, serif;
|
||||
margin: 5px 0 10px;
|
||||
padding: 8px 15px 4px 0;
|
||||
}
|
||||
|
||||
.wrap h2.long-header {
|
||||
|
|
|
@ -151,33 +151,11 @@ unset($status_links);
|
|||
?>
|
||||
</ul>
|
||||
|
||||
<div class="filter">
|
||||
<form id="list-filter" action="" method="get">
|
||||
<?php if ( $comment_status ) echo "<input type='hidden' name='comment_status' value='$comment_status' />\n"; ?>
|
||||
<select name="comment_type">
|
||||
<option value="all"><?php _e('Show all comment types'); ?></option>
|
||||
<?php
|
||||
$comment_types = apply_filters( 'admin_comment_types_dropdown', array(
|
||||
'comment' => __('Comments'),
|
||||
'pings' => __('Pings'),
|
||||
) );
|
||||
|
||||
foreach ( $comment_types as $type => $label ) {
|
||||
echo " <option value='$type'";
|
||||
selected( $comment_type, $type );
|
||||
echo ">$label</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<form class="search-form" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Comments' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
|
||||
<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button-primary" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
@ -199,6 +177,8 @@ $extra_comments = array_slice($_comments, $comments_per_page);
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'apage', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => ceil($total / $comments_per_page),
|
||||
'current' => $page
|
||||
));
|
||||
|
@ -217,7 +197,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="-1" selected="selected"><?php _e('Actions') ?></option>
|
||||
<?php if ( empty($comment_status) || 'approved' == $comment_status ): ?>
|
||||
|
@ -233,6 +213,25 @@ if ( $page_links )
|
|||
</select>
|
||||
<input type="submit" name="doaction" id="doaction" value="<?php _e('Apply'); ?>" class="button-secondary apply" />
|
||||
<?php wp_nonce_field('bulk-comments'); ?>
|
||||
|
||||
<?php if ( $comment_status ) echo "<input type='hidden' name='comment_status' value='$comment_status' />\n"; ?>
|
||||
<select name="comment_type">
|
||||
<option value="all"><?php _e('Show all comment types'); ?></option>
|
||||
<?php
|
||||
$comment_types = apply_filters( 'admin_comment_types_dropdown', array(
|
||||
'comment' => __('Comments'),
|
||||
'pings' => __('Pings'),
|
||||
) );
|
||||
|
||||
foreach ( $comment_types as $type => $label ) {
|
||||
echo " <option value='$type'";
|
||||
selected( $comment_type, $type );
|
||||
echo ">$label</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
|
||||
|
||||
<?php if ( isset($_GET['apage']) ) { ?>
|
||||
<input type="hidden" name="apage" value="<?php echo absint( $_GET['apage'] ); ?>" />
|
||||
<?php }
|
||||
|
@ -284,7 +283,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="-1" selected="selected"><?php _e('Actions') ?></option>
|
||||
<?php if ( empty($comment_status) || 'approved' == $comment_status ): ?>
|
||||
|
|
|
@ -76,14 +76,14 @@ $messages[6] = __('Categories deleted.'); ?>
|
|||
endif; ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||
<h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>
|
||||
|
||||
<ul class="subsubsub"><li><a class="current"><br /></a></li></ul>
|
||||
<form class="search-form" action="" method="get">
|
||||
<form class="search-form topmargin" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Categories' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button" />
|
||||
<input type="submit" value="<?php _e( 'Search Categories' ); ?>" class="button-primary" />
|
||||
</p>
|
||||
</form>
|
||||
<br class="clear" />
|
||||
|
@ -101,6 +101,8 @@ if( ! isset( $catsperpage ) || $catsperpage < 0 )
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'pagenum', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => ceil(wp_count_terms('link_category') / $catsperpage),
|
||||
'current' => $pagenum
|
||||
));
|
||||
|
@ -109,7 +111,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
@ -165,7 +167,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
|
|
@ -168,7 +168,7 @@ endif;
|
|||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Pages' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
|
||||
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button-primary" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
@ -191,6 +191,8 @@ $num_pages = ceil(count($posts) / $per_page);
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'pagenum', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => $num_pages,
|
||||
'current' => $pagenum
|
||||
));
|
||||
|
@ -199,7 +201,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="edit"><?php _e('Edit'); ?></option>
|
||||
|
@ -244,7 +246,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="edit"><?php _e('Edit'); ?></option>
|
||||
|
|
|
@ -143,14 +143,13 @@ $messages[6] = __('Tags deleted.'); ?>
|
|||
endif; ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||
<h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>
|
||||
|
||||
<ul class="subsubsub"><li class="current"><a class="current"><br /></a></li></ul>
|
||||
<form class="search-form" action="" method="get">
|
||||
<form class="search-form topmargin" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Tags' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button" />
|
||||
<input type="submit" value="<?php _e( 'Search Tags' ); ?>" class="button-primary" />
|
||||
</p>
|
||||
</form>
|
||||
<br class="clear" />
|
||||
|
@ -168,6 +167,8 @@ if( ! isset( $tagsperpage ) || $tagsperpage < 0 )
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'pagenum', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => ceil(wp_count_terms('post_tag') / $tagsperpage),
|
||||
'current' => $pagenum
|
||||
));
|
||||
|
@ -176,7 +177,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
@ -219,7 +220,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
|
|
@ -153,9 +153,44 @@ endif;
|
|||
?>
|
||||
</ul>
|
||||
|
||||
<div class="filter">
|
||||
<form id="list-filter" action="" method="get">
|
||||
<form class="search-form" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button-primary" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<?php if ( isset($_GET['post_status'] ) ) : ?>
|
||||
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
|
||||
<?php endif; ?>
|
||||
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
|
||||
|
||||
<div class="tablenav">
|
||||
<?php
|
||||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'paged', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => $wp_query->max_num_pages,
|
||||
'current' => $_GET['paged']
|
||||
));
|
||||
|
||||
?>
|
||||
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="edit"><?php _e('Edit'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
</select>
|
||||
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||
<?php wp_nonce_field('bulk-posts'); ?>
|
||||
|
||||
<?php // view filters
|
||||
if ( !is_singular() ) {
|
||||
$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'post' ORDER BY post_date DESC";
|
||||
|
||||
|
@ -196,43 +231,6 @@ do_action('restrict_manage_posts');
|
|||
<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
|
||||
|
||||
<?php } ?>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<form class="search-form" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<?php if ( isset($_GET['post_status'] ) ) : ?>
|
||||
<input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" />
|
||||
<?php endif; ?>
|
||||
<input type="hidden" name="mode" value="<?php echo $mode; ?>" />
|
||||
|
||||
<div class="tablenav">
|
||||
<?php
|
||||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'paged', '%#%' ),
|
||||
'format' => '',
|
||||
'total' => $wp_query->max_num_pages,
|
||||
'current' => $_GET['paged']
|
||||
));
|
||||
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<select name="action">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="edit"><?php _e('Edit'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
</select>
|
||||
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||
<?php wp_nonce_field('bulk-posts'); ?>
|
||||
</div>
|
||||
|
||||
<?php if ( $page_links ) { ?>
|
||||
|
@ -258,7 +256,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="edit"><?php _e('Edit'); ?></option>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 230 B |
Binary file not shown.
After Width: | Height: | Size: 213 B |
Binary file not shown.
After Width: | Height: | Size: 207 B |
|
@ -1543,6 +1543,8 @@ unset($type_links);
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'paged', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => ceil($wp_query->found_posts / 10),
|
||||
'current' => $_GET['paged']
|
||||
));
|
||||
|
@ -1551,7 +1553,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<?php
|
||||
|
||||
$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'attachment' ORDER BY post_date DESC";
|
||||
|
|
|
@ -259,7 +259,7 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
|
|||
|
||||
?>
|
||||
<div class="tablenav">
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<?php do_action('install_plugins_table_header'); ?>
|
||||
</div>
|
||||
<?php
|
||||
|
@ -272,6 +272,8 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg('paged', '%#%', $url),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => $totalpages,
|
||||
'current' => $page
|
||||
));
|
||||
|
|
|
@ -95,10 +95,27 @@ if ( isset($_GET['deleted']) ) {
|
|||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
||||
<h2 class="floatedh2"><?php echo wp_specialchars( $title ); ?></h2>
|
||||
|
||||
<form class="search-form topmargin" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
|
||||
</p>
|
||||
</form>
|
||||
<br class="clear" />
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
<div class="tablenav">
|
||||
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
</select>
|
||||
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||
|
||||
<div class="filter">
|
||||
<form id="list-filter" action="" method="get">
|
||||
<?php
|
||||
$categories = get_terms('link_category', "hide_empty=1");
|
||||
$select_cat = "<select name=\"cat_id\">\n";
|
||||
|
@ -119,27 +136,7 @@ echo $select_order;
|
|||
|
||||
?>
|
||||
<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
|
||||
</form></div>
|
||||
|
||||
<ul class="subsubsub"><li><a class="current"><br /></a></li></ul>
|
||||
<form class="search-form" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Links' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php _admin_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
|
||||
</p>
|
||||
</form>
|
||||
<br class="clear" />
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
<div class="tablenav">
|
||||
|
||||
<div class="alignleft">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
</select>
|
||||
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||
</div>
|
||||
|
||||
<br class="clear" />
|
||||
|
@ -265,7 +262,7 @@ if ( $links ) {
|
|||
|
||||
<div class="tablenav">
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
|
|
@ -320,7 +320,7 @@ function print_plugins_table($plugins, $context = '') {
|
|||
<?php wp_nonce_field('bulk-manage-plugins') ?>
|
||||
|
||||
<div class="tablenav">
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="deactivate-selected"><?php _e('Deactivate'); ?></option>
|
||||
|
@ -342,7 +342,7 @@ function print_plugins_table($plugins, $context = '') {
|
|||
<?php wp_nonce_field('bulk-manage-plugins') ?>
|
||||
|
||||
<div class="tablenav">
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="activate-selected"><?php _e('Activate'); ?></option>
|
||||
|
@ -365,7 +365,7 @@ function print_plugins_table($plugins, $context = '') {
|
|||
<?php wp_nonce_field('bulk-manage-plugins') ?>
|
||||
|
||||
<div class="tablenav">
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<input type="submit" name="activate-selected" value="<?php _e('Activate') ?>" class="button-secondary" />
|
||||
<?php if( current_user_can('delete_plugins') ) : ?>
|
||||
<input type="submit" name="delete-selected" value="<?php _e('Delete') ?>" class="button-secondary" />
|
||||
|
|
|
@ -53,6 +53,8 @@ $start = $offset = ( $page - 1 ) * $per_page;
|
|||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'pagenum', '%#%' ) . '#themenav',
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => ceil($theme_total / $per_page),
|
||||
'current' => $page
|
||||
));
|
||||
|
|
|
@ -216,8 +216,44 @@ unset($type_links);
|
|||
?>
|
||||
</ul>
|
||||
|
||||
<div class="filter">
|
||||
<form id="list-filter" action="" method="get">
|
||||
<form class="search-form" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button-primary" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
<div class="tablenav">
|
||||
<?php
|
||||
if ( ! isset($page_links_total) )
|
||||
$page_links_total = $wp_query->max_num_pages;
|
||||
|
||||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'paged', '%#%' ),
|
||||
'format' => '',
|
||||
'prev_text' => __('«'),
|
||||
'next_text' => __('»'),
|
||||
'total' => $page_links_total,
|
||||
'current' => $_GET['paged']
|
||||
));
|
||||
|
||||
if ( $page_links )
|
||||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft actions">
|
||||
<select name="action" class="select-action">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
<?php if ( isset($orphans) ) { ?>
|
||||
<option value="attach"><?php _e('Attach to a post'); ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||
<?php wp_nonce_field('bulk-media'); ?>
|
||||
|
||||
<?php
|
||||
if ( ! is_singular() && ! isset($_GET['detached']) ) {
|
||||
$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'attachment' ORDER BY post_date DESC";
|
||||
|
@ -251,43 +287,6 @@ foreach ($arc_result as $arc_row) {
|
|||
<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
|
||||
|
||||
<?php } // ! is_singular ?>
|
||||
</form></div>
|
||||
|
||||
<form class="search-form" action="" method="get">
|
||||
<p class="search-box">
|
||||
<label class="hidden" for="post-search-input"><?php _e( 'Search Media' ); ?>:</label>
|
||||
<input type="text" class="search-input" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
|
||||
<input type="submit" value="<?php _e( 'Search Media' ); ?>" class="button" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
<div class="tablenav">
|
||||
<?php
|
||||
if ( ! isset($page_links_total) )
|
||||
$page_links_total = $wp_query->max_num_pages;
|
||||
|
||||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'paged', '%#%' ),
|
||||
'format' => '',
|
||||
'total' => $page_links_total,
|
||||
'current' => $_GET['paged']
|
||||
));
|
||||
|
||||
if ( $page_links )
|
||||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<select name="action" class="select-action">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
<?php if ( isset($orphans) ) { ?>
|
||||
<option value="attach"><?php _e('Attach to a post'); ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||
<?php wp_nonce_field('bulk-media'); ?>
|
||||
|
||||
<?php if ( isset($_GET['detached']) ) { ?>
|
||||
<input type="submit" id="find_detached" name="find_detached" value="<?php _e('Scan for lost attachments'); ?>" class="button-secondary" />
|
||||
|
@ -394,7 +393,7 @@ if ( $page_links )
|
|||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2" class="select-action">
|
||||
<option value="-1" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
|
|
@ -315,7 +315,7 @@ unset($role_links);
|
|||
<div class="tablenav-pages"><?php $wp_user_search->page_links(); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
@ -329,8 +329,6 @@ unset($role_links);
|
|||
<br class="clear" />
|
||||
</div>
|
||||
|
||||
<br class="clear" />
|
||||
|
||||
<?php if ( is_wp_error( $wp_user_search->search_errors ) ) : ?>
|
||||
<div class="error">
|
||||
<ul>
|
||||
|
@ -383,7 +381,7 @@ foreach ( $wp_user_search->get_results() as $userid ) {
|
|||
<div class="tablenav-pages"><?php $wp_user_search->page_links(); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="alignleft">
|
||||
<div class="alignleft actions">
|
||||
<select name="action2">
|
||||
<option value="" selected="selected"><?php _e('Actions'); ?></option>
|
||||
<option value="delete"><?php _e('Delete'); ?></option>
|
||||
|
|
|
@ -258,23 +258,40 @@ table#availablethemes td.bottom {
|
|||
list-style: square;
|
||||
}
|
||||
|
||||
.submit input, .button, .button-secondary, .button-highlighted {
|
||||
.submit input,
|
||||
.button,
|
||||
.button-primary,
|
||||
.button-secondary,
|
||||
.button-highlighted {
|
||||
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
|
||||
padding: 2px 4px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5em;
|
||||
text-decoration: none;
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
padding: 2px 8px;
|
||||
cursor: pointer;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
-moz-border-radius: 3px;
|
||||
-khtml-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
-moz-border-radius: 11px;
|
||||
-khtml-border-radius: 11px;
|
||||
-webkit-border-radius: 11px;
|
||||
border-radius: 11px;
|
||||
}
|
||||
|
||||
.preview {
|
||||
/* padding: 7px; */
|
||||
#doaction,
|
||||
#doaction2 {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.tablenav select[name="action"] {
|
||||
width: 90px;
|
||||
}
|
||||
|
||||
.tablenav select[name="m"] {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.tablenav select#cat {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
#publish {
|
||||
|
@ -515,16 +532,13 @@ div.nav {
|
|||
}
|
||||
|
||||
.page-numbers {
|
||||
padding: 2px 4px;
|
||||
margin-right: 3px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
margin-right: 5px;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
|
||||
#tablenav-pages .page-numbers.current {
|
||||
font-weight: bold;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
.tablenav-pages span.current {
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
p.pagenav {
|
||||
|
@ -557,37 +571,29 @@ p.pagenav {
|
|||
margin: 1px 8px 0 0;
|
||||
}
|
||||
|
||||
.tablenav .button-secondary {
|
||||
padding: 2px 4px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tablenav .tablenav-pages a.next, .tablenav .tablenav-pages a.prev {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.tablenav {
|
||||
clear: both;
|
||||
vertical-align: text-top;
|
||||
/*
|
||||
height: 2em;
|
||||
padding: 7px 10px;
|
||||
margin-bottom: -10px;
|
||||
margin-top: 8px;
|
||||
*/
|
||||
height: 40px;
|
||||
margin: 6px 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.tablenav .tablenav-pages {
|
||||
float: right;
|
||||
height: 18px;
|
||||
padding-top: 6px;
|
||||
font-size: 11px;
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
padding: 7px 8px 0;
|
||||
}
|
||||
|
||||
.tablenav .tablenav-pages a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tablenav .actions {
|
||||
padding: 7px 8px 0;
|
||||
}
|
||||
|
||||
td.media-icon {
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
|
@ -1347,6 +1353,11 @@ table.form-table td .updated {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.wrap h2.floatedh2 {
|
||||
float: left;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
#poststuff h2 {
|
||||
margin-top: 20px;
|
||||
font-size: 1.5em;
|
||||
|
@ -1686,7 +1697,11 @@ p#big-add-button .button {
|
|||
|
||||
p.search-box {
|
||||
float: right;
|
||||
margin: -5px 0 0;
|
||||
margin: -10px 0 0;
|
||||
}
|
||||
|
||||
.topmargin p.search-box {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
|
@ -1742,9 +1757,7 @@ body.wp-admin {
|
|||
|
||||
.view-switch {
|
||||
float: right;
|
||||
margin: 0 20px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
margin: 9px 8px 0;
|
||||
}
|
||||
|
||||
.view-switch img {
|
||||
|
|
Loading…
Reference in New Issue