Changeset 10150 for trunk/wp-admin/includes/template.php
- Timestamp:
- 12/09/2008 06:03:31 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r10146 r10150 912 912 function get_hidden_columns($page) { 913 913 $page = str_replace('.php', '', $page); 914 return (array) get_user_option( 'manage-' . $page . '-columns-hidden', 0, false ); 914 return (array) get_user_option( 'manage-' . $page . '-columns-hidden', 0, false ); 915 915 } 916 916 … … 1001 1001 1002 1002 <?php 1003 endif; // authors 1003 endif; // authors 1004 1004 $authors_dropdown = ob_get_clean(); 1005 1005 ?> … … 1336 1336 $time = get_post_time('G', true, $post); 1337 1337 1338 $time_diff = time() - $time; 1338 $time_diff = time() - $time; 1339 1339 1340 1340 if ( ( 'future' == $post->post_status) ) { … … 2317 2317 $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false ); 2318 2318 $r .= "</td>"; 2319 2319 2320 2320 $r .= "\n\t\t<td><label class='hidden' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>"; 2321 2321 return $r; … … 2376 2376 <tr><td colspan="2" class="submit"> 2377 2377 <input type="submit" id="addmetasub" name="addmeta" class="add:the-list:newmeta" tabindex="9" value="<?php _e( 'Add Custom Field' ) ?>" /> 2378 <?php wp_nonce_field( 'add-meta', '_ajax_nonce', false ); ?> 2378 <?php wp_nonce_field( 'add-meta', '_ajax_nonce', false ); ?> 2379 2379 </td></tr> 2380 2380 </tbody> … … 3039 3039 </div> 3040 3040 <script type="text/javascript"> 3041 /* <![CDATA[ */ 3041 /* <![CDATA[ */ 3042 3042 (function($){ 3043 3043 findPosts = { … … 3134 3134 }); 3135 3135 })(jQuery); 3136 /* ]]> */ 3136 /* ]]> */ 3137 3137 </script> 3138 3138 <?php … … 3161 3161 $actions = array( 3162 3162 'post-new.php' => array(__('New Post'), 'edit_posts'), 3163 'edit.php?post_status=draft' => array(__('Drafts'), 'edit_posts'), 3163 'edit.php?post_status=draft' => array(__('Drafts'), 'edit_posts'), 3164 3164 'page-new.php' => array(__('New Page'), 'edit_pages'), 3165 3165 'media-new.php' => array(__('Upload'), 'upload_files'), … … 3326 3326 <form id="adv-settings" action="" method="get"> 3327 3327 <div class="metabox-prefs"> 3328 <?php 3328 <?php 3329 3329 if ( !meta_box_prefs($screen) && isset($column_screens) ) { 3330 3330 manage_columns_prefs($screen); 3331 wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); 3331 wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); 3332 3332 } 3333 3333 ?> … … 3368 3368 $_wp_contextual_help['options-general'] = __('<a href="http://codex.wordpress.org/Settings_General_SubPanel" target="_blank">General Settings</a>'); 3369 3369 3370 $_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen); 3370 $_wp_contextual_help = apply_filters('contextual_help_list', $_wp_contextual_help, $screen); 3371 3371 ?> 3372 3372 <div id="contextual-help-wrap" class="hidden">
Note: See TracChangeset
for help on using the changeset viewer.