Changeset 6966
- Timestamp:
- 02/22/2008 02:04:17 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r6962 r6966 68 68 <div id="poststuff"> 69 69 70 <div id="titlediv">71 <h3><?php _e('Title') ?></h3>72 <div class="inside">73 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" />74 <?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?>75 <div id="edit-slug-box">76 <?php if ( ! empty($post->ID) && ! empty($sample_permalink_html) ) :77 echo $sample_permalink_html;78 endif; ?>79 </div>80 </div>81 </div>82 83 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">84 <h3><?php _e('Post') ?></h3>85 <?php the_editor($post->post_content); ?>86 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>87 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>88 <?php wp_nonce_field( 'getpermalink', 'getpermalinknonce', false ); ?>89 <?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?>90 </div>91 92 <?php echo $form_pingback ?>93 <?php echo $form_prevstatus ?>94 95 70 <div class="submitbox" id="submitpost"> 96 71 … … 186 161 <?php do_action('submitpost_box'); ?> 187 162 </div> 163 164 <div id="titlediv"> 165 <h3><?php _e('Title') ?></h3> 166 <div class="inside"> 167 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" /> 168 <?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?> 169 <div id="edit-slug-box"> 170 <?php if ( ! empty($post->ID) && ! empty($sample_permalink_html) ) : 171 echo $sample_permalink_html; 172 endif; ?> 173 </div> 174 </div> 175 </div> 176 177 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 178 <h3><?php _e('Post') ?></h3> 179 <?php the_editor($post->post_content); ?> 180 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> 181 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> 182 <?php wp_nonce_field( 'getpermalink', 'getpermalinknonce', false ); ?> 183 <?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?> 184 </div> 185 186 <?php echo $form_pingback ?> 187 <?php echo $form_prevstatus ?> 188 188 189 189 <p class="submit"> -
trunk/wp-admin/edit-form-comment.php
r6961 r6966 21 21 22 22 <div id="poststuff"> 23 24 <div id="namediv" class="stuffbox">25 <h3><?php _e('Name') ?></h3>26 <div class="inside">27 <input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" />28 </div>29 </div>30 31 <div id="emaildiv" class="stuffbox">32 <h3><?php _e('E-mail') ?></h3>33 <div class="inside">34 <input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" />35 </div>36 </div>37 38 <div id="uridiv" class="stuffbox">39 <h3><?php _e('URL') ?></h3>40 <div class="inside">41 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="2" />42 </div>43 </div>44 45 <div id="postdiv" class="postarea">46 <h3><?php _e('Comment') ?></h3>47 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false); ?>48 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>49 </div>50 23 51 24 <div class="submitbox" id="submitcomment"> … … 96 69 </div> 97 70 71 <div id="namediv" class="stuffbox"> 72 <h3><?php _e('Name') ?></h3> 73 <div class="inside"> 74 <input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /> 75 </div> 76 </div> 77 78 <div id="emaildiv" class="stuffbox"> 79 <h3><?php _e('E-mail') ?></h3> 80 <div class="inside"> 81 <input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" /> 82 </div> 83 </div> 84 85 <div id="uridiv" class="stuffbox"> 86 <h3><?php _e('URL') ?></h3> 87 <div class="inside"> 88 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="2" /> 89 </div> 90 </div> 91 92 <div id="postdiv" class="postarea"> 93 <h3><?php _e('Comment') ?></h3> 94 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false); ?> 95 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> 96 </div> 97 98 98 <?php do_meta_boxes('comment', 'normal', $comment); ?> 99 99 -
trunk/wp-admin/edit-link-form.php
r6963 r6966 40 40 <div id="poststuff"> 41 41 42 <div id="namediv" class="stuffbox">43 <h3><?php _e('Name') ?></h3>44 <div class="inside">45 <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" />46 </div>47 </div>48 49 <div id="addressdiv" class="stuffbox">50 <h3><?php _e('Address') ?></h3>51 <div class="inside">52 <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />53 </div>54 </div>55 56 <div id="descriptiondiv" class="stuffbox">57 <h3><?php _e('Description') ?></h3>58 <div class="inside">59 <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" />60 </div>61 </div>62 63 42 <div class="submitbox" id="submitlink"> 64 43 … … 87 66 </div> 88 67 <?php do_action('submitlink_box'); ?> 68 </div> 69 70 <div id="namediv" class="stuffbox"> 71 <h3><?php _e('Name') ?></h3> 72 <div class="inside"> 73 <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /> 74 </div> 75 </div> 76 77 <div id="addressdiv" class="stuffbox"> 78 <h3><?php _e('Address') ?></h3> 79 <div class="inside"> 80 <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /> 81 </div> 82 </div> 83 84 <div id="descriptiondiv" class="stuffbox"> 85 <h3><?php _e('Description') ?></h3> 86 <div class="inside"> 87 <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /> 88 </div> 89 89 </div> 90 90 -
trunk/wp-admin/edit-page-form.php
r6962 r6966 48 48 <div id="poststuff"> 49 49 50 <div id="titlediv">51 <h3><?php _e('Title') ?></h3>52 <div class="inside">53 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" />54 <?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?>55 <div id="edit-slug-box">56 <?php if ( ! empty($post->ID) && ! empty($sample_permalink_html) ) :57 echo $sample_permalink_html;58 endif; ?>59 </div>60 </div>61 </div>62 63 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">64 <h3><?php _e('Page') ?></h3>65 <?php the_editor($post->post_content); ?>66 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>67 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>68 <?php wp_nonce_field( 'getpermalink', 'getpermalinknonce', false ); ?>69 <?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?>70 </div>71 72 50 <div class="submitbox" id="submitpage"> 73 51 … … 163 141 </div> 164 142 143 <div id="titlediv"> 144 <h3><?php _e('Title') ?></h3> 145 <div class="inside"> 146 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" /> 147 <?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?> 148 <div id="edit-slug-box"> 149 <?php if ( ! empty($post->ID) && ! empty($sample_permalink_html) ) : 150 echo $sample_permalink_html; 151 endif; ?> 152 </div> 153 </div> 154 </div> 155 156 <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 157 <h3><?php _e('Page') ?></h3> 158 <?php the_editor($post->post_content); ?> 159 <?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> 160 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> 161 <?php wp_nonce_field( 'getpermalink', 'getpermalinknonce', false ); ?> 162 <?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?> 163 </div> 164 165 165 <p class="submit"> 166 166 -
trunk/wp-admin/wp-admin.css
r6950 r6966 1111 1111 background-color: #eaf3fa; 1112 1112 width: 200px; 1113 top: 234px;1114 1113 right: 15%; 1115 1114 -moz-border-radius: 3px;
Note: See TracChangeset
for help on using the changeset viewer.