Changeset 7230
- Timestamp:
- 03/11/2008 07:23:07 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r7226 r7230 62 62 <div id="wpcontent"> 63 63 <div id="wphead"> 64 <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1>64 <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>" target="_blank"><?php _e('Visit Site') ?></a></span></h1> 65 65 </div> 66 66 <div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php _e('<a href="http://codex.wordpress.org/">Help</a>') ?> | <?php _e('<a href="http://wordpress.org/support/">Forums</a>') ?></p></div> -
trunk/wp-admin/css/colors-classic.css
r7229 r7230 12 12 } 13 13 14 div#current-widgets, #postcustom table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat {14 div#current-widgets, #postcustomstuff table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat { 15 15 border-color: #ccc; 16 16 } … … 191 191 color: #246; 192 192 border-color: #a3a3a3; 193 } 194 195 .tablenav .button-secondary { 196 border-color: #5396c5; 193 197 } 194 198 … … 265 269 266 270 .widefat thead, .thead { 267 background-color: # 07273e;271 background-color: #464646; 268 272 color: #d7d7d7; 269 273 } -
trunk/wp-admin/css/colors-fresh.css
r7213 r7230 12 12 } 13 13 14 div#current-widgets, #postcustom table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat {14 div#current-widgets, #postcustomstuff table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat { 15 15 border-color: #ccc; 16 16 } -
trunk/wp-admin/css/theme-editor.css
r7178 r7230 15 15 } 16 16 17 #templateside h3, #postcustom p.submit {17 #templateside h3, #postcustomstuff p.submit { 18 18 margin: 0; 19 19 } -
trunk/wp-admin/edit-comments.php
r7184 r7230 109 109 $status_links[] = "<li><a href=\"edit-comments.php?comment_status=$status\"$class>" . $label . '</a>'; 110 110 } 111 112 $status_links = apply_filters( 'comment_status_links', $status_links ); 113 111 114 echo implode(' | </li>', $status_links) . '</li>'; 112 115 unset($status_links); … … 215 218 <div id="ajax-response"></div> 216 219 <?php 217 } else {220 } elseif ( 'moderated' == $_GET['comment_status'] ) { 218 221 ?> 219 222 <p> 220 <strong><?php _e('No results found.') ?></strong> 223 <?php _e('No comments awaiting moderation… yet.') ?> 224 </p> 225 <?php 226 } else { 227 ?> 228 <p> 229 <?php _e('No results found.') ?> 221 230 </p> 222 231 <?php -
trunk/wp-admin/edit-form-advanced.php
r7181 r7230 264 264 <div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>"> 265 265 <h3><?php _e('Excerpt') ?></h3> 266 <div class="inside"><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea></div> 266 <div class="inside"><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea> 267 <p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p> 268 </div> 267 269 </div> 268 270 … … 270 272 <h3><?php _e('Trackbacks') ?></h3> 271 273 <div class="inside"> 272 <?php _e('Send trackbacks to:'); ?> <?php echo $form_trackback; ?> (<?php _e('Separate multiple URLs with spaces'); ?>) 274 <p><?php _e('Send trackbacks to:'); ?> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p> 275 <p><?php _e('Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress blogs they’ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p> 273 276 <?php 274 277 if ( ! empty($pings) ) … … 294 297 <div id="ajax-response"></div> 295 298 </div> 299 <p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p> 296 300 </div> 297 301 </div> … … 303 307 <div class="inside"> 304 308 <input name="advanced_view" type="hidden" value="1" /> 305 < label for="comment_status" class="selectit">309 <p><label for="comment_status" class="selectit"> 306 310 <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> 307 <?php _e('Allow Comments') ?></label> 308 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label> 311 <?php _e('Allow Comments') ?></label></p> 312 <p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p> 313 <p><?php _e('These settings apply to this post only. “Pings” are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p> 309 314 </div> 310 315 </div> … … 313 318 <h3><?php _e('Password Protect This Post') ?></h3> 314 319 <div class="inside"> 315 <input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /> 320 <p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 321 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p> 316 322 </div> 317 323 </div> -
trunk/wp-admin/edit-link-form.php
r7198 r7230 147 147 <input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> /> 148 148 <?php _e('none') ?></label> 149 <p><?php _e('Choose the frame your link targets. Essentially this means if you choose <code>_blank</code> your link will open in a new window.'); ?></p> 149 150 </div> 150 151 </div> … … 159 160 </tr> 160 161 <tr> 161 <th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th> 162 <td> 163 <table cellpadding="3" cellspacing="5"> 162 <td colspan="2"> 163 <table cellpadding="3" cellspacing="5" class="form-table"> 164 164 <tr> 165 165 <th scope="row"> <?php _e('identity') ?> </th> … … 260 260 </tr> 261 261 </table> 262 <p><?php _e('If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out <a href="http://gmpg.org/xfn/">XFN</a>.'); ?></p> 262 263 </div> 263 264 </div> -
trunk/wp-admin/edit-page-form.php
r7184 r7230 201 201 <div class="inside"> 202 202 <input name="advanced_view" type="hidden" value="1" /> 203 < label for="comment_status" class="selectit">203 <p><label for="comment_status" class="selectit"> 204 204 <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> 205 <?php _e('Allow Comments') ?></label> 206 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label> 205 <?php _e('Allow Comments') ?></label></p> 206 <p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p> 207 <p><?php _e('These settings apply to this post only. “Pings” are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p> 207 208 </div> 208 209 </div> … … 211 212 <h3><?php _e('Password Protect This Page') ?></h3> 212 213 <div class="inside"> 213 <input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /> 214 <p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 215 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p> 214 216 </div> 215 217 </div> … … 229 231 <?php parent_dropdown($post->post_parent); ?> 230 232 </select> 233 <p><?php _e('You can arrange your pages in hierarchies, for example you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how deeply nested you can make pages.'); ?></p> 231 234 </div> 232 235 </div> … … 240 243 <?php page_template_dropdown($post->page_template); ?> 241 244 </select> 245 <p><?php _e('Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them above.'); ?></p> 242 246 </div> 243 247 </div> … … 247 251 <h3><?php _e('Page Order') ?></h3> 248 252 <div class="inside"> 249 <input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /> 253 <p><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p> 254 <p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future releases.)'); ?></p> 250 255 </div> 251 256 </div> -
trunk/wp-admin/edit-tag-form.php
r7000 r7230 27 27 <tr class="form-field form-required"> 28 28 <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th> 29 <td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" /></td> 29 <td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" /> 30 <p><?php _e('The name is how the tag appears on your site.'); ?></p></td> 30 31 </tr> 31 32 <tr class="form-field"> 32 33 <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th> 33 <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape($tag->slug); ?>" size="40" /></td> 34 <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape($tag->slug); ?>" size="40" /> 35 <p><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td> 34 36 </tr> 35 37 </table> -
trunk/wp-admin/options-permalink.php
r7182 r7230 124 124 '', 125 125 $prefix . '/%year%/%monthnum%/%day%/%postname%/', 126 $prefix . '/%year%/%monthnum%/%postname%/', 126 127 $prefix . '/archives/%post_id%' 127 128 ); … … 134 135 </tr> 135 136 <tr> 136 <th><label><input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Da te and name based'); ?></label></th>137 <th><label><input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th> 137 138 <td><code><?php echo get_option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td> 138 139 </tr> 139 140 <tr> 140 <th><label><input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th> 141 <th><label><input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th> 142 <td><code><?php echo get_option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/' . '/sample-post/'; ?></code></td> 143 </tr> 144 <tr> 145 <th><label><input name="selection" type="radio" value="<?php echo $structures[3]; ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th> 141 146 <td><code><?php echo get_option('home') . $prefix ; ?>/archives/123</code></td> 142 147 </tr> … … 159 164 <h3><?php _e('Optional'); ?></h3> 160 165 <?php if ($is_apache) : ?> 161 <p><?php _e('If you like, you may enter custom bases for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>166 <p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p> 162 167 <?php else : ?> 163 <p><?php _e('If you like, you may enter custom bases for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>168 <p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p> 164 169 <?php endif; ?> 165 170 -
trunk/wp-admin/themes.php
r6943 r7230 20 20 <div id="message1" class="updated fade"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div> 21 21 <?php elseif ( isset($_GET['activated']) ) : ?> 22 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s" >Viewsite</a>'), get_bloginfo('url') . '/'); ?></p></div>22 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s" target="_blank">Visit site</a>'), get_bloginfo('url') . '/'); ?></p></div> 23 23 <?php endif; ?> 24 24 -
trunk/wp-admin/wp-admin.css
r7215 r7230 324 324 } 325 325 326 #postcustom .updatemeta, #postcustom.deletemeta {326 #postcustomstuff .updatemeta, #postcustomstuff .deletemeta { 327 327 margin: auto; 328 328 } 329 329 330 #postcustom table {330 #postcustomstuff table { 331 331 margin: 0; 332 332 width: 100%; … … 335 335 } 336 336 337 #postcustom table input, #postcustomtable textarea {337 #postcustomstuff table input, #postcustomstuff table textarea { 338 338 width: 95%; 339 339 } 340 340 341 #postcustom table #addmetasub {341 #postcustomstuff table #addmetasub { 342 342 width: auto; 343 343 }
Note: See TracChangeset
for help on using the changeset viewer.