Changeset 902
- Timestamp:
- 10/11/2014 05:01:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-component.php
r329 r902 20 20 21 21 the_content(); 22 ?> 23 <p id="toggle-compact-components"><label><input type="checkbox" /> Expanded view</label></p> 24 <?php if ( have_posts() ) : ?> 22 if ( have_posts() ) : 23 echo '<table>'; 24 while ( have_posts() ) : the_post(); 25 do_action( 'component_table_row', get_post() ); 26 endwhile; 27 echo '</table>'; 28 endif; 25 29 26 <?php while ( have_posts() ) : the_post(); ?>27 <div class="component-info">28 <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>29 <?php the_content(); ?>30 </div>31 <?php endwhile; ?>32 33 <?php endif; ?>34 <?php35 30 $cache = ob_get_clean(); 36 31 set_transient( 'trac_components_page', $cache, 300 ); 37 32 echo $cache; 38 33 } 39 34 ?> 40 35 41 36 </div> <!-- main -->
Note: See TracChangeset
for help on using the changeset viewer.