Show
Ignore:
Timestamp:
09/23/08 22:04:26 (2 months ago)
Author:
aarkerio
Message:

Test Unit fixed

Location:
trunk/app/views/entries
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/entries/admin_comments.ctp

    r594 r776  
    33//debug($data); 
    44foreach($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  
    77 foreach($v['Comment'] as $c): 
    88   $st = $c['status'] == 1 ? __('Published', true) : __('Hidden', true); 
     
    1515 endforeach; 
    1616 
    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;')); 
    1818endforeach; 
    1919?> 
  • trunk/app/views/entries/admin_listing.ctp

    r637 r776  
    44echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
    55echo $html->getCrumbs(' / ');  
    6  
    76echo $html->div('title_section', __('Entries', true));  
    87 
    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)); 
     8echo $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)); 
    109 
    1110?>