Changeset 7181
- Timestamp:
- 03/07/2008 10:05:54 AM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 11 edited
-
css/colors-fresh.css (modified) (2 diffs)
-
css/global.css (modified) (1 diff)
-
css/ie.css (modified) (1 diff)
-
edit-category-form.php (modified) (1 diff)
-
edit-comments.php (modified) (1 diff)
-
edit-form-advanced.php (modified) (2 diffs)
-
edit-link-category-form.php (modified) (1 diff)
-
edit-link-form.php (modified) (4 diffs)
-
edit-page-form.php (modified) (1 diff)
-
post-new.php (modified) (2 diffs)
-
wp-admin.css (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-fresh.css
r7179 r7181 212 212 background-color: #464646; 213 213 color: #ccc; 214 } 215 216 .submitbox .submitdelete { 217 border-bottom-color: #999; 218 } 219 220 .submitbox .submitdelete:hover { 221 color: #fff; 222 background-color: #f00; 223 border-bottom-color: #f00; 214 224 } 215 225 … … 241 251 } 242 252 243 .widefat td, .widefat th, div#available-widgets-filter, ul#widget-list li.widget-list-item, .commentlist li , .submitbox .submit a:hover{253 .widefat td, .widefat th, div#available-widgets-filter, ul#widget-list li.widget-list-item, .commentlist li { 244 254 border-bottom-color: #ccc; 245 255 } -
trunk/wp-admin/css/global.css
r7178 r7181 83 83 } 84 84 85 .wrap {85 .wrap, .updated, .error { 86 86 margin: 0; 87 87 margin-left: 15px; 88 88 margin-right: 15px; 89 89 padding: 0; 90 max-width: 960px; 90 max-width: 980px; 91 } 92 93 .updated, .error { 94 border-width: 1px; 95 border-style: solid; 96 padding: 0 15px; 97 max-width: 950px; 98 margin-bottom: 1em; 99 } 100 101 .wrap .updated, .wrap .error { 102 margin: auto 0 0; 103 } 104 105 .updated a, .error a { 106 text-decoration: underline; 107 } 108 109 .updated a { 110 text-decoration: none; 111 padding-bottom: 2px; 91 112 } 92 113 -
trunk/wp-admin/css/ie.css
r7114 r7181 15 15 16 16 * html #wpbody { 17 _width: expression(document.documentElement.clientWidth > 962 ? "9 60px" : "99.9%");17 _width: expression(document.documentElement.clientWidth > 962 ? "980px" : "99.9%"); 18 18 } 19 19 -
trunk/wp-admin/edit-category-form.php
r7000 r7181 27 27 <tr class="form-field form-required"> 28 28 <th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th> 29 <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /></td> 29 <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" /><br /> 30 <?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></td> 30 31 </tr> 31 32 <tr class="form-field"> 32 33 <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th> 33 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape($category->slug); ?>" size="40" /></td> 34 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape($category->slug); ?>" size="40" /><br /> 35 <?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 34 36 </tr> 35 37 <tr class="form-field"> 36 38 <th scope="row" valign="top"><label for="category_parent"><?php _e('Category Parent') ?></label></th> 37 39 <td> 38 <?php wp_dropdown_categories('hide_empty=0&name=category_parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?> 40 <?php wp_dropdown_categories('hide_empty=0&name=category_parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?><br /> 41 <?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?> 39 42 </td> 40 43 </tr> 41 44 <tr class="form-field"> 42 <th scope="row" valign="top"><label for="category_description"><?php _e('Description (optional)') ?></label></th> 43 <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea></td> 45 <th scope="row" valign="top"><label for="category_description"><?php _e('Description') ?></label></th> 46 <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea><br /> 47 <?php _e('The description is not prominent by default, however some themes may show it.'); ?></td> 44 48 </tr> 45 49 </table> -
trunk/wp-admin/edit-comments.php
r7170 r7181 100 100 $stati = array('moderated' => sprintf(__('Awaiting Moderation (%s)'), "<span class='comment-count'>$num_comments->moderated</span>"), 'approved' => __('Approved')); 101 101 $class = ( '' === $comment_status ) ? ' class="current"' : ''; 102 $status_links[] = "<li><a href=\"edit-comments.php\"$class>".__(' All Comments')."</a>";102 $status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('Show All Comments')."</a>"; 103 103 foreach ( $stati as $status => $label ) { 104 104 $class = ''; -
trunk/wp-admin/edit-form-advanced.php
r7170 r7181 19 19 <h2><?php _e('Write Post') ?></h2> 20 20 <?php 21 22 if ( !empty( $draft_div ) ) 23 echo $draft_div; 21 24 22 25 if (!isset($post_ID) || 0 == $post_ID) { … … 147 150 148 151 if ( ( 'edit' == $action) && current_user_can('delete_post', $post_ID) ) 149 echo "<a href='" . wp_nonce_url("post.php?action=delete&post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>";152 echo "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>"; 150 153 ?> 151 154 <br class="clear" /> 152 155 <?php if ($post_ID): ?> 153 <?php printf(__('Last edit ed on%1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>156 <?php printf(__('Last edit: %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?> 154 157 <br class="clear" /> 155 158 <?php endif; ?> -
trunk/wp-admin/edit-link-category-form.php
r7000 r7181 31 31 <tr class="form-field"> 32 32 <th scope="row" valign="top"><label for="slug"><?php _e('Category slug') ?></label></th> 33 <td><input name="slug" id="slug" type="text" value="<?php echo $category->slug; ?>" size="40" /></td> 33 <td><input name="slug" id="slug" type="text" value="<?php echo $category->slug; ?>" size="40" /> 34 <?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 34 35 </tr> 35 36 <tr class="form-field"> -
trunk/wp-admin/edit-link-form.php
r7104 r7181 72 72 <h3><?php _e('Name') ?></h3> 73 73 <div class="inside"> 74 <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /> 74 <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br /> 75 <?php _e('Example: Nifty blogging software'); ?> 75 76 </div> 76 77 </div> 77 78 78 79 <div id="addressdiv" class="stuffbox"> 79 <h3><?php _e('Address') ?></h3> 80 <div class="inside"> 81 <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /> 80 <h3><?php _e('Web Address') ?></h3> 81 <div class="inside"> 82 <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br /> 83 <?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?> 82 84 </div> 83 85 </div> … … 86 88 <h3><?php _e('Description') ?></h3> 87 89 <div class="inside"> 88 <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /> 90 <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo $link->link_description; ?>" id="link_description" /><br /> 91 <?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?> 89 92 </div> 90 93 </div> … … 133 136 <label for="link_target_blank" class="selectit"> 134 137 <input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo(($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> /> 135 <code>_blank</code></label> 138 <code>_blank</code></label><br /> 136 139 <label for="link_target_top" class="selectit"> 137 140 <input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo(($link->link_target == '_top') ? 'checked="checked"' : ''); ?> /> 138 <code>_top</code></label> 141 <code>_top</code></label><br /> 139 142 <label for="link_target_none" class="selectit"> 140 143 <input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> /> … … 259 262 <h3><?php _e('Advanced') ?></h3> 260 263 <div class="inside"> 261 <table class=" editform" style="width: 100%;" cellspacing="2" cellpadding="5">262 <tr >263 <th style="width: 20%;" scope="row"><?php _e('Image Address:') ?></th>264 <td style="width: 80%;"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>265 </tr> 266 <tr >267 <th scope="row"><?php _e('RSS Address:') ?></th>264 <table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5"> 265 <tr class="form-field"> 266 <th valign="top" scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th> 267 <td><input type="text" name="link_image" id="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td> 268 </tr> 269 <tr class="form-field"> 270 <th valign="top" scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th> 268 271 <td><input name="link_rss" type="text" id="rss_uri" value="<?php echo $link->link_rss; ?>" size="50" style="width: 95%" /></td> 269 272 </tr> 270 <tr >271 <th scope="row"><?php _e('Notes:') ?></th>272 <td><textarea name="link_notes" cols="50" rows="10" style="width: 95%"><?php echo $link->link_notes; ?></textarea></td>273 </tr> 274 <tr >275 <th scope="row"><?php _e('Rating:') ?></th>276 <td><select name="link_rating" size="1">273 <tr class="form-field"> 274 <th valign="top" scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th> 275 <td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo $link->link_notes; ?></textarea></td> 276 </tr> 277 <tr class="form-field"> 278 <th valign="top" scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th> 279 <td><select name="link_rating" id="link_rating" size="1"> 277 280 <?php 278 281 for ($r = 0; $r < 10; $r++) { -
trunk/wp-admin/edit-page-form.php
r7169 r7181 129 129 <br class="clear" /> 130 130 <?php if ($post_ID): ?> 131 <?php printf(__('Last edit ed on%1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>131 <?php printf(__('Last edit: %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?> 132 132 <br class="clear" /> 133 133 <?php endif; ?> -
trunk/wp-admin/post-new.php
r6903 r7181 57 57 ); 58 58 59 $draft_div = ''; 59 60 if ( !empty($my_drafts) || !empty($pending) || !empty($others_drafts) ) { 60 echo'<div class="wrap" id="draft-nag">';61 $draft_div = '<div class="wrap" id="draft-nag">'; 61 62 62 63 foreach ( $nag_posts as $nag ) { 63 64 if ( ${$nag[0]} ) { 64 echo'<p><strong>' . wp_specialchars($nag[1]) . '</strong> ';65 $draft_div .= '<p><strong>' . wp_specialchars($nag[1]) . '</strong> '; 65 66 $i = 0; 66 67 foreach ( ${$nag[0]} as $post ) { … … 68 69 if ( $i > $nag_posts_limit ) 69 70 break; 70 echo'<a href="post.php?action=edit&post=' . $post->ID . '">';71 ( '' == the_title('', '', FALSE) ) ? printf( __('Post #%s'), $post->ID ) :the_title();72 echo'</a>';71 $draft_div .= '<a href="post.php?action=edit&post=' . $post->ID . '">'; 72 $draft_div .= ( '' == the_title('', '', FALSE) ) ? sprintf( __('Post #%s'), $post->ID ) : get_the_title(); 73 $draft_div .= '</a>'; 73 74 if ( $i < min($nag[3], $nag_posts_limit) ) 74 echo', ';75 $draft_div .= ', '; 75 76 } 76 77 if ( $nag[3] > $nag_posts_limit ) 77 printf(__(', and <a href="%s">%d more</a>'), $nag[2], $nag[3] - $nag_posts_limit);78 echo'.</p>';78 $draft_div .= sprintf(__(', and <a href="%s">%d more</a>'), $nag[2], $nag[3] - $nag_posts_limit); 79 $draft_div .= '.</p>'; 79 80 } 80 81 } 81 echo"</div>\n";82 $draft_div .= "</div>\n"; 82 83 } 83 84 -
trunk/wp-admin/wp-admin.css
r7180 r7181 190 190 } 191 191 192 .updated, .error {193 margin: auto 25px 20px 15px;194 padding: 0 15px;195 border-width: 1px;196 border-style: solid;197 }198 199 .wrap .updated, .wrap .error {200 margin: auto 0 0;201 }202 203 .updated a, .error a {204 text-decoration: underline;205 }206 207 .updated a {208 text-decoration: none;209 padding-bottom: 2px;210 }211 212 192 .narrow { 213 193 width: 70%; … … 362 342 363 343 #poststuff #post-body { 364 margin-right: 16em;344 margin-right: 230px; 365 345 } 366 346 … … 886 866 font-size: 14px; 887 867 font-weight: bold; 888 padding: 8px 5px;868 padding: 11px 5px; 889 869 margin: 0 0 10px; 890 870 } … … 1003 983 1004 984 .submitbox { 1005 width: 2 00px;985 width: 220px; 1006 986 float: right; 987 } 988 989 .submitbox .submitdelete { 990 border-bottom-width: 1px; 991 border-bottom-style: solid; 992 text-decoration: none; 993 margin-left: 8px; 994 padding-bottom: 1px; 1007 995 } 1008 996 … … 1022 1010 .submitbox #previewview a { 1023 1011 padding: 6px; 1012 text-decoration: none; 1024 1013 font-weight: normal; 1025 1014 border-bottom: none;
Note: See TracChangeset
for help on using the changeset viewer.