Changeset 77 for trunk/app/views/news

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

Update

Location:
trunk/app/views/news
Files:
3 modified

Legend:

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

    r20 r77  
    11<div class="title_section">News</div> 
    22 
    3 <p><?php echo $html->link($html->image('actions/new.png', array("alt"=>"Add new", "title"=>"Add new")), '/admin/news/add', null, false, false) ?></p> 
     3<p> 
     4  <?php  
     5     echo $html->link($html->image('actions/new.png', array("alt"=>"Add new", "title"=>"Add new")), '/admin/news/add', null, false, false); 
     6     echo $html->link($html->image('static/forum.gif', array("alt"=>"See comments", "title"=>"See comments")), '/admin/commentnews/listing', null, false, false); 
     7  ?> 
     8 
     9</p> 
    410 
    511<table class="tbadmin"> 
  • trunk/app/views/news/display.thtml

    r76 r77  
    4343              echo '<div class="comentnew" style="background-color:'.$bg.'">';   
    4444                 echo $time->timeAgoInWords($v["created"]) . " <b>". $v["name"]    . "</b> wrote:<br />"; 
    45                  echo $v["comment"] ; 
     45                 echo $v["comment"]; 
    4646              echo "</div>"; 
    4747              $i++; 
  • trunk/app/views/news/view.thtml

    r72 r77  
    4343    if ( $val['News']['comments'] == 1 )  //Ya hay comentarios?? 
    4444    { 
    45             $num_coment = count($val["Commentnew"]); 
     45            $num_coment = count($val["Commentnews"]); 
    4646             
    4747            if ( $num_coment > 0 )