Changeset 9120
- Timestamp:
- 10/10/2008 11:54:27 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/dashboard.css
r9103 r9120 101 101 } 102 102 103 /* Recent Drafts */ 104 #dashboard_recent_drafts ul { 105 margin: 0; 106 padding: 0; 107 list-style: none; 108 } 109 103 110 /* Primary Feed */ 104 111 -
trunk/wp-admin/includes/dashboard.php
r9111 r9120 145 145 wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); 146 146 echo "</p>\n</form>\n"; 147 148 echo "</div>"; 147 149 } 148 150 … … 183 185 </div> 184 186 185 <h4><label for=" content"><?php _e('Post') ?></label></h4>187 <h4><label for="quickpress-content"><?php _e('Post') ?></label></h4> 186 188 <div class="textarea-wrap"> 187 189 <textarea name="content" id="quickpress-content" class="mceEditor" rows="3" cols="15"><?php echo $post->post_content; ?></textarea> … … 211 213 212 214 function wp_dashboard_recent_drafts( $drafts = false ) { 215 global $post; 213 216 if ( !$drafts ) { 214 217 $drafts_query = new WP_Query( array( … … 226 229 if ( $drafts && is_array( $drafts ) ) : 227 230 $list = array(); 228 foreach ( $drafts as $ draft ) {231 foreach ( $drafts as $post ) { 229 232 $url = get_edit_post_link( $draft->ID ); 230 233 $title = _draft_or_post_title( $draft->ID ); 231 $list[] = "<a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attribute_escape( $title ) ) . "'>$title</a>";234 $list[] = '<abbr title="' . get_the_time(__('Y/m/d g:i:s A')) . '">' . get_the_time( get_option( 'date_format' ) ) . "</abbr> <a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attribute_escape( $title ) ) . "'>$title</a>"; 232 235 } 233 236 ?> … … 543 546 544 547 $ilink = wp_nonce_url('plugin-install.php?tab=plugin-information&plugin=' . $slug, 'install-plugin_' . $slug) . 545 '& TB_iframe=true&width=600&height=800';548 '&TB_iframe=true&width=600&height=800'; 546 549 547 550 echo "<h4>$label</h4>\n"; -
trunk/wp-admin/includes/template.php
r9110 r9120 2083 2083 <?php wp_comment_form_unfiltered_html_nonce(); ?> 2084 2084 <?php if ( $table_row ) : ?> 2085 </td></tr></tbody></table> </form>2085 </td></tr></tbody></table> 2086 2086 <?php else : ?> 2087 2087 </div></div> 2088 2088 <?php endif; ?> 2089 </form> 2089 2090 <?php 2090 2091 }
Note: See TracChangeset
for help on using the changeset viewer.