Changeset 462 for trunk/app/views/forums

Show
Ignore:
Timestamp:
05/08/08 12:22:20 (7 months ago)
Author:
aarkerio
Message:

Forums and topics improveds

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/forums/display.ctp

    r461 r462  
    11<?php 
    22//die(debug($data)); 
    3 echo $html->para(null,  
    4                  'Foro: '.$html->link($data["Catforum"]["title"],  
    5                     '                 /catforums/display/'.$blog["User"]["username"].'/'.$blog["User"]["id"].'/'.$data["Catforum"]["id"] 
    6                                       ) 
    7                ); 
     3 echo $html->div(null, 'Category: ' . $data['Catforum']['title'], array('style'=>'font-weight:bold;')); 
    84 
    95 echo  $html->div('titentry', $data["Forum"]["title"]); 
    106 echo  $html->para(null, $data["Forum"]["description"]); 
    117 
    12   $tmp = $ajax->link($html->image("static/new_post.gif", array("alt"=>"New Topic", "title"=>"New Topic")), '/topics/add/'.$data['Vclassroom']['id'].'/'.$data['Forum']['id'], 
     8  $tmp = $ajax->link($html->image("static/new_post.gif", array("alt"=>"New Topic", "title"=>"New Topic")),  
     9'/topics/add/'.$data['Forum']['vclassroom_id'].'/'.$data['Forum']['id'], 
    1310                                array("update" => "qn", 
    1411                              "loading"=>"Element.show('loading3');", 
     
    4138                   count($val['Reply']), 
    4239                   $val["User"]["username"], 
    43                    $val['views'], 
     40                   count($val['Visitor']), 
    4441                   '<span style="font-size:6pt">'.$time->timeAgoInWords($val["created"]) .'</span>' 
    4542                 );