Show
Ignore:
Timestamp:
05/21/08 15:27:00 (8 months ago)
Author:
aarkerio
Message:

New Try

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/comments/admin_listing.ctp

    r358 r541  
    66echo $html->div('title_section', 'Comments on your Blog'); 
    77 
    8 foreach ($data as $val)  
    9 { 
    10   $tmp  = $html->link($val['Entry']['title'], '/users/entry/'. $cU['User']['username'] . '/'.$val['Entry']['id']) . '<br />'; 
    11   $tmp .= $val['Comment']['created'].' <b>'.$val['Comment']['username'].' wrote:</b><br />'; 
    12   $tmp .= $html->para(null, $val['Comment']['comment']); 
    13   $tmp .= $gags->confirmDel($val['Comment']['id'], 'Comment'); 
    14   echo $html->div(null, $tmp); 
    15 } 
     8foreach ($data as $val): 
     9   $tmp  = $html->link($val['Entry']['title'], '/users/entry/'.$session->read('Auth.User.username').'/'.$val['Entry']['id']) . '<br />'; 
     10   $tmp .= $val['Comment']['created'].' <b>'.$val['Comment']['username'].' wrote:</b><br />'; 
     11   $tmp .= $html->para(null, $val['Comment']['comment']); 
     12   $tmp .= $gags->confirmDel($val['Comment']['id'], 'Comment'); 
     13   echo $html->div(null, $tmp); 
     14endforeach; 
    1615?>  
    1716