Changeset 6305

Show
Ignore:
Timestamp:
08/19/06 06:41:33 (2 years ago)
Author:
GamerZ
Message:

Remove HTML Comments

Files:

Legend:

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

    r6304 r6305  
    504504      if(empty($comment_author)) { 
    505505            // General Stats 
    506             $temp_stats .= '<!-- General Stats -->'."\n"; 
    507506            $temp_stats .= '<h2 class="pagetitle">General Stats</h2>'."\n"; 
    508507            $temp_stats .= '<p><b>Total Stats</b></p>'."\n"; 
     
    517516 
    518517            // Plugin Stats 
    519             $temp_stats .= '<!-- Plugin Stats -->'."\n"; 
    520518            $temp_stats .= '<h2 class="pagetitle">Plugins Stats</h2>'."\n"; 
    521519 
    522520            // WP-EMail Stats        
    523521            if(function_exists('wp_email')) { 
    524                   $temp_stats .= '<!-- WP-EMail Stats -->'."\n"; 
    525522                  $temp_stats .= '<p><b>WP-EMail</b></p>'."\n"; 
    526523                  $temp_stats .= '<ul>'."\n"; 
     
    533530            // WP-Polls Stats        
    534531            if(function_exists('get_poll')) { 
    535                   $temp_stats .= '<!-- WP-Polls Stats -->'."\n"; 
    536532                  $temp_stats .= '<p><b>WP-Polls</b></p>'."\n"; 
    537533                  $temp_stats .= '<ul>'."\n"; 
     
    544540            // WP-PostRatings Stats        
    545541            if(function_exists('the_ratings')) { 
    546                   $temp_stats .= '<!-- WP-PostRatings Stats -->'."\n"; 
    547542                  $temp_stats .= '<p><b>WP-PostRatings</b></p>'."\n"; 
    548543                  $temp_stats .= '<ul>'."\n"; 
     
    554549            // WP-PostViews Stats          
    555550            if(function_exists('the_views')) { 
    556                   $temp_stats .= '<!-- WP-PostViews Stats -->'."\n"; 
    557551                  $temp_stats .= '<p><b>WP-PostViews</b></p>'."\n"; 
    558552                  $temp_stats .= '<ul>'."\n"; 
     
    563557            // WP-UserOnline Stats         
    564558            if(function_exists('useronline')) { 
    565                   $temp_stats .= '<!-- WP-UserOnline Stats -->'."\n"; 
    566559                  $temp_stats .= '<p><b>WP-UserOnline</b></p>'."\n"; 
    567560                  $temp_stats .= '<ul>'."\n"; 
     
    573566             
    574567            // Top 10 Stats 
    575             $temp_stats .= '<!-- Top 10 Stats-->'."\n"; 
    576568            $temp_stats .= '<h2 class="pagetitle">Top 10 Stats</h2>'."\n"; 
    577569 
    578570            // 10 Recent Posts 
    579             $temp_stats .= '<!-- 10 Recent Posts -->'."\n"; 
    580571            $temp_stats .= '<p><b>10 Recent Posts</b></p>'."\n"; 
    581572            $temp_stats .= '<ul>'."\n"; 
     
    584575             
    585576            // 10 Recent Comments 
    586             $temp_stats .= '<!-- 10 Recent Comments -->'."\n"; 
    587577            $temp_stats .= '<p><b>10 Recent Comments</b></p>'."\n"; 
    588578            $temp_stats .= '<ul>'."\n"; 
     
    591581 
    592582            // 10 Most Commented Post 
    593             $temp_stats .= '<!-- 10 Most Commented Post -->'."\n"; 
    594583            $temp_stats .= '<p><b>10 Most Commented Post</b></p>'."\n"; 
    595584            $temp_stats .= '<ul>'."\n"; 
     
    599588            // WP-EMail (10 Most EMailed Post) 
    600589            if(function_exists('wp_email')) { 
    601                   $temp_stats .= '<!-- WP-EMail (10 Most EMailed Post) -->'."\n"; 
    602590                  $temp_stats .= '<p><b>10 Most Emailed Post</b></p>'."\n"; 
    603591                  $temp_stats .= '<ul>'."\n"; 
     
    608596            // WP-PostRatings (10 Highest Rated Post) (10 Most Rated Post) 
    609597            if(function_exists('the_ratings')) { 
    610                   $temp_stats .= '<!-- WP-PostRatings (10 Highest Rated Post) -->'."\n"; 
    611598                  $temp_stats .= '<p><b>10 Highest Rated Post</b></p>'."\n"; 
    612599                  $temp_stats .= '<ul>'."\n"; 
    613600                  $temp_stats .= get_highest_rated('', 10, 0, false); 
    614601                  $temp_stats .= '</ul>'."\n"; 
    615                    
    616                   $temp_stats .= '<!-- WP-PostRatings (10 Most Rated Post) -->'."\n"; 
    617602                  $temp_stats .= '<p><b>10 Most Rated Post</b></p>'."\n"; 
    618603                  $temp_stats .= '<ul>'."\n"; 
     
    623608            // WP-PostViews (10 Most Viewed Post) 
    624609            if(function_exists('the_views')) { 
    625                   $temp_stats .= '<!-- WP-PostViews (10 Most Viewed Post) -->'."\n"; 
    626610                  $temp_stats .= '<p><b>10 Most Viewed Post</b></p>'."\n"; 
    627611                  $temp_stats .= '<ul>'."\n"; 
     
    631615             
    632616            // Author Stats 
    633             $temp_stats .= '<!-- Author Stats -->'."\n"; 
    634617            $temp_stats .= '<h2 class="pagetitle">Authors Stats</h2>'."\n"; 
    635618            $temp_stats .= '<p><b>Authors</b></p>'."\n"; 
     
    639622             
    640623            // Comments' Members Stats 
    641             $temp_stats .= '<!-- Comments\' Members Stats -->'."\n"; 
    642624            $temp_stats .= '<h2 class="pagetitle">Comments\' Members Stats</h2>'."\n"; 
    643625            $temp_stats .= '<p><b>Comment Members</b></p>'."\n"; 
     
    647629             
    648630            // Misc Stats 
    649             $temp_stats .= '<!-- Misc Stats -->'."\n"; 
    650631            $temp_stats .= '<h2 class="pagetitle">Misc Stats</h2>'."\n"; 
    651632 
    652633            // Post Categories 
    653             $temp_stats .= '<!-- Post Categories -->'."\n"; 
    654634            $temp_stats .= '<p><b>Post Categories</b></p>'."\n"; 
    655635            $temp_stats .= '<ul>'."\n"; 
     
    658638 
    659639            // Link Categories 
    660             $temp_stats .= '<!-- Link Categories -->'."\n"; 
    661640            $temp_stats .= '<p><b>Link Categories</b></p>'."\n"; 
    662641            $temp_stats .= '<ul>'."\n";