Changeset 323 for trunk/app/views/forums

Show
Ignore:
Timestamp:
03/18/08 20:26:59 (9 months ago)
Author:
aarkerio
Message:

New model

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/forums/display.ctp

    r322 r323  
    3131         $tr = array ( 
    3232         $html->image('static/folder.gif'),  
    33          $html->link($val['subject'], '/forums/discussion/'.$data['Forum']['user_id'].'/'.$val['forum_id'].'/'.$val['id']), 
     33         $html->link($val['subject'], '/topics/display/'.$data['Forum']['user_id'].'/'.$val['forum_id'].'/'.$val['id']), 
    3434                   count($data["Topic"]), 
    3535                   $val["User"]["username"], 
    3636                   $val['views'], 
    3737                   '<span style="font-size:6pt">'.$time->timeAgoInWords($val["created"]) .'</span>' 
    38                  );  
     38                 ); 
    3939                
    4040               echo $html->tableCells($tr, array("style"=>"border:1px solid gray;padding:6px;background-color:#e8f6fe"),