85 </div> |
85 </div> |
86 </div><!-- /post-body-content --> |
86 </div><!-- /post-body-content --> |
87 |
87 |
88 <div id="postbox-container-1" class="postbox-container"> |
88 <div id="postbox-container-1" class="postbox-container"> |
89 <div id="submitdiv" class="stuffbox" > |
89 <div id="submitdiv" class="stuffbox" > |
90 <h2><?php _e( 'Status' ); ?></h2> |
90 <h2><?php _e( 'Save' ); ?></h2> |
91 <div class="inside"> |
91 <div class="inside"> |
92 <div class="submitbox" id="submitcomment"> |
92 <div class="submitbox" id="submitcomment"> |
93 <div id="minor-publishing"> |
93 <div id="minor-publishing"> |
94 |
94 |
95 <div id="misc-publishing-actions"> |
95 <div id="misc-publishing-actions"> |
96 |
96 |
97 <fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio"> |
97 <div class="misc-pub-section misc-pub-comment-status" id="comment-status"> |
|
98 <?php _e( 'Status:' ); ?> <span id="comment-status-display"> |
|
99 <?php |
|
100 switch ( $comment->comment_approved ) { |
|
101 case '1': |
|
102 _e( 'Approved' ); |
|
103 break; |
|
104 case '0': |
|
105 _e( 'Pending' ); |
|
106 break; |
|
107 case 'spam': |
|
108 _e( 'Spam' ); |
|
109 break; |
|
110 } |
|
111 ?> |
|
112 </span> |
|
113 |
|
114 <fieldset id="comment-status-radio"> |
98 <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend> |
115 <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend> |
99 <label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> |
116 <label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> |
100 <label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br /> |
117 <label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br /> |
101 <label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> |
118 <label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> |
102 </fieldset> |
119 </fieldset> |
|
120 </div><!-- .misc-pub-section --> |
103 |
121 |
104 <div class="misc-pub-section curtime misc-pub-curtime"> |
122 <div class="misc-pub-section curtime misc-pub-curtime"> |
105 <?php |
123 <?php |
106 /* translators: Publish box date format, see https://secure.php.net/date */ |
124 $submitted = sprintf( |
107 $datef = __( 'M j, Y @ H:i' ); |
125 /* translators: 1: Comment date, 2: Comment time. */ |
|
126 __( '%1$s at %2$s' ), |
|
127 /* translators: Publish box date format, see https://www.php.net/date */ |
|
128 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ), |
|
129 /* translators: Publish box time format, see https://www.php.net/date */ |
|
130 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) ) |
|
131 ); |
108 ?> |
132 ?> |
109 <span id="timestamp"> |
133 <span id="timestamp"> |
110 <?php |
134 <?php |
111 printf( |
135 /* translators: %s: Comment date. */ |
112 /* translators: %s: comment date */ |
136 printf( __( 'Submitted on: %s' ), '<b>' . $submitted . '</b>' ); |
113 __( 'Submitted on: %s' ), |
|
114 '<b>' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '</b>' |
|
115 ); |
|
116 ?> |
137 ?> |
117 </span> |
138 </span> |
118 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a> |
139 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a> |
119 <fieldset id='timestampdiv' class='hide-if-js'> |
140 <fieldset id='timestampdiv' class='hide-if-js'> |
120 <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend> |
141 <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend> |