Show
Ignore:
Timestamp:
04/01/08 15:19:30 (9 months ago)
Author:
aarkerio
Message:

My monday work

Files:
1 modified

Legend:

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

    r269 r358  
    11<?php  
    2   echo $html->addCrumb('Control Tools', '/admin/entries/start');  
    3   echo $html->addCrumb('Comments', '/admin/comments/listing');  
    4   echo $html->getCrumbs(' / ');  
    5 ?> 
    6  
    7 <div class="title_section"> Comments on your Blog </div> 
    8 <?php 
     2echo $html->addCrumb('Control Tools', '/admin/entries/start');  
     3echo $html->addCrumb('Comments', '/admin/comments/listing');  
     4echo $html->getCrumbs(' / ');  
     5   
     6echo $html->div('title_section', 'Comments on your Blog'); 
    97 
    108foreach ($data as $val)  
    119{ 
    12    echo '<div style="border:1px dotted gray;padding:4px;margin:2px">'; 
    13         echo $html->link($val['Entry']['title'], '/users/entry/'. $othAuth->user('username') . '/'.$val['Entry']['id']) . '<br />'; 
    14         echo $val['Comment']['created'].' <b>'.$val['Comment']['username'].' wrote:</b><br />'; 
    15         echo '<p>'.$val['Comment']['comment'] . '</p>'; 
    16         echo '<p>'. $gags->sendEdit($val['Comment']['id'], 'comments') . '   '. $gags->confirmDel($val['Comment']['id'], 'comments') .'</p>'; 
    17    echo '</div>'; 
     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); 
    1815} 
    1916?>