Changeset 77 for trunk/app/views/comments
- Timestamp:
- 09/05/07 19:08:37 (15 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/comments/admin_listing.thtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/comments/admin_listing.thtml
r70 r77 1 2 1 <?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'); 5 4 echo $html->getCrumbs(' / '); 6 5 ?> 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> 11 7 <?php 12 8 13 foreach ($data as $ key => $val)9 foreach ($data as $val) 14 10 { 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>'; 18 17 } 19 18 ?> 19 20
