Changeset 636 for trunk/app/views/news/view.ctp
- Timestamp:
- 07/09/08 21:55:19 (5 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/news/view.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/news/view.ctp
r620 r636 1 1 <?php 2 // die(debug($data));2 //die(debug($data)); 3 3 4 4 echo $html->div('news_title', $html->link($data['News']['title'], '/news/view/'. $data['News']['id'])); … … 47 47 $bg = ($i%2 == 0) ? "#e2e2e2" : "#fff"; 48 48 49 $tmp = $html->para(null,$time->timeAgoInWords($v['created']) . ' <b>'. $v[' username'] . '</b> wrote:<br />', array('style'=>'font-size:8pt;font-family:Georgia;'));49 $tmp = $html->para(null,$time->timeAgoInWords($v['created']) . ' <b>'. $v['User']['username'] . '</b> wrote:<br />', array('style'=>'font-size:8pt;font-family:Georgia;')); 50 50 $tmp .= $html->para(null, $v['comment']); 51 51 echo $html->div('divblock', $tmp, array('style'=>'background-color:'.$bg));
