Changeset 407 for trunk/app/views/news
- Timestamp:
- 04/16/08 17:24:40 (8 months ago)
- Location:
- trunk/app/views/news
- Files:
-
- 2 modified
-
admin_listing.ctp (modified) (1 diff)
-
view.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/news/admin_listing.ctp
r301 r407 4 4 <?php 5 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);6 echo $html->link($html->image('static/forum.gif', array("alt"=>"See comments", "title"=>"See comments")), '/admin/discussions/listing', null, false, false); 7 7 ?> 8 8 -
trunk/app/views/news/view.ctp
r406 r407 46 46 47 47 echo '<div class="comentnew" style="background-color:'.$bg.'">'; 48 echo $time->timeAgoInWords($v[ "created"]) . " <b>". $v["name"] . "</b> wrote:<br />";48 echo $time->timeAgoInWords($v['created']) . ' <b>'. $v['name'] . '</b> wrote:<br />'; 49 49 echo $v["comment"]; 50 50 echo "</div>"; … … 54 54 55 55 echo $form->create('Discussion', array('action'=>'agregar')); 56 //echo '<form action="/discussions/agregar" method="post">'; 56 57 ?> 58 59 57 60 <fieldset> 58 61 <legend>Write comment:</legend>
