Changeset 776 for trunk/app/views
- Timestamp:
- 09/23/08 22:04:26 (2 months ago)
- Location:
- trunk/app/views/entries
- Files:
-
- 2 modified
-
admin_comments.ctp (modified) (2 diffs)
-
admin_listing.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/entries/admin_comments.ctp
r594 r776 3 3 //debug($data); 4 4 foreach($data as $v): 5 $tmp = $html->para(null, $html->link($v['Entry']['title'], 'http://'.$_SERVER['HTTP_HOST'].'/users/entry/'.$session->read('Auth.User.username').'/'.$v['Entry']['id']));6 5 $tmp = $html->para(null, 'Entry: '.$html->link($v['Entry']['title'], 'http://'.$_SERVER['HTTP_HOST'].'/entries/view/'.$session->read('Auth.User.username').'/'.$v['Entry']['id']), array('style'=>'font-size:14pt;font-weigth:bold;')); 6 7 7 foreach($v['Comment'] as $c): 8 8 $st = $c['status'] == 1 ? __('Published', true) : __('Hidden', true); … … 15 15 endforeach; 16 16 17 echo $html->div(null, $tmp, array('style'=>'border: 2px solid gray;margin-top:14px;padding:4px;'));17 echo $html->div(null, $tmp, array('style'=>'border:1px dotted gray;margin-top:14px;padding:4px;')); 18 18 endforeach; 19 19 ?> -
trunk/app/views/entries/admin_listing.ctp
r637 r776 4 4 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 5 5 echo $html->getCrumbs(' / '); 6 7 6 echo $html->div('title_section', __('Entries', true)); 8 7 9 echo $html->para(null, $html->link($html->image('actions/new.png', array('alt'=>__('Add new', true), 'title'=>__('Add new', true))), '/admin/entries/add', null, false, false) . ' '.$html->link($html->image('static/forum.gif', array( "alt"=>"See comments", "title"=>"See comments")), '/admin/comments/listing', null, false, false));8 echo $html->para(null, $html->link($html->image('actions/new.png', array('alt'=>__('Add new', true), 'title'=>__('Add new', true))), '/admin/entries/add', null, false, false) . ' '.$html->link($html->image('static/forum.gif', array('alt'=>__('See comments', true),'title'=>__('See comments', true))), '/admin/entries/comments', null, false, false)); 10 9 11 10 ?>
