WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2007 11:32:58 PM (13 years ago)
Author:
ryan
Message:

Remove trailing whitespace

File:
1 edited

Legend:

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

    r5786 r6026  
    8585<label for="comment_status" class="selectit">
    8686<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
    87 <?php _e('Allow Comments') ?></label> 
     87<?php _e('Allow Comments') ?></label>
    8888<label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label>
    8989</div>
     
    9191
    9292<fieldset id="passworddiv" class="dbx-box">
    93 <h3 class="dbx-handle"><?php _e('Post Password') ?></h3> 
     93<h3 class="dbx-handle"><?php _e('Post Password') ?></h3>
    9494<div class="dbx-content"><input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></div>
    9595</fieldset>
    9696
    9797<fieldset id="slugdiv" class="dbx-box">
    98 <h3 class="dbx-handle"><?php _e('Post Slug') ?></h3> 
     98<h3 class="dbx-handle"><?php _e('Post Slug') ?></h3>
    9999<div class="dbx-content"><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /></div>
    100100</fieldset>
    101101
    102102<fieldset id="poststatusdiv" class="dbx-box">
    103 <h3 class="dbx-handle"><?php _e('Post Status') ?></h3> 
     103<h3 class="dbx-handle"><?php _e('Post Status') ?></h3>
    104104<div class="dbx-content">
    105105<?php if ( current_user_can('publish_posts') ) : ?>
     
    118118<?php endif; ?>
    119119
    120 <?php 
     120<?php
    121121$authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM
    122122if ( $authors && count( $authors ) > 1 ) :
     
    164164<span id="autosave"></span>
    165165<?php echo $saveasdraft; ?>
    166 <input type="submit" name="submit" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 
    167 <?php 
     166<input type="submit" name="submit" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />
     167<?php
    168168if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) {
    169169?>
    170170<?php if ( current_user_can('publish_posts') ) : ?>
    171     <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 
     171    <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
    172172<?php else : ?>
    173     <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" /> 
    174 <?php endif; ?>
    175 <?php
    176 }
    177 ?>
    178 <input name="referredby" type="hidden" id="referredby" value="<?php 
     173    <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />
     174<?php endif; ?>
     175<?php
     176}
     177?>
     178<input name="referredby" type="hidden" id="referredby" value="<?php
    179179if ( !empty($_REQUEST['popupurl']) )
    180180    echo clean_url(stripslashes($_REQUEST['popupurl']));
Note: See TracChangeset for help on using the changeset viewer.