Changeset 6115

Show
Ignore:
Timestamp:
06/09/06 10:58:54 (2 years ago)
Author:
GamerZ
Message:

XHTML Fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-stats/trunk/stats/stats-widget.php

    r6114 r6115  
    4747                  if(!empty($stats_total_options)) { 
    4848                        echo '<ul>'."\n"; 
    49                         echo '<li><b>Total Stats</b/></li>'."\n"; 
     49                        echo '<li><b>Total Stats</b></li>'."\n"; 
    5050                        echo '<li>'."\n"; 
    5151                        echo '<ul>'."\n"; 
     
    8181                  if($stats_most_options['comments'] == 1) { 
    8282                        echo '<ul>'."\n"; 
    83                         echo '<li><b>'.$limit.' Most Commented</b/></li>'."\n"; 
     83                        echo '<li><b>'.$limit.' Most Commented</b></li>'."\n"; 
     84                        echo '<li>'."\n"; 
    8485                        echo '<ul>'."\n"; 
    8586                        get_mostcommented('', $limit, $chars); 
     
    9192                  if($stats_most_options['emails'] == 1) { 
    9293                        echo '<ul>'."\n"; 
    93                         echo '<li><b>'.$limit.' Most Emailed</b/></li>'."\n"; 
     94                        echo '<li><b>'.$limit.' Most Emailed</b></li>'."\n"; 
     95                        echo '<li>'."\n"; 
    9496                        echo '<ul>'."\n"; 
    9597                        get_mostemailed('', $limit, $chars); 
     
    101103                  if($stats_most_options['ratings_highest'] == 1) { 
    102104                        echo '<ul>'."\n"; 
    103                         echo '<li><b>'.$limit.' Highest Rated</b/></li>'."\n"; 
     105                        echo '<li><b>'.$limit.' Highest Rated</b></li>'."\n"; 
     106                        echo '<li>'."\n"; 
    104107                        echo '<ul>'."\n"; 
    105108                        get_highest_rated('', $limit, $chars); 
     
    111114                  if($stats_most_options['ratings_highest'] == 1) { 
    112115                        echo '<ul>'."\n"; 
    113                         echo '<li><b>'.$limit.' Most Rated</b/></li>'."\n"; 
     116                        echo '<li><b>'.$limit.' Most Rated</b></li>'."\n"; 
     117                        echo '<li>'."\n"; 
    114118                        echo '<ul>'."\n"; 
    115119                        get_most_rated('', $limit, $chars); 
     
    121125                  if($stats_most_options['views'] == 1) { 
    122126                        echo '<ul>'."\n"; 
    123                         echo '<li><b>'.$limit.' Most Viewed</b/></li>'."\n"; 
     127                        echo '<li><b>'.$limit.' Most Viewed</b></li>'."\n"; 
     128                        echo '<li>'."\n"; 
    124129                        echo '<ul>'."\n"; 
    125130                        get_most_viewed('', $limit, $chars); 
     
    131136                        echo '<ul>'."\n"; 
    132137                        echo '<li><a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php">My Blog Statistics</a></li>'."\n"; 
    133                         echo '</li>'."\n"; 
    134138                        echo '</ul>'."\n"; 
    135139                  } 
  • wp-stats/trunk/stats/wp-stats.php

    r6114 r6115  
    222222                                    <?php 
    223223                                          if($page > 1 && ((($page*$perpage)-($perpage-1)) < $totalcomments)) { 
    224                                                 echo '<p><b>&laquo;</b> <a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page-1).'">Previous Page</a></p>'
     224                                                echo '<b>&laquo;</b> <a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page-1).'" title="&laquo; '.__('Previous Page').'">'.__('Previous Page').'</a>'."\n"
    225225                                          } else { 
    226                                                 echo '<p>&nbsp;</p>'
     226                                                echo '&nbsp;'."\n"
    227227                                          } 
    228228                                    ?> 
     
    231231                                    <?php 
    232232                                          if($page >= 1 && ((($page*$perpage)+1) <  $totalcomments)) { 
    233                                                 echo '<p><a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page+1).'">Next page</a> <b>&raquo;</b></p>'
     233                                                echo '<a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page+1).'" title="'.__('Next Page').' &raquo;">'.__('Next Page').'</a> <b>&raquo;</b>'."\n"
    234234                                          } else { 
    235                                                 echo '<p>&nbsp;</p>'
     235                                                echo '&nbsp;'."\n"
    236236                                          } 
    237237                                    ?> 
    238238                              </span> 
    239239                        </p> 
    240                         <br style="clear: both"
     240                        <br style="clear: both" /
    241241                        <p align="center"> 
    242                               Pages (<?php echo $totalpages; ?>)
     242                              Pages (<?php echo $totalpages; ?>)
    243243                              <?php 
    244244                                    if ($page >= 4) { 
    245                                           echo '<a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'">&laquo; First</a> ... '
     245                                          echo '<a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'" title="'.__('Go to First Page').'">&laquo; '.__('First').'</a></b> ... '."\n"
    246246                                    } 
    247247                                    if($page > 1) { 
    248                                           echo ' <a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page-1).'">&laquo;</a> '
     248                                          echo ' <a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page-1).'" title="&laquo; '.__('Go to Page').' '.($page-1).'">&laquo;</a></b> '."\n"
    249249                                    } 
    250250                                    for($i = $page - 2 ; $i  <= $page +2; $i++) { 
    251251                                          if ($i >= 1 && $i <= $totalpages) { 
    252252                                                if($i == $page) { 
    253                                                       echo " [$i] "; 
     253                                                      echo "<b>[$i]</b> "."\n"; 
    254254                                                } else { 
    255                                                       echo '<a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.$i.'">'.$i.'</a> '
     255                                                      echo '<a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.$i.'" title="'.__('Page').' '.$i.'">'.$i.'</a> '."\n"
    256256                                                } 
    257257                                          } 
    258258                                    } 
    259259                                    if($page < $totalpages) { 
    260                                           echo ' <a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page+1).'">&raquo;</a> '
     260                                          echo ' <b><a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.($page+1).'" title="'.__('Go to Page').' '.($page+1).' &raquo;">&raquo;</a></b> '."\n"
    261261                                    } 
    262262                                    if (($page+2) < $totalpages) { 
    263                                           echo ' ... <a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.$totalpages.'">Last &raquo;</a>'
     263                                          echo ' ... <b><a href="'.get_settings('siteurl').'/wp-content/plugins/stats/wp-stats.php?author='.$comment_author_link.'&amp;page='.$totalpages.'" title="'.__('Go to Last Page').'">'.__('Last').' &raquo;</a></b>'."\n"
    264264                                    } 
    265265                              ?> 
     
    268268                  } 
    269269            ?> 
    270             <p><b>&laquo;&laquo;</b> <a href="<?php get_settings('siteurl'); ?>/wp-content/plugins/stats/wp-stats.php">Back To Stats Page</a></p> 
     270            <p><b>&laquo;&laquo;</b> <a href="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/stats/wp-stats.php">Back To Stats Page</a></p> 
    271271<?php 
    272272      } // End If