Changeset 132

Show
Ignore:
Timestamp:
09/20/07 08:38:51 (1 year ago)
Author:
zamoose
Message:

First attempt at making the Now Reading library look less craptastic.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/functions.php

    r129 r132  
    114114} 
    115115 
     116//add_theme_page($themename . 'Header Options', 'Header Options', 'edit_themes', basename(__FILE__), 'headimage_admin'); 
     117 
     118function headimage_admin(){ 
     119         
     120} 
     121 
    116122function mytheme_admin() { 
    117123 
  • trunk/now-reading/author.php

    r62 r132  
    1919                <h2>Books by <?php the_book_author() ?></h2> 
    2020                 
    21                 <?php if( have_books("author={$GLOBALS['nr_author']}") ) : ?> 
     21                <?php if( have_books("author={$GLOBALS['nr_author']}&num=-1") ) : ?> 
    2222                         
    2323                        <ul> 
    2424                         
    25                         <?php while( have_books("author={$GLOBALS['nr_author']}") ) : the_book(); ?> 
     25                        <?php while( have_books("author={$GLOBALS['nr_author']}&num=-1") ) : the_book(); ?> 
    2626                                 
    2727                                <li> 
  • trunk/now-reading/library.php

    r62 r132  
    11<?php get_header() ?> 
    22 
    3 <div class="content"> 
     3<div class="wrapper"> 
    44         
    55        <div id="content" class="now-reading primary narrowcolumn"> 
    6          
    7         <div class="post"> 
    8                  
     6                <div class="wppost">     
    97                <?php if( can_now_reading_admin() ) : ?> 
    108                         
     
    8179                 
    8280                <?php do_action('nr_footer'); ?> 
     81 
     82                </div> 
    8383                 
    84         </div> 
    85          
    8684        </div> 
    8785         
  • trunk/now-reading/sidebar.php

    r62 r132  
     1<div class="now-reading"> 
     2         
    13        <h3>Planned books:</h3> 
    24         
     
    6466        <p><a href="<?php library_url() ?>">View full Library</a></p> 
    6567         
     68</div> 
  • trunk/now-reading/tag.php

    r62 r132  
    1919        <p>Viewing books tagged with &ldquo;<?php the_tag(); ?>&rdquo;:</p> 
    2020         
    21         <?php if( have_books("tag={$GLOBALS['nr_tag']}") ) : ?> 
     21        <?php if( have_books("tag={$GLOBALS['nr_tag']}&num=-1") ) : ?> 
    2222                 
    2323                <ul> 
    2424                 
    25                 <?php while( have_books("tag={$GLOBALS['nr_tag']}") ) : the_book(); ?> 
     25                <?php while( have_books("tag={$GLOBALS['nr_tag']}&num=-1") ) : the_book(); ?> 
    2626                         
    2727                        <li><a href="<?php book_permalink() ?>"><?php book_title() ?></a> by <a href="<?php book_author_permalink() ?>"><?php book_author() ?></a></li> 
  • trunk/styles/default.css

    r131 r132  
    443443        text-decoration: none; 
    444444} 
     445 
     446.now-reading ul{ 
     447        list-style: none; 
     448}