Changeset 13025
- Timestamp:
- 02/08/2010 06:02:23 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 27 edited
-
wp-admin/edit-tag-form.php (modified) (2 diffs)
-
wp-admin/edit-tags.php (modified) (1 diff)
-
wp-admin/includes/class-wp-filesystem-direct.php (modified) (1 diff)
-
wp-admin/includes/file.php (modified) (2 diffs)
-
wp-admin/includes/post.php (modified) (1 diff)
-
wp-admin/js/post.dev.js (modified) (2 diffs)
-
wp-admin/network.php (modified) (1 diff)
-
wp-content/themes/twentyten/404.php (modified) (2 diffs)
-
wp-content/themes/twentyten/archive.php (modified) (6 diffs)
-
wp-content/themes/twentyten/attachment.php (modified) (5 diffs)
-
wp-content/themes/twentyten/author.php (modified) (6 diffs)
-
wp-content/themes/twentyten/category.php (modified) (5 diffs)
-
wp-content/themes/twentyten/editor-style.css (modified) (4 diffs)
-
wp-content/themes/twentyten/functions.php (modified) (8 diffs)
-
wp-content/themes/twentyten/header.php (modified) (4 diffs)
-
wp-content/themes/twentyten/page.php (modified) (1 diff)
-
wp-content/themes/twentyten/print.css (modified) (1 diff)
-
wp-content/themes/twentyten/rtl.css (modified) (9 diffs)
-
wp-content/themes/twentyten/search.php (modified) (7 diffs)
-
wp-content/themes/twentyten/sidebar-footer.php (modified) (4 diffs)
-
wp-content/themes/twentyten/sidebar.php (modified) (2 diffs)
-
wp-content/themes/twentyten/single.php (modified) (5 diffs)
-
wp-content/themes/twentyten/style.css (modified) (15 diffs)
-
wp-content/themes/twentyten/tag.php (modified) (5 diffs)
-
wp-includes/default-constants.php (modified) (1 diff)
-
wp-includes/ms-load.php (modified) (1 diff)
-
wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tag-form.php
r12941 r13025 62 62 </tr> 63 63 <?php 64 if ( 'category' == $taxonomy ) 64 if ( 'category' == $taxonomy ) 65 65 do_action('edit_category_form_fields', $tag); 66 66 else … … 70 70 </table> 71 71 <p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php esc_attr_e('Update Tag'); ?>" /></p> 72 <?php 73 if ( 'category' == $taxonomy ) 72 <?php 73 if ( 'category' == $taxonomy ) 74 74 do_action('edit_category_form_', $tag); 75 75 else -
trunk/wp-admin/edit-tags.php
r12941 r13025 329 329 </div> 330 330 331 <?php 332 if ( 'category' == $taxonomy ) 331 <?php 332 if ( 'category' == $taxonomy ) 333 333 do_action('add_category_form_fields'); 334 334 else -
trunk/wp-admin/includes/class-wp-filesystem-direct.php
r13001 r13025 205 205 return false; 206 206 207 // try using rename first. if that fails (for example, source is read only) try copy 207 // try using rename first. if that fails (for example, source is read only) try copy 208 208 if ( @rename($source, $destination) ) 209 209 return true; -
trunk/wp-admin/includes/file.php
r13015 r13025 566 566 $needed_dirs[] = $to . untrailingslashit(dirname($info['name'])); 567 567 } 568 568 569 569 $needed_dirs = array_unique($needed_dirs); 570 570 asort($needed_dirs); 571 571 572 572 // Create those directories if need be: 573 573 foreach ( $needed_dirs as $_dir ) { … … 576 576 } 577 577 unset($needed_dirs); 578 578 579 579 for ( $i = 0; $i < $z->numFiles; $i++ ) { 580 580 if ( ! $info = $z->statIndex($i) ) -
trunk/wp-admin/includes/post.php
r12987 r13025 483 483 if ( time() + $temp > 86400 ) // 1 day: $temp is equal to -1 * time( then ) 484 484 unset($draft_ids[$temp]); 485 485 486 486 if ( isset($draft_ids[$temp_id]) ) { // Edit, don't write 487 487 $_POST['post_ID'] = $draft_ids[$temp_id]; -
trunk/wp-admin/js/post.dev.js
r12798 r13025 254 254 255 255 // categories 256 $('.categorydiv').each(function(){ 257 var this_id = $(this).attr('id'), noSyncChecks = false, syncChecks, catAddAfter, popularCats; 258 var taxonomy_parts = this_id.split('-'); 256 $('.categorydiv').each(function(){ 257 var this_id = $(this).attr('id'), noSyncChecks = false, syncChecks, catAddAfter, popularCats; 258 var taxonomy_parts = this_id.split('-'); 259 259 taxonomy_parts.shift(); 260 260 var taxonomy = taxonomy_parts.join('-'); 261 var settingName = taxonomy+'_tab'; 262 if(taxonomy == 'category') 263 settingName = 'cats'; 264 261 var settingName = taxonomy+'_tab'; 262 if(taxonomy == 'category') 263 settingName = 'cats'; 264 265 265 // TODO: move to jQuery 1.3+, support for multiple hierarchical taxonomies, see wp-lists.dev.js 266 266 $('a', '#'+taxonomy+'-tabs').click(function(){ … … 275 275 return false; 276 276 }); 277 277 278 278 if ( getUserSetting(settingName) ) 279 279 $('a[href="#'+taxonomy+'-pop"]', '#'+taxonomy+'-tabs').click(); 280 280 281 281 // Ajax Cat 282 $('#new'+taxonomy).one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ) } ); 283 $('#'+taxonomy+'-add-submit').click(function(){$('#new'+taxonomy).focus();}); 284 285 syncChecks = function() { 286 if ( noSyncChecks ) 287 return; 288 noSyncChecks = true; 289 var th = jQuery(this), c = th.is(':checked'), id = th.val().toString(); 290 $('#in-'+taxonomy+'-' + id + ', #in-'+taxonomy+'-category-' + id).attr( 'checked', c ); 291 noSyncChecks = false; 292 }; 293 294 295 282 $('#new'+taxonomy).one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ) } ); 283 $('#'+taxonomy+'-add-submit').click(function(){$('#new'+taxonomy).focus();}); 284 285 syncChecks = function() { 286 if ( noSyncChecks ) 287 return; 288 noSyncChecks = true; 289 var th = jQuery(this), c = th.is(':checked'), id = th.val().toString(); 290 $('#in-'+taxonomy+'-' + id + ', #in-'+taxonomy+'-category-' + id).attr( 'checked', c ); 291 noSyncChecks = false; 292 }; 293 294 295 296 296 catAddBefore = function( s ) { 297 297 if ( !$('#new'+taxonomy).val() ) -
trunk/wp-admin/network.php
r13000 r13025 364 364 check_admin_referer( 'install-network-1' ); 365 365 366 if ( isset( $_POST[ 'existing_network' ] ) ) { 366 if ( isset( $_POST[ 'existing_network' ] ) ) { 367 367 // Install! 368 368 $base = stripslashes( dirname( dirname( $_SERVER['SCRIPT_NAME'] ) ) ); -
trunk/wp-content/themes/twentyten/404.php
r13012 r13025 3 3 <div id="container"> 4 4 <div id="content"> 5 5 6 6 <div id="post-0" class="post error404 not-found"> 7 7 <h1 class="entry-title">Not Found</h1> … … 12 12 </div><!-- #post-0 --> 13 13 14 </div><!-- #content --> 14 </div><!-- #content --> 15 15 </div><!-- #container --> 16 16 <script type="text/javascript"> 17 17 // focus on search field after it has loaded 18 18 document.getElementById('s') && document.getElementById('s').focus(); 19 </script> 19 </script> 20 20 21 21 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/archive.php
r13012 r13025 1 1 <?php get_header(); ?> 2 3 <div id="container"> 2 3 <div id="container"> 4 4 <div id="content"> 5 6 <?php the_post(); ?> 7 5 6 <?php the_post(); ?> 7 8 8 <?php if ( is_day() ) : ?> 9 9 <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_time(get_option('date_format')) ) ?></h1> … … 17 17 18 18 <?php rewind_posts(); ?> 19 19 20 20 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> 21 21 <div id="nav-above" class="navigation"> … … 23 23 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 24 24 </div><!-- #nav-above --> 25 <?php } ?> 25 <?php } ?> 26 26 27 27 <?php while ( have_posts() ) : the_post(); ?> … … 35 35 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a> 36 36 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 37 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 37 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 38 38 </div><!-- .entry-meta --> 39 39 40 <div class="entry-summary"> 40 <div class="entry-summary"> 41 41 <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> 42 42 </div><!-- .entry-summary --> … … 48 48 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span> 49 49 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> 50 </div><!-- #entry-utility --> 50 </div><!-- #entry-utility --> 51 51 </div><!-- #post-<?php the_ID(); ?> --> 52 52 53 <?php endwhile; ?> 53 <?php endwhile; ?> 54 54 55 55 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> … … 58 58 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 59 59 </div><!-- #nav-below --> 60 <?php } ?> 61 62 </div><!-- #content --> 60 <?php } ?> 61 62 </div><!-- #content --> 63 63 </div><!-- #container --> 64 65 <?php get_sidebar(); ?> 64 65 <?php get_sidebar(); ?> 66 66 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/attachment.php
r13012 r13025 1 1 <?php get_header(); ?> 2 2 3 <div id="container"> 3 <div id="container"> 4 4 <div id="content"> 5 5 … … 7 7 8 8 <p class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php printf( __( 'Return to %s', 'twentyten' ), wp_specialchars( get_the_title($post->post_parent), 1 ) ) ?>" rel="gallery">← <?php echo get_the_title($post->post_parent) ?></a></p> 9 9 10 10 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 11 11 <h2 class="entry-title"><?php the_title(); ?></h2> 12 12 13 13 <div class="entry-meta"> 14 14 <span class="meta-prep meta-prep-author"><?php _e('By ', 'twentyten'); ?></span> … … 17 17 <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'twentyten'); ?></span> 18 18 <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr></span> 19 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> 19 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> 20 20 </div><!-- .entry-meta --> 21 21 22 22 <div class="entry-content"> 23 <div class="entry-attachment"> 23 <div class="entry-attachment"> 24 24 <?php if ( wp_attachment_is_image( $post->id ) ) : $att_image = wp_get_attachment_image_src( $post->id, array(640,640)); ?> 25 25 <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->id); ?>" title="<?php the_title(); ?>" rel="attachment"><img src="<?php echo $att_image[0];?>" width="<?php echo $att_image[1];?>" height="<?php echo $att_image[2];?>" class="attachment-medium" alt="<?php $post->post_excerpt; ?>" /></a> 26 26 </p> 27 27 28 28 29 29 <div id="nav-below" class="navigation"> 30 30 <div class="nav-previous"><?php previous_image_link( false ); ?></div> 31 31 <div class="nav-next"><?php next_image_link( false ); ?></div> 32 </div><!-- #nav-below --> 33 <?php else : ?> 34 <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a> 35 <?php endif; ?> 36 </div> 32 </div><!-- #nav-below --> 33 <?php else : ?> 34 <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a> 35 <?php endif; ?> 36 </div> 37 37 <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt() ?></div> 38 38 … … 41 41 42 42 </div><!-- .entry-content --> 43 43 44 44 <div class="entry-utility"> 45 45 <?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'twentyten' ), … … 68 68 </div><!-- #container --> 69 69 70 <?php get_sidebar(); ?> 70 <?php get_sidebar(); ?> 71 71 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/author.php
r13012 r13025 1 1 <?php get_header(); ?> 2 3 <div id="container"> 2 3 <div id="container"> 4 4 <div id="content"> 5 6 <?php the_post(); ?> 7 5 6 <?php the_post(); ?> 7 8 8 <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='$authordata->user_url' title='$authordata->display_name' rel='me'>$authordata->display_name</a>" ) ?></h1> 9 9 10 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?> 10 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?> 11 11 <div id="entry-author-info"> 12 12 <div id="author-avatar"> 13 13 <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?> 14 </div><!-- #author-avatar --> 14 </div><!-- #author-avatar --> 15 15 <div id="author-description"> 16 <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2> 16 <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2> 17 17 <?php the_author_meta('description'); ?> 18 18 </div><!-- #author-description --> … … 21 21 22 22 <?php rewind_posts(); ?> 23 23 24 24 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> 25 25 <div id="nav-above" class="navigation"> … … 27 27 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 28 28 </div><!-- #nav-above --> 29 <?php } ?> 29 <?php } ?> 30 30 31 31 <?php while ( have_posts() ) : the_post(); ?> … … 39 39 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a> 40 40 </div><!-- .entry-meta --> 41 42 <div class="entry-summary"> 41 42 <div class="entry-summary"> 43 43 <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> 44 44 </div><!-- .entry-summary --> … … 50 50 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span> 51 51 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> 52 </div><!-- #entry-utility --> 52 </div><!-- #entry-utility --> 53 53 </div><!-- #post-<?php the_ID(); ?> --> 54 54 55 <?php endwhile; ?> 55 <?php endwhile; ?> 56 56 57 57 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> … … 60 60 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 61 61 </div><!-- #nav-below --> 62 <?php } ?> 63 64 </div><!-- #content --> 62 <?php } ?> 63 64 </div><!-- #content --> 65 65 </div><!-- #container --> 66 67 <?php get_sidebar(); ?> 66 67 <?php get_sidebar(); ?> 68 68 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/category.php
r13012 r13025 1 1 2 2 <?php get_header(); ?> 3 4 <div id="container"> 3 4 <div id="container"> 5 5 <div id="content"> 6 7 <?php the_post(); ?> 8 6 7 <?php the_post(); ?> 8 9 9 <h1 class="page-title"><?php _e( 'Category Archives:', 'twentyten' ) ?> <span><?php single_cat_title() ?></span></span></h1> 10 10 <?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?> 11 11 12 12 <?php rewind_posts(); ?> 13 13 14 14 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> 15 15 <div id="nav-above" class="navigation"> … … 17 17 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 18 18 </div><!-- #nav-above --> 19 <?php } ?> 19 <?php } ?> 20 20 21 21 <?php while ( have_posts() ) : the_post(); ?> … … 29 29 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a> 30 30 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 31 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 31 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 32 32 </div><!-- .entry-meta --> 33 34 <div class="entry-summary"> 33 34 <div class="entry-summary"> 35 35 <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> 36 36 </div><!-- .entry-summary --> 37 37 38 38 <div class="entry-utility"> 39 39 <?php if ( $cats_meow = cats_meow(', ') ) : // Returns categories other than the one queried ?> … … 44 44 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span> 45 45 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> 46 </div><!-- #entry-utility --> 46 </div><!-- #entry-utility --> 47 47 </div><!-- #post-<?php the_ID(); ?> --> 48 48 49 <?php endwhile; ?> 49 <?php endwhile; ?> 50 50 51 51 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> … … 54 54 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 55 55 </div><!-- #nav-below --> 56 <?php } ?> 57 58 </div><!-- #content --> 56 <?php } ?> 57 58 </div><!-- #content --> 59 59 </div><!-- #container --> 60 61 <?php get_sidebar(); ?> 60 61 <?php get_sidebar(); ?> 62 62 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/editor-style.css
r13012 r13025 145 145 color: #444; 146 146 font-size: 16px; 147 line-height: 24px; 147 line-height: 24px; 148 148 } 149 149 p, … … 206 206 font-size: 0.9em; 207 207 } 208 table { 209 border: 1px solid #e7e7e7 !important; 210 text-align: left; 211 margin: 0 -1px 24px 0; 212 width: 100%; 208 table { 209 border: 1px solid #e7e7e7 !important; 210 text-align: left; 211 margin: 0 -1px 24px 0; 212 width: 100%; 213 213 border-collapse: collapse; 214 214 border-spacing: 0; 215 } 216 tr th, 215 } 216 tr th, 217 217 thead th { 218 218 border: none !important; 219 color: #888; 220 font-size: 12px; 221 font-weight: bold; 222 line-height: 18px; 223 padding: 9px 24px; 224 } 219 color: #888; 220 font-size: 12px; 221 font-weight: bold; 222 line-height: 18px; 223 padding: 9px 24px; 224 } 225 225 tr td { 226 226 border: none !important; 227 border-top: 1px solid #e7e7e7 !important; 227 border-top: 1px solid #e7e7e7 !important; 228 228 padding: 6px 24px; 229 229 } … … 270 270 -khtml-border-radius: 0; 271 271 -webkit-border-radius: 0; 272 border-radius: 0; 272 border-radius: 0; 273 273 } 274 274 .wp-caption img { … … 278 278 margin: 0 0 4px; 279 279 } 280 .wp-smiley { 280 .wp-smiley { 281 281 margin:0; 282 282 } -
trunk/wp-content/themes/twentyten/functions.php
r13012 r13025 4 4 $content_width = apply_filters('twentyten_content_width', 640 ); 5 5 6 // Your Changeable header business starts here 6 // Your Changeable header business starts here 7 7 // No CSS, just IMG call 8 8 define( 'HEADER_TEXTCOLOR', ''); … … 96 96 <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?> 97 97 </div> 98 </div> 98 </div> 99 99 100 100 <?php } else { ?> … … 179 179 'after_title' => '</h3>', 180 180 ) ); 181 181 182 182 // Area 2 183 183 register_sidebar( array ( 184 184 'name' => 'Secondary Widget Area', 185 'id' => 'secondary-widget-area', 185 'id' => 'secondary-widget-area', 186 186 'description' => __('The secondary widget area' , 'twentyten'), 187 187 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', … … 190 190 'after_title' => '</h3>', 191 191 ) ); 192 192 193 193 // Area 3 194 194 register_sidebar( array ( 195 195 'name' => 'First Footer Widget Area', 196 'id' => 'first-footer-widget-area', 196 'id' => 'first-footer-widget-area', 197 197 'description' => __('The first footer widget area' , 'twentyten'), 198 198 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', … … 200 200 'before_title' => '<h3 class="widget-title">', 201 201 'after_title' => '</h3>', 202 ) ); 202 ) ); 203 203 204 204 // Area 4 205 205 register_sidebar( array ( 206 206 'name' => 'Second Footer Widget Area', 207 'id' => 'second-footer-widget-area', 207 'id' => 'second-footer-widget-area', 208 208 'description' => __('The second footer widget area' , 'twentyten'), 209 209 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', … … 211 211 'before_title' => '<h3 class="widget-title">', 212 212 'after_title' => '</h3>', 213 ) ); 213 ) ); 214 214 215 215 // Area 5 216 216 register_sidebar( array ( 217 217 'name' => 'Third Footer Widget Area', 218 'id' => 'third-footer-widget-area', 218 'id' => 'third-footer-widget-area', 219 219 'description' => __('The third footer widget area' , 'twentyten'), 220 220 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', … … 222 222 'before_title' => '<h3 class="widget-title">', 223 223 'after_title' => '</h3>', 224 ) ); 224 ) ); 225 225 226 226 // Area 6 227 227 register_sidebar( array ( 228 228 'name' => 'Fourth Footer Widget Area', 229 'id' => 'fourth-footer-widget-area', 229 'id' => 'fourth-footer-widget-area', 230 230 'description' => __('The fourth footer widget area' , 'twentyten'), 231 231 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', … … 233 233 'before_title' => '<h3 class="widget-title">', 234 234 'after_title' => '</h3>', 235 ) ); 236 235 ) ); 236 237 237 } // end theme_widgets_init 238 238 -
trunk/wp-content/themes/twentyten/header.php
r13012 r13025 3 3 <head> 4 4 <title><?php 5 if ( is_single() ) { single_post_title(); print ' | '; bloginfo('name'); } 5 if ( is_single() ) { single_post_title(); print ' | '; bloginfo('name'); } 6 6 elseif ( is_home() || is_front_page() ) { bloginfo('name'); print ' | '; bloginfo('description'); get_page_number(); } 7 7 elseif ( is_page() ) { single_post_title(''); print ' | '; bloginfo('name'); } … … 10 10 else { bloginfo('name'); wp_title('|'); get_page_number(); } 11 11 ?></title> 12 12 13 13 <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 14 14 15 15 <link rel="profile" href="http://gmpg.org/xfn/11"> 16 16 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" /> 17 17 <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" /> 18 18 19 19 <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> 20 20 21 21 <?php wp_head(); ?> 22 22 23 23 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( __( '%s latest posts', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> 24 24 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> 25 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> 25 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> 26 26 </head> 27 27 … … 31 31 <div id="header"> 32 32 <div id="masthead"> 33 33 34 34 <div id="branding"> 35 35 <div id="site-title"><span><a href="<?php bloginfo( 'url' ) ?>/" title="<?php bloginfo( 'name' ) ?>" rel="home"><?php bloginfo( 'name' ) ?></a></span></div> 36 36 <div id="site-description"><?php bloginfo( 'description' ) ?></div> 37 37 38 38 <?php 39 39 global $post; … … 44 44 <?php } ?> 45 45 </div><!-- #branding --> 46 46 47 47 <div id="access"> 48 48 <div class="skip-link screen-reader-text"><a href="#content" title="<?php _e( 'Skip to content', 'twentyten' ) ?>"><?php _e( 'Skip to content', 'twentyten' ) ?></a></div> 49 <?php wp_page_menu( 'sort_column=menu_order' ); ?> 49 <?php wp_page_menu( 'sort_column=menu_order' ); ?> 50 50 </div><!-- #access --> 51 52 </div><!-- #masthead --> 51 52 </div><!-- #masthead --> 53 53 </div><!-- #header --> 54 54 55 55 <div id="main"> -
trunk/wp-content/themes/twentyten/page.php
r13012 r13025 1 1 <?php get_header(); ?> 2 3 <div id="container"> 2 3 <div id="container"> 4 4 <div id="content"> 5 5 6 6 <?php the_post(); ?> 7 7 8 8 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 9 9 <h1 class="entry-title"><?php the_title(); ?></h1> 10 10 <div class="entry-content"> 11 11 <?php the_content(); ?> 12 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?> 12 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?> 13 13 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ) ?> 14 14 </div><!-- .entry-content --> 15 </div><!-- #post-<?php the_ID(); ?> --> 16 17 <?php comments_template(); ?> 18 19 </div><!-- #content --> 15 </div><!-- #post-<?php the_ID(); ?> --> 16 17 <?php comments_template(); ?> 18 19 </div><!-- #content --> 20 20 </div><!-- #container --> 21 22 <?php get_sidebar(); ?> 21 22 <?php get_sidebar(); ?> 23 23 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/print.css
r13012 r13025 1 /* 1 /* 2 2 This stylesheet reformats the theme for the printed page. 3 3 */ -
trunk/wp-content/themes/twentyten/rtl.css
r13012 r13025 1 /* 1 /* 2 2 Theme Name: Twenty Ten 3 3 */ 4 4 5 5 6 /* -------------------------------------------------------------- 7 6 /* -------------------------------------------------------------- 7 8 8 RTL Basics 9 9 10 10 -------------------------------------------------------------- */ 11 11 … … 40 40 /* =Fonts 41 41 -------------------------------------------------------------- */ 42 body, 43 input, 42 body, 43 input, 44 44 textarea, 45 45 .page-title span { … … 60 60 .entry-content label, 61 61 .entry-content tr th, 62 .entry-content thead th, 62 .entry-content thead th, 63 63 .entry-meta, 64 64 .entry-title, … … 140 140 141 141 #access .menu { 142 margin-right: 12px; 143 margin-left: 0; 142 margin-right: 12px; 143 margin-left: 0; 144 144 } 145 145 … … 150 150 151 151 #access ul ul { 152 left:auto; 152 left:auto; 153 153 right:0; 154 154 float:right; 155 155 } 156 156 #access ul ul ul { 157 left:auto; 158 right:100%; 157 left:auto; 158 right:100%; 159 159 } 160 160 … … 162 162 -------------------------------------------------------------- */ 163 163 164 #content table { 165 text-align: right; 166 margin: 0 0 24px -1px; 164 #content table { 165 text-align: right; 166 margin: 0 0 24px -1px; 167 167 } 168 168 .entry-title, … … 200 200 } 201 201 202 /* Gallery listing 202 /* Gallery listing 203 203 -------------------------------------------------------------- */ 204 204 … … 208 208 margin-right:0; 209 209 } 210 #content .gallery .gallery-item { 211 float: right; 210 #content .gallery .gallery-item { 211 float: right; 212 212 } 213 213 … … 215 215 -------------------------------------------------------------- */ 216 216 217 #content .gallery .gallery-caption { 217 #content .gallery .gallery-caption { 218 218 margin-right: 0; 219 219 } -
trunk/wp-content/themes/twentyten/search.php
r13012 r13025 1 1 <?php get_header(); ?> 2 3 <div id="container"> 2 3 <div id="container"> 4 4 <div id="content"> 5 5 6 6 <?php if ( have_posts() ) : ?> 7 7 8 8 <h1 class="page-title"><?php _e( 'Search Results for: ', 'twentyten' ); ?><span><?php the_search_query(); ?></span></h1> 9 9 10 10 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> 11 11 <div id="nav-above" class="navigation"> … … 13 13 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 14 14 </div><!-- #nav-above --> 15 <?php } ?> 15 <?php } ?> 16 16 17 17 <?php while ( have_posts() ) : the_post() ?> … … 20 20 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( __('Permalink to %s', 'twentyten'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> 21 21 22 <?php if ( $post->post_type == 'post' ) { ?> 22 <?php if ( $post->post_type == 'post' ) { ?> 23 23 <div class="entry-meta"> 24 24 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> … … 26 26 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a> 27 27 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 28 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 28 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 29 29 </div><!-- .entry-meta --> 30 30 <?php } ?> 31 32 <div class="entry-summary"> 31 32 <div class="entry-summary"> 33 33 <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> 34 34 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>') ?> 35 35 </div><!-- .entry-summary --> 36 36 37 <?php if ( $post->post_type == 'post' ) { ?> 37 <?php if ( $post->post_type == 'post' ) { ?> 38 38 <div class="entry-utility"> 39 39 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list(', '); ?></span> … … 42 42 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span> 43 43 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> 44 </div><!-- #entry-utility --> 45 <?php } ?> 44 </div><!-- #entry-utility --> 45 <?php } ?> 46 46 </div><!-- #post-<?php the_ID(); ?> --> 47 47 … … 53 53 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 54 54 </div><!-- #nav-below --> 55 <?php } ?> 55 <?php } ?> 56 56 57 57 <?php else : ?> … … 61 61 <div class="entry-content"> 62 62 <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p> 63 <?php get_search_form(); ?> 63 <?php get_search_form(); ?> 64 64 </div><!-- .entry-content --> 65 65 </div> 66 66 67 <?php endif; ?> 67 <?php endif; ?> 68 68 69 </div><!-- #content --> 69 </div><!-- #content --> 70 70 </div><!-- #container --> 71 72 <?php get_sidebar(); ?> 71 72 <?php get_sidebar(); ?> 73 73 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/sidebar-footer.php
r13012 r13025 9 9 </ul> 10 10 </div><!-- #first .widget-area --> 11 <?php endif; ?> 11 <?php endif; ?> 12 12 13 13 <?php if ( is_active_sidebar('second-footer-widget-area') ) : ?> … … 17 17 </ul> 18 18 </div><!-- #second .widget-area --> 19 <?php endif; ?> 19 <?php endif; ?> 20 20 21 21 <?php if ( is_active_sidebar('third-footer-widget-area') ) : ?> … … 25 25 </ul> 26 26 </div><!-- #third .widget-area --> 27 <?php endif; ?> 27 <?php endif; ?> 28 28 29 29 <?php if ( is_active_sidebar('fourth-footer-widget-area') ) : ?> … … 33 33 </ul> 34 34 </div><!-- #fourth .widget-area --> 35 <?php endif; ?> 35 <?php endif; ?> 36 36 37 37 </div><!-- #footer-widget-area --> -
trunk/wp-content/themes/twentyten/sidebar.php
r13012 r13025 12 12 </ul> 13 13 </li> 14 14 15 15 <li id="meta" class="widget-container"> 16 16 <h3 class="widget-title"><?php _e('Meta', 'twentyten') ?></h3> … … 22 22 23 23 </ul> 24 </li> 24 </li> 25 25 <?php endif; // end primary widget area ?> 26 26 </ul> 27 27 </div><!-- #primary .widget-area --> 28 28 29 29 <?php if ( is_active_sidebar('secondary-widget-area') ) : // Nothing here by default and design ?> 30 30 <div id="secondary" class="widget-area"> -
trunk/wp-content/themes/twentyten/single.php
r13012 r13025 1 1 <?php get_header(); ?> 2 3 <div id="container"> 2 3 <div id="container"> 4 4 <div id="content"> 5 5 6 6 <?php the_post(); ?> 7 7 … … 13 13 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 14 <h1 class="entry-title"><?php the_title(); ?></h1> 15 15 16 16 <div class="entry-meta"> 17 17 <span class="meta-prep meta-prep-author"><?php _e('Posted by ', 'twentyten'); ?></span> … … 20 20 <a href="<?php 21 21 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a> 22 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> 22 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> 23 23 </div><!-- .entry-meta --> 24 24 25 25 <div class="entry-content"> 26 26 <?php the_content(); ?> … … 28 28 </div><!-- .entry-content --> 29 29 30 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?> 30 <?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?> 31 31 <div id="entry-author-info"> 32 32 <div id="author-avatar"> 33 33 <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?> 34 </div><!-- #author-avatar --> 34 </div><!-- #author-avatar --> 35 35 <div id="author-description"> 36 <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2> 36 <h2><?php _e('About ', 'twentyten'); ?><?php the_author(); ?></h2> 37 37 <?php the_author_meta('description'); ?> 38 38 <div id="author-link"> 39 39 <a href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php _e('View all posts by ', 'twentyten'); ?><?php the_author(); ?> →</a> 40 </div><!-- #author-link --> 40 </div><!-- #author-link --> 41 41 </div><!-- #author-description --> 42 42 </div><!-- .entry-author-info --> 43 43 <?php endif; ?> 44 44 45 45 <div class="entry-utility"> 46 46 <?php printf( __( 'This entry was posted in %1$s%2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'twentyten' ), … … 52 52 53 53 <?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?> 54 </div><!-- .entry-utility --> 55 </div><!-- #post-<?php the_ID(); ?> --> 56 54 </div><!-- .entry-utility --> 55 </div><!-- #post-<?php the_ID(); ?> --> 56 57 57 <div id="nav-below" class="navigation"> 58 58 <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ) ?></div> 59 59 <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ) ?></div> 60 </div><!-- #nav-below --> 60 </div><!-- #nav-below --> 61 61 62 <?php comments_template('', true); ?> 63 64 </div><!-- #content --> 62 <?php comments_template('', true); ?> 63 64 </div><!-- #content --> 65 65 </div><!-- #container --> 66 67 <?php get_sidebar(); ?> 66 67 <?php get_sidebar(); ?> 68 68 <?php get_footer(); ?> -
trunk/wp-content/themes/twentyten/style.css
r13012 r13025 1 /* 1 /* 2 2 Theme Name: Twenty Ten 3 3 Theme URI: http://wordpress.org/ … … 9 9 10 10 11 /* -------------------------------------------------------------- 12 11 /* -------------------------------------------------------------- 12 13 13 Reset default browser CSS. 14 14 15 15 Based on work by Eric Meyer: 16 16 http://meyerweb.com/eric/tools/css/reset/index.html 17 17 18 18 -------------------------------------------------------------- */ 19 19 … … 36 36 line-height: 1; 37 37 } 38 h1,h2,h3,h4,h5,h6 { 38 h1,h2,h3,h4,h5,h6 { 39 39 font-weight: normal; 40 40 clear: both; … … 93 93 /* =Fonts 94 94 -------------------------------------------------------------- */ 95 body, 96 input, 95 body, 96 input, 97 97 textarea, 98 98 .page-title span, … … 114 114 .entry-content label, 115 115 .entry-content tr th, 116 .entry-content thead th, 116 .entry-content thead th, 117 117 .entry-meta, 118 118 .entry-title, … … 361 361 #access a { 362 362 display:block; 363 text-decoration:none; 364 color:#aaa; 363 text-decoration:none; 364 color:#aaa; 365 365 padding:0 10px; 366 line-height:38px; 366 line-height:38px; 367 367 } 368 368 #access ul ul { … … 370 370 position:absolute; 371 371 top:38px; 372 left:0; 372 left:0; 373 373 float:left; 374 374 -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); … … 378 378 } 379 379 #access ul ul ul { 380 left:100%; 381 top:0; 380 left:100%; 381 top:0; 382 382 } 383 383 #access ul ul a { 384 background:#333; 385 height:auto; 386 line-height:1em; 387 padding:10px; 384 background:#333; 385 height:auto; 386 line-height:1em; 387 padding:10px; 388 388 width: 130px; 389 389 } 390 #access li:hover > a, 390 #access li:hover > a, 391 391 #access ul ul :hover > a { 392 color:#fff; 392 color:#fff; 393 393 background:#333; 394 394 } … … 414 414 color: #444; 415 415 font-size: 16px; 416 line-height: 24px; 416 line-height: 24px; 417 417 } 418 418 #content p, … … 456 456 line-height: 1.5em; 457 457 } 458 #content table { 459 border: 1px solid #e7e7e7; 460 text-align: left; 461 margin: 0 -1px 24px 0; 462 width: 100%; 463 } 464 #content tr th, 465 #content thead th { 466 color: #888; 467 font-size: 12px; 468 font-weight: bold; 469 line-height: 18px; 470 padding: 9px 24px; 471 } 472 #content tr td { 473 border-top: 1px solid #e7e7e7; 474 padding: 6px 24px; 475 } 476 #content tr.odd td { 458 #content table { 459 border: 1px solid #e7e7e7; 460 text-align: left; 461 margin: 0 -1px 24px 0; 462 width: 100%; 463 } 464 #content tr th, 465 #content thead th { 466 color: #888; 467 font-size: 12px; 468 font-weight: bold; 469 line-height: 18px; 470 padding: 9px 24px; 471 } 472 #content tr td { 473 border-top: 1px solid #e7e7e7; 474 padding: 6px 24px; 475 } 476 #content tr.odd td { 477 477 background: #F2F7FC; 478 478 } … … 678 678 -------------------------------------------------------------- */ 679 679 680 .category-gallery { 680 .category-gallery { 681 681 margin-bottom: 48px; 682 682 } … … 768 768 margin: 0 0 4px; 769 769 } 770 #content .wp-smiley { 770 #content .wp-smiley { 771 771 margin:0; 772 772 } … … 875 875 margin-bottom: 18px; 876 876 } 877 #comments .comment-body p:last-child { 877 #comments .comment-body p:last-child { 878 878 margin-bottom: 6px; 879 879 } … … 998 998 color:#888; 999 999 font-size: 12px; 1000 line-height: 18px; 1000 line-height: 18px; 1001 1001 } 1002 1002 #form-allowed-tags p { 1003 margin:0; 1003 margin:0; 1004 1004 } 1005 1005 #form-allowed-tags span { … … 1096 1096 1097 1097 /* Footer widget areas */ 1098 #footer-widget-area { 1098 #footer-widget-area { 1099 1099 } 1100 1100 -
trunk/wp-content/themes/twentyten/tag.php
r13012 r13025 1 1 <?php get_header(); ?> 2 3 <div id="container"> 2 3 <div id="container"> 4 4 <div id="content"> 5 6 <?php the_post(); ?> 7 5 6 <?php the_post(); ?> 7 8 8 <h1 class="page-title"><?php _e( 'Tag Archives:', 'twentyten' ) ?> <span><?php single_tag_title() ?></span></h1> 9 9 10 10 <?php rewind_posts(); ?> 11 11 12 12 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> 13 13 <div id="nav-above" class="navigation"> … … 15 15 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 16 16 </div><!-- #nav-above --> 17 <?php } ?> 17 <?php } ?> 18 18 19 19 <?php while ( have_posts() ) : the_post(); ?> … … 26 26 <a href="<?php the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a> 27 27 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 28 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 28 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 29 29 </div><!-- .entry-meta --> 30 31 <div class="entry-summary"> 30 31 <div class="entry-summary"> 32 32 <?php the_excerpt( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> 33 33 </div><!-- .entry-summary --> … … 36 36 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php echo get_the_category_list(', '); ?></span> 37 37 <span class="meta-sep"> | </span> 38 <?php if ( $tag_ur_it = tag_ur_it(', ') ) : // Returns tags other than the one queried ?> 38 <?php if ( $tag_ur_it = tag_ur_it(', ') ) : // Returns tags other than the one queried ?> 39 39 <span class="tag-links"><?php printf( __( 'Also tagged %s', 'twentyten' ), $tag_ur_it ) ?></span> 40 <?php endif; ?> 40 <?php endif; ?> 41 41 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span> 42 42 <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> 43 </div><!-- #entry-utility --> 43 </div><!-- #entry-utility --> 44 44 </div><!-- #post-<?php the_ID(); ?> --> 45 45 46 <?php endwhile; ?> 46 <?php endwhile; ?> 47 47 48 48 <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?> … … 51 51 <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' )) ?></div> 52 52 </div><!-- #nav-below --> 53 <?php } ?> 54 55 </div><!-- #content --> 53 <?php } ?> 54 55 </div><!-- #content --> 56 56 </div><!-- #container --> 57 58 <?php get_sidebar(); ?> 57 58 <?php get_sidebar(); ?> 59 59 <?php get_footer(); ?> -
trunk/wp-includes/default-constants.php
r13019 r13025 259 259 */ 260 260 define('STYLESHEETPATH', get_stylesheet_directory()); 261 261 262 262 /** 263 263 * Slug of the fallback theme for this install. -
trunk/wp-includes/ms-load.php
r12930 r13025 145 145 return $current_site; 146 146 } 147 147 148 148 if ( is_subdomain_install() ) { 149 149 $sitedomain = substr( $domain, 1 + strpos( $domain, '.' ) ); -
trunk/wp-includes/post-template.php
r12882 r13025 394 394 if ( is_single() ) { 395 395 $postID = $wp_query->get_queried_object_id(); 396 396 397 397 $classes[] = 'single postid-' . $postID; 398 398
Note: See TracChangeset
for help on using the changeset viewer.