Make WordPress Core

Ticket #9015: 9015.functions_cleanup.2.diff

File 9015.functions_cleanup.2.diff, 20.1 KB (added by sivel, 15 years ago)

Same as previous, except refresh patch and move $content_width into global scope

  • wp-content/themes/twentyten/functions.php

     
    11<?php
    22
    33// Set the content width based on the Theme CSS
    4 $content_width = apply_filters( 'twentyten_content_width', 640 );
     4if ( ! isset( $content_width ) )
     5   $content_width = 640;
    56
    6 // Your Changeable header business starts here
    7 // No CSS, just IMG call
    8 define( 'HEADER_TEXTCOLOR', '');
    9 define( 'HEADER_IMAGE', '%s/images/header-1.jpg'); // %s is theme dir uri
    10 define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width',  940 ) );
    11 define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height',  198 ) );
    12 define( 'NO_HEADER_TEXT', true );
     7if ( ! function_exists( 'twentyten_init' ) ) :
     8function twentyten_init() {
     9        // Your Changeable header business starts here
     10        // No CSS, just IMG call
     11        define( 'HEADER_TEXTCOLOR', '');
     12        define( 'HEADER_IMAGE', '%s/images/header-1.jpg'); // %s is theme dir uri
     13        define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width',  940 ) );
     14        define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height',  198 ) );
     15        define( 'NO_HEADER_TEXT', true );
    1316
     17        add_custom_image_header( '', 'twentyten_admin_header_style' );
     18        // and thus ends the changeable header business
     19
     20        add_custom_background();
     21
     22        // This theme needs post thumbnails
     23        add_theme_support( 'post-thumbnails' );
     24
     25        // We'll be using them for custom header images on posts and pages
     26        // so we want them to be 940 pixels wide by 198 pixels tall (larger images will be auto-cropped to fit)
     27        set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
     28
     29        // Add default posts and comments RSS feed links to head.
     30        automatic_feed_links();
     31
     32        // Make theme available for translation
     33        // Translations can be filed in the /languages/ directory
     34        load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' );
     35
     36        $locale = get_locale();
     37        $locale_file = TEMPLATEPATH . "/languages/$locale.php";
     38        if ( is_readable( $locale_file ) )
     39                require_once( $locale_file );
     40}
     41endif;
     42add_action( 'init', 'twentyten_init' );
     43
     44if ( ! function_exists( 'twentyten_admin_header_style' ) ) :
    1445function twentyten_admin_header_style() {
    1546?>
    1647<style type="text/css">
     
    2455</style>
    2556<?php
    2657}
     58endif;
    2759
    28 add_custom_image_header( '', 'twentyten_admin_header_style' );
    29 // and thus ends the changeable header business
    30 
    31 add_custom_background();
    32 
    33 // This theme needs post thumbnails
    34 add_theme_support( 'post-thumbnails' );
    35 
    36 // We'll be using them for custom header images on posts and pages
    37 // so we want them to be 940 pixels wide by 198 pixels tall (larger images will be auto-cropped to fit)
    38 set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
    39 
    40 // Add default posts and comments RSS feed links to head.
    41 automatic_feed_links();
    42 
    43 // Make theme available for translation
    44 // Translations can be filed in the /languages/ directory
    45 load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' );
    46 
    47 $locale = get_locale();
    48 $locale_file = TEMPLATEPATH . "/languages/$locale.php";
    49 if ( is_readable($locale_file) )
    50         require_once( $locale_file );
    51 
    5260// Get the page number
    53 function twentyten_get_page_number() {
     61if ( ! function_exists( 'get_page_number' ) ) :
     62function get_page_number() {
    5463        if ( get_query_var('paged') )
    55                 echo ' | ' . __( 'Page ' , 'twentyten' ) . get_query_var('paged');
     64                return ' | ' . __( 'Page ' , 'twentyten') . get_query_var('paged');
    5665}
     66endif;
    5767
     68// Echo the page number
     69if ( ! function_exists( 'the_page_number' ) ) :
     70function the_page_number() {
     71        echo get_page_number();
     72}
     73endif;
     74
    5875// Control excerpt length
    59 function twentyten_new_excerpt_length( $length ) {
     76if ( ! function_exists( 'twentyten_excerpt_length' ) ) :
     77function twentyten_excerpt_length( $length ) {
    6078        return 40;
    6179}
    62 add_filter( 'excerpt_length', 'twentyten_new_excerpt_length' );
     80endif;
     81add_filter( 'excerpt_length', 'twentyten_excerpt_length' );
    6382
    6483
    6584// Make a nice read more link on excerpts
    66 function twentyten_new_excerpt_more($more) {
     85if ( ! function_exists( 'twentyten_excerpt_more' ) ) :
     86function twentyten_excerpt_more($more) {
    6787        return '&nbsp;&hellip; <a href="'. get_permalink() . '">' . 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>' . '</a>';
    6888}
    69 add_filter( 'excerpt_more', 'twentyten_new_excerpt_more' );
     89endif;
     90add_filter( 'excerpt_more', 'twentyten_excerpt_more' );
    7091
    7192
    7293// Template for comments and pingbacks
    73 function twentyten_list_comment( $comment, $args, $depth ) {
    74         $GLOBALS['comment'] = $comment; ?>
    75         <?php if ( '' == $comment->comment_type ) { ?>
     94if ( ! function_exists( 'twentyten_comment' ) ) :
     95function twentyten_comment( $comment, $args, $depth ) {
     96        $GLOBALS ['comment'] = $comment; ?>
     97        <?php if ( '' == $comment->comment_type ) : ?>
    7698        <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
    7799                <div id="comment-<?php comment_ID(); ?>">
    78100                <div class="comment-author vcard">
    79101                        <?php echo get_avatar( $comment, 40 ); ?>
    80                         <?php printf( __('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link() ); ?>
     102
     103                        <?php printf( __( '<cite class="fn">%s</cite> <span class="says">says:</span>' ), get_comment_author_link() ); ?>
    81104                </div>
    82105                <?php if ( $comment->comment_approved == '0' ) : ?>
    83                         <em><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em>
     106                        <em><?php _e( 'Your comment is awaiting moderation.' ); ?></em>
    84107                        <br />
    85108                <?php endif; ?>
    86109
    87                 <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()); ?></a><?php edit_comment_link(__('(Edit)', 'twentyten'),'  ',''); ?></div>
     110                <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf( __( '%1$s at %2$s' ), get_comment_date(),  get_comment_time() ) ?></a><?php edit_comment_link( __( '(Edit)' ),'  ','' ); ?></div>
    88111
    89112                <div class="comment-body"><?php comment_text(); ?></div>
    90113
    91114                <div class="reply">
    92                         <?php comment_reply_link( array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth'])) ); ?>
     115                        <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    93116                </div>
    94117        </div>
    95118
    96         <?php } else { ?>
     119        <?php else : ?>
    97120        <li class="post pingback">
    98                 <p><?php _e( 'Pingback: ', 'twentyten' ); ?><?php comment_author_link(); ?><?php edit_comment_link ( __('edit', 'twentyten'), '&nbsp;&nbsp;', '' ); ?></p>
    99         <?php }
     121                <p><?php _e( 'Pingback:' ); ?> <?php comment_author_link (); ?><?php edit_comment_link( 'edit', '&nbsp;&nbsp;', '' ); ?></p>
     122        <?php endif;
    100123}
     124endif;
    101125
    102126// Make the Visual Editor styles match the theme's styles
    103 function twentyten_my_editor_style( $url ) {
    104         if ( !empty($url) )
     127if ( ! function_exists( 'twentyten_editor_style' ) ) :
     128function twentyten_editor_style( $url ) {
     129        if ( ! empty( $url ) )
    105130                $url .= ',';
    106131
    107132        // Change the path here if using sub-directory
     
    109134
    110135        return $url;
    111136}
    112 add_filter( 'mce_css', 'twentyten_my_editor_style' );
     137endif;
     138add_filter( 'mce_css', 'twentyten_editor_style' );
    113139
    114 
    115140// Remove inline styles on gallery shortcode
     141if ( ! function_exists( 'twentyten_remove_gallery_css' ) ) :
    116142function twentyten_remove_gallery_css() {
    117         return "<div class='gallery'>";
     143        return "\t\t<div class='gallery'>\n\t\t";
    118144}
     145endif;
    119146add_filter( 'gallery_style', 'twentyten_remove_gallery_css' );
    120147
     148if ( ! function_exists( 'twentyten_cat_list' ) ) :
    121149function twentyten_cat_list() {
    122150        return twentyten_term_list('category', ', ', __('Posted in %s', 'twentyten'), __('Also posted in %s', 'twentyten') );
    123151}
     152endif;
     153
     154if ( ! function_exists( 'twentyten_tag_list' ) ) :
    124155function twentyten_tag_list() {
    125156        return twentyten_term_list('post_tag', ', ', __('Tagged %s', 'twentyten'), __('Also tagged %s', 'twentyten') );
    126157}
     158endif;
     159
     160if ( ! function_exists( 'twentyten_term_list' ) ) :
    127161function twentyten_term_list($taxonomy, $glue = ', ', $text = '', $also_text = '') {
    128162        global $wp_query, $post;
    129163        $current_term = $wp_query->get_queried_object();
     
    149183                return sprintf($text, join($glue, $tlist));
    150184        return '';
    151185}
     186endif;
    152187
    153188// Register widgetized areas
     189if ( ! function_exists( 'twentyten_widgets_init' ) ) :
    154190function twentyten_widgets_init() {
    155191        // Area 1
    156         register_sidebar( array(
     192        register_sidebar( array (
    157193                'name' => 'Primary Widget Area',
    158194                'id' => 'primary-widget-area',
    159195                'description' => __( 'The primary widget area' , 'twentyten' ),
     
    164200        ) );
    165201
    166202        // Area 2
    167         register_sidebar( array(
     203        register_sidebar( array (
    168204                'name' => 'Secondary Widget Area',
    169205                'id' => 'secondary-widget-area',
    170206                'description' => __( 'The secondary widget area' , 'twentyten' ),
     
    175211        ) );
    176212
    177213        // Area 3
    178         register_sidebar( array(
     214        register_sidebar( array (
    179215                'name' => 'First Footer Widget Area',
    180216                'id' => 'first-footer-widget-area',
    181217                'description' => __( 'The first footer widget area' , 'twentyten' ),
     
    186222        ) );
    187223
    188224        // Area 4
    189         register_sidebar( array(
     225        register_sidebar( array (
    190226                'name' => 'Second Footer Widget Area',
    191227                'id' => 'second-footer-widget-area',
    192228                'description' => __( 'The second footer widget area' , 'twentyten' ),
     
    197233        ) );
    198234
    199235        // Area 5
    200         register_sidebar( array(
     236        register_sidebar( array (
    201237                'name' => 'Third Footer Widget Area',
    202238                'id' => 'third-footer-widget-area',
    203239                'description' => __( 'The third footer widget area' , 'twentyten' ),
     
    208244        ) );
    209245
    210246        // Area 6
    211         register_sidebar( array(
     247        register_sidebar( array (
    212248                'name' => 'Fourth Footer Widget Area',
    213249                'id' => 'fourth-footer-widget-area',
    214250                'description' => __( 'The fourth footer widget area' , 'twentyten' ),
     
    218254                'after_title' => '</h3>',
    219255        ) );
    220256
    221 } // end theme_widgets_init
    222 
    223 // Add all the groovy widget areas
     257}
     258endif;
    224259add_action( 'init', 'twentyten_widgets_init' );
  • wp-content/themes/twentyten/header.php

     
    55        if ( is_single() ) {
    66                        single_post_title(); echo ' | '; bloginfo('name');
    77                } elseif ( is_home() || is_front_page() ) {
    8                         bloginfo('name'); echo ' | '; bloginfo('description'); twentyten_get_page_number();
     8                        bloginfo('name'); echo ' | '; bloginfo('description'); the_page_number();
    99                } elseif ( is_page() ) {
    1010                        single_post_title(''); echo ' | '; bloginfo('name');
    1111                } elseif ( is_search() ) {
    12                         printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); twentyten_get_page_number(); echo ' | '; bloginfo('name');
     12                        printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); the_page_number(); echo ' | '; bloginfo('name');
    1313                } elseif ( is_404() ) {
    1414                        _e('Not Found', 'twentyten'); echo ' | '; bloginfo('name');
    1515                } else {
    16                         wp_title(''); echo ' | '; bloginfo('name'); twentyten_get_page_number();
     16                        wp_title(''); echo ' | '; bloginfo('name'); the_page_number();
    1717                }
    1818    ?></title>
    1919
     
    2424        <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" />
    2525
    2626        <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
     27
    2728        <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
     29
    2830        <?php wp_head(); ?>
    2931</head>
    3032
     
    3537                <div id="masthead">
    3638
    3739                        <div id="branding">
    38                                 <div id="site-title"><span><a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div>
    39                                 <div id="site-description"><?php bloginfo( 'description' ); ?></div>
     40                                <div id="site-title"><span><a href="<?php bloginfo( 'url' ) ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ) ?></a></span></div>
     41                                <div id="site-description"><?php bloginfo( 'description' ) ?></div>
    4042
    4143                                <?php
    42                                 if ( is_singular() && has_post_thumbnail( $post->ID ) ) {
    43                                         echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
    44                                 } else { ?>
     44                                        global $post;
     45                                        if ( is_singular() && has_post_thumbnail( $post->ID ) ) {
     46                                                echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
     47                                        } else { ?>
    4548                                        <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
    4649                                <?php } ?>
    4750                        </div><!-- #branding -->
    4851
    4952                        <div id="access">
    50                                 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
     53                                <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ) ?>"><?php _e( 'Skip to content', 'twentyten' ) ?></a></div>
    5154                                <?php wp_page_menu( 'sort_column=menu_order' ); ?>
    5255                        </div><!-- #access -->
    5356
  • wp-content/themes/twentyten/attachment.php

     
    55
    66<?php the_post(); ?>
    77
    8                                 <p class="page-title"><a href="<?php echo get_permalink($post->post_parent); ?>" title="<?php printf( esc_attr__( 'Return to %s', 'twentyten' ), esc_html( get_the_title($post->post_parent), 1 ) ); ?>" rel="gallery">&larr; <?php echo get_the_title($post->post_parent); ?></a></p>
     8                                <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ) ?>" title="<?php printf( esc_attr__( 'Return to %s', 'twentyten' ), esc_html( get_the_title( $post->post_parent ), 1 ) ) ?>" rel="gallery">&larr; <?php echo get_the_title( $post->post_parent ) ?></a></p>
    99
    1010                                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1111                                        <h2 class="entry-title"><?php the_title(); ?></h2>
     
    1313                                        <div class="entry-meta">
    1414                                                <span class="meta-prep meta-prep-author"><?php _e( 'By ', 'twentyten' ); ?></span>
    1515                                                <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta('ID') ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    16                                                 <span class="meta-sep"><?php _e( ' | ', 'twentyten' ); ?></span>
    17                                                 <span class="meta-prep meta-prep-entry-date"><?php _e( 'Published ', 'twentyten' ); ?></span>
    18                                                 <span class="entry-date"><abbr class="published" title="<?php the_time() ?>"><?php echo get_the_date(); ?></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" ); ?>
     16                                                <span class="meta-sep"> | </span>
     17                                                <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'twentyten'); ?></span>
     18                                                <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php echo get_the_date(); ?></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" ) ?>
    2020                                        </div><!-- .entry-meta -->
    2121
    2222                                        <div class="entry-content">
    2323                                                <div class="entry-attachment">
    24                                                 <?php if ( wp_attachment_is_image() ) : ?>
    25                                                         <p class="attachment"><a href="<?php echo wp_get_attachment_url(); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php
    26                                                                 echo wp_get_attachment_image( $post->ID, array($content_width, $content_width) ); // max $content_width wide or high.
    27                                                         ?></a></p>
     24<?php if ( wp_attachment_is_image( $post->ID ) ) : ?>
     25                                                <p class="attachment"><a href="<?php echo wp_get_attachment_url( $post->ID ); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php
     26                                                        echo wp_get_attachment_image( $post->ID, array( $content_width, $content_width ) ); // max $content_width wide or high.
     27                                                ?></a></p>
    2828
    29                                                         <div id="nav-below" class="navigation">
    30                                                                 <div class="nav-previous"><?php previous_image_link( false ); ?></div>
    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(); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php echo basename(get_permalink()); ?></a>
    35                                                 <?php endif; ?>
     29
     30                                <div id="nav-below" class="navigation">
     31                                        <div class="nav-previous"><?php previous_image_link( false ); ?></div>
     32                                        <div class="nav-next"><?php next_image_link( false ); ?></div>
     33                                </div><!-- #nav-below -->
     34<?php else : ?>
     35                                                <a href="<?php echo wp_get_attachment_url( $post->ID ) ?>" title="<?php echo esc_attr( get_the_title( $post->ID ) ); ?>" rel="attachment"><?php echo basename( get_permalink() ) ?></a>
     36<?php endif; ?>
    3637                                                </div>
    37                                                 <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?></div>
     38                                                <div class="entry-caption"><?php if ( ! empty( $post->post_excerpt ) ) the_excerpt() ?></div>
    3839
    39                                                 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    40                                                 <?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?>
     40<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
     41<?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ) ?>
    4142
    4243                                        </div><!-- .entry-content -->
    4344
     
    4748                                                get_the_tag_list( __( ' and tagged ', 'twentyten' ), ', ', '' ),
    4849                                                get_permalink(),
    4950                                                the_title_attribute('echo=0'),
    50                                                 get_post_comments_feed_link() ); ?>
     51                                                get_post_comments_feed_link() ) ?>
    5152
    5253<?php if ( comments_open() && pings_open() ) : // Comments and trackbacks open ?>
    53                                                 <?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ); ?>
     54                                                <?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ) ?>
    5455<?php elseif ( !comments_open() && pings_open() ) : // Only trackbacks open ?>
    55                                                 <?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ); ?>
     56                                                <?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyten' ), get_trackback_url() ) ?>
    5657<?php elseif ( comments_open() && !pings_open() ) : // Only comments open ?>
    57                                                 <?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'twentyten' ); ?>
     58                                                <?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'twentyten' ) ?>
    5859<?php elseif ( !comments_open() && !pings_open() ) : // Comments and trackbacks closed ?>
    59                                                 <?php _e( 'Both comments and trackbacks are currently closed.', 'twentyten' ); ?>
     60                                                <?php _e( 'Both comments and trackbacks are currently closed.', 'twentyten' ) ?>
    6061<?php endif; ?>
    61 <?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ); ?>
     62<?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
    6263                                        </div><!-- .entry-utility -->
    6364                                </div><!-- #post-<?php the_ID(); ?> -->
    6465
     
    6869                </div><!-- #container -->
    6970
    7071<?php get_sidebar(); ?>
    71 <?php get_footer(); ?>
    72  No newline at end of file
     72<?php get_footer(); ?>