Changeset 1199

Show
Ignore:
Timestamp:
07/12/07 16:35:09 (1 year ago)
Author:
icewing
Message:

Marcus Povey <marcus@dushka.co.uk>
* New style comment wall displayed on profile if installed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/profile/index.php

    r1046 r1199  
    4141        // $id_block_fields = array('gender','town','country','birth_date'); 
    4242 
     43         
    4344        // Cycle through all defined profile detail fields and display them 
    4445 
     
    106107                                                           ) 
    107108                                   ); 
    108         $run_result .= '</div>'."\n".'<div class="profile_secondary">'."\n"; 
     109        $run_result .= '</div>'."\n";         
     110        $run_result .= '<div class="profile_secondary">'."\n"; 
     111         
    109112        $run_result .= $secondcol; 
    110113        $run_result .= "</div>\n"; 
    111114        $run_result .= '<div class="profile_main_bottom"></div>'."</div>\n"; 
     115 
     116                 
     117        // Draw the user's comment wall 
     118                if (function_exists("commentwall_init")) { 
     119                        $offset = optional_param('offset', 0); 
     120                        $limit = optional_param('limit', 5); 
     121                        $run_result .= commentwall_displayonprofile($page_owner, $limit, $offset);  
     122                }   
    112123         
    113124        $view = array();