Changeset 1254
- Timestamp:
- 02/11/2015 07:08:22 PM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php
r1253 r1254 24 24 <div class="hentry"> 25 25 <h3 class="theme-name entry-title"><?php the_title(); ?></h3> 26 <span class="theme-version">27 <?php28 printf( __( 'Version: %s' ),29 sprintf( '<abbr title="%1$s">%2$s</abbr>',30 esc_attr( sprintf( __( 'Last updated: %s' ), date_i18n( get_option( 'date_format' ), strtotime( $theme->last_updated ) ) ) ),31 $theme->version32 )33 );34 ?>35 </span>36 26 <h4 class="theme-author"><?php printf( __( 'By %s' ), sprintf( '<a href="https://profiles.wordpress.org/%s"><span class="author">%s</span><a/>', $theme->author ) ); ?></h4> 37 27 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css
r1249 r1254 233 233 } 234 234 235 .theme-version abbr {236 border-bottom: 1px dotted #666;237 cursor: help;238 }239 240 235 /* Single View */ 241 236 .single .theme-wrap { … … 272 267 margin: 10px 0 0; 273 268 line-height: 1.3; 274 }275 276 .single .theme-wrap .theme-version {277 color: #999;278 font-size: 13px;279 font-weight: 400;280 float: none;281 display: inline-block;282 margin-left: 10px;283 -webkit-user-select: none;284 -moz-user-select: none;285 -ms-user-select: none;286 user-select: none;287 269 } 288 270 … … 797 779 } 798 780 799 . hentry{781 .page { 800 782 margin: 30px auto; 801 783 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php
r1253 r1254 31 31 <div class="theme hentry"> 32 32 <h3 class="theme-name entry-title">{{{ data.name }}}</h3> 33 <span class="theme-version">34 <?php printf( __( 'Version: %s' ), sprintf( '<abbr title="%1$s">%2$s</abbr>', esc_attr( sprintf( __( 'Last updated: %s' ), '{{ new Date(data.last_updated).toLocaleDateString() }}' ) ), '{{{ data.version }}}' ) ); ?>35 </span>36 33 <h4 class="theme-author"><?php printf( __( 'By %s' ), '<a href="https://profiles.wordpress.org/{{ data.author }}"><span class="author">{{{ data.author }}}</span></a>' ); ?></h4> 37 34
Note: See TracChangeset
for help on using the changeset viewer.