submit box actions hooks from filosofo. fixes #5873

git-svn-id: https://develop.svn.wordpress.org/trunk@6901 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-18 19:38:01 +00:00
parent a0ce8e3978
commit 5a97e68cd1
4 changed files with 9 additions and 7 deletions

View File

@ -96,7 +96,7 @@ addLoadEvent(focusit);
<?php echo $form_pingback ?>
<?php echo $form_prevstatus ?>
<div id="submitpost">
<div class="submitbox" id="submitpost">
<div id="previewview">
<?php if ( 'publish' == $post->post_status ) { ?>

View File

@ -59,10 +59,11 @@ function xfn_check($class, $value = '', $deprecated = '') {
</div>
</div>
<div id="submitpost">
<div class="submitbox" id="submitlink">
<p class="submit">
<input type="submit" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
</p>
<?php do_action('submitlink_box'); ?>
</div>
<div id="linkcategorydiv" class="postbox <?php echo postbox_classes('linkcategorydiv', 'link'); ?>">

View File

@ -60,7 +60,7 @@ addLoadEvent(focusit);
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
</div>
<div id="submitpost">
<div class="submitbox" id="submitpage">
<div id="previewview">
<?php if ( 'publish' == $post->post_status ) { ?>
@ -130,6 +130,7 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
<?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
<?php endif; ?>
</p>
<?php do_action('submitpage_box'); ?>
</div>
<p class="submit">

View File

@ -1053,7 +1053,7 @@ html, body {
background-position: 4px 18px;
}
#submitpost {
.submitbox {
position: absolute;
background-color: #eaf3fa;
width: 200px;
@ -1062,12 +1062,12 @@ html, body {
-moz-border-radius: 3px;
}
#submitpost #previewview {
.submitbox #previewview {
background-color: #2683ae;
padding: 15px 10px;
}
#submitpost #previewview a {
.submitbox #previewview a {
background: #ebebeb;
-moz-border-radius: 5px;
padding: 6px;
@ -1078,7 +1078,7 @@ html, body {
}
#submitpost .submit {
.submitbox .submit {
text-align: left;
background-color: #464646;
padding: 15px 10px;