Show
Ignore:
Timestamp:
09/05/07 19:08:37 (15 months ago)
Author:
aarkerio
Message:

Update

Files:
1 modified

Legend:

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

    r70 r77  
    1  
    21<?php  
    3   echo $html->addCrumb('Control Tools', '/entries/index');  
    4   echo $html->addCrumb('Comments', '/webquests/listing');  
     2  echo $html->addCrumb('Control Tools', '/admin/entries/start');  
     3  echo $html->addCrumb('Comments', '/admin/comments/listing');  
    54  echo $html->getCrumbs(' / ');  
    65?> 
    7  
    8 <div class="title_section"> Comment </div> 
    9  
    10 <p><a href="/webquest/add"><img src="/img/actions/new.png" alt="Add new webquest" title="Add new webquest" /></a></p> 
     6<div class="title_section"> Comments on your Blog </div> 
    117<?php 
    128 
    13 foreach ($data as $key => $val)  
     9foreach ($data as $val)  
    1410{ 
    15         echo '<p><b>'.$data[$key]['Comment']['title'].'</b></p>'; 
    16         echo '<p>'.$data[$key]['Comment']['conclusion'] . '</p><hr />'; 
    17         echo '<p><a href="/comments/edit/'.$data[$key]['Comment']['id'].'">Edit</a></p><hr />'; 
     11   echo '<div style="border:1px dotted gray;padding:4px;margin:2px">'; 
     12        echo $html->link($val['Entry']['title'], '/users/entry/'. $othAuth->user('username') . '/'.$val['Entry']['id']) . '<br />'; 
     13        echo $val['Comment']['created'].' <b>'.$val['Comment']['username'].' wrote:</b><br />'; 
     14        echo '<p>'.$val['Comment']['comment'] . '</p>'; 
     15        echo '<p>'. $gags->sendEdit($val['Comment']['id'], 'comment') .'   '. $gags->confirmDel($val['Comment']['id'], 'comment') .'</p>'; 
     16   echo '</div>'; 
    1817} 
    1918?>  
     19 
     20