Changeset 6969

Show
Ignore:
Timestamp:
02/22/08 03:45:19 (9 months ago)
Author:
ryan
Message:

Submitbox style changes from mt. see #5949

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit-form-advanced.php

    r6966 r6969  
    138138 
    139139if ( ('edit' == $action) && current_user_can('delete_post', $post_ID) ) 
    140     echo "<a href='" . wp_nonce_url("post.php?action=delete&amp;post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n  'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>"; 
     140    echo "<a href='" . wp_nonce_url("post.php?action=delete&amp;post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n  'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;post') . "</a>"; 
    141141?> 
    142142<?php if ($post_ID): ?> 
     
    146146</p> 
    147147 
    148 <div class="inside"> 
    149 <p><strong><?php _e('Related') ?></strong></p
     148<div class="side-info"> 
     149<h5><?php _e('Related') ?></h5
    150150 
    151151<ul> 
     
    159159</ul> 
    160160</div> 
     161 
    161162<?php do_action('submitpost_box'); ?> 
    162163</div> 
  • trunk/wp-admin/edit-link-form.php

    r6966 r6969  
    5656</p> 
    5757 
    58 <div class="inside"> 
    59 <p><strong><?php _e('Related') ?></strong></p
     58<div class="side-info"> 
     59<h5><?php _e('Related') ?></h5
    6060 
    6161<ul> 
  • trunk/wp-admin/edit-page-form.php

    r6966 r6969  
    119119 
    120120if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) ) 
    121     echo "<a href='" . wp_nonce_url("page.php?action=delete&amp;post=$post_ID", 'delete-page_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n  'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete page') . "</a>"; 
     121    echo "<a href='" . wp_nonce_url("page.php?action=delete&amp;post=$post_ID", 'delete-page_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n  'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete&nbsp;page') . "</a>"; 
    122122?> 
    123123<?php if ($post_ID): ?> 
     
    127127</p> 
    128128 
    129 <div class="inside"> 
    130 <p><strong><?php _e('Related') ?></strong></p
     129<div class="side-info"> 
     130<h5><?php _e('Related') ?></h5
    131131 
    132132<ul> 
  • trunk/wp-admin/wp-admin.css

    r6967 r6969  
    123123 
    124124.submit { 
    125     margin: 1.5em 0; 
     125    margin: 1.5em 0 0 0; 
     126    -moz-border-radius-bottomleft: 3px; 
     127    -khtml-border-bottom-left-radius: 3px; 
     128    -webkit-border-bottom-left-radius: 3px; 
     129    border-bottom-left-radius: 3px; 
     130    -moz-border-radius-bottomright: 3px; 
     131    -khtml-border-bottom-right-radius: 3px; 
     132    -webkit-border-bottom-right-radius: 3px; 
     133    border-bottom-right-radius: 3px; 
     134
     135 
     136.side-info { 
     137    background: #fff; 
     138    margin: 0; 
     139    padding: 4px; 
     140    font-size: 11px; 
     141
     142 
     143.side-info h5 { 
     144    padding-bottom: 8px; 
     145    border-bottom: 1px solid #dadada; 
     146    font-size: 14px; 
     147    margin-bottom: 6px; 
     148
     149 
     150.side-info ul { 
     151    margin: 0; 
     152    padding-left: 18px; 
     153    color: #666; 
     154    list-style: square; 
    126155} 
    127156