Changeset 2604 for sites/branches/wcb-payment-request-statuses/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-status.php
- Timestamp:
- 02/25/2016 01:07:08 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/branches/wcb-payment-request-statuses/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-status.php
r2397 r2604 22 22 23 23 <div class="misc-pub-section misc-pub-post-status"> 24 <label for="post_status"><?php _e( 'Status:' ) ?></label> 24 <label> 25 <?php _e( 'Status:' ) ?> 25 26 26 <span id="post-status-display"> 27 <?php if ( 'incomplete' == $post->post_status ) : ?> 28 <?php _e( 'Incomplete', 'wordcamporg' ); ?> 29 <?php elseif ( 'paid' == $post->post_status ) : ?> 30 <?php _e( 'Paid' ); ?> 31 <?php else : ?> 32 <?php _e( 'Not Paid' ); ?> 33 <?php endif; ?> 34 </span> 35 </div> <!-- .misc-pub-section --> 27 <span id="post-status-display"> 28 <?php if ( current_user_can( 'manage_network' ) ) : ?> 29 30 <select name="post_status"> 31 <?php foreach ( self::get_post_statuses() as $status ) : ?> 32 <?php $status = get_post_status_object( $status ); ?> 33 <option value="<?php echo esc_attr( $status->name ); ?>" <?php selected( $post->post_status, $status->name ); ?> > 34 <?php echo esc_html( $status->label ); ?> 35 </option> 36 <?php endforeach; ?> 37 </select> 38 39 <?php else : ?> 40 41 <?php $status = get_post_status_object( $post->post_status ); ?> 42 <?php echo esc_html( $status->label ); ?> 43 44 <?php endif; ?> 45 </span> 46 </label> 47 </div> 48 49 <div class="misc-pub-section hide-if-js wcb-mark-incomplete-notes"> 50 <label for="wcp_mark_incomplete_notes">What information is needed?</label> 51 <textarea id="wcp_mark_incomplete_notes" name="wcp_mark_incomplete_notes" class="large-text" rows="5" 52 placeholder="Need to attach receipt, etc"><?php echo esc_textarea( $incomplete_notes ); ?></textarea> 53 </div> 36 54 37 55 <div class="clear"></div> … … 48 66 <?php if ( current_user_can( 'delete_post', $post->ID ) ) : ?> 49 67 <a class="submitdelete deletion" href="<?php echo get_delete_post_link( $post->ID ); ?>"> 50 <?php echo $delete_text; ?>68 <?php _e( 'Delete', 'wordcamporg' ); ?> 51 69 </a> 52 70 <?php endif; ?>
Note:
See TracChangeset
for help on using the changeset viewer.