Changeset 468 for trunk/app/views/forums

Show
Ignore:
Timestamp:
05/09/08 00:41:41 (7 months ago)
Author:
aarkerio
Message:

Forums and topics improveds

Files:
1 modified

Legend:

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

    r462 r468  
    11<?php 
    22//die(debug($data)); 
     3 
     4if ( $belongs === true ): 
    35 echo $html->div(null, 'Category: ' . $data['Catforum']['title'], array('style'=>'font-weight:bold;')); 
    46 
     
    4951       echo '</table>';  
    5052  
    51  if ( ! isset( $cU ) )  
    52  { 
    53          echo $html->div(null, $this->renderElement('login')); 
    54  } 
     53  echo $html->para(null, 'Legend:'); 
    5554 
    56 echo $html->para(null, 'Leyenda del Tema'); 
     55  $tmp  = $html->image('static/board.gif', array("alt"=>"Tema normal", "title"=>"Tema normal")) . ' Tema normal <br />'; 
     56  $tmp .= $html->image('static/locked.gif', array("alt"=>"Tema bloqueado", "title"=>"Tema bloqueado")) . ' Tema bloqueado<br />'; 
     57  $tmp .= $html->image('static/new.gif', array("alt"=>"Comentario nuevo", "title"=>"Comentario nuevo")). ' Comentario nuevo<br />'; 
    5758 
    58 $tmp  = $html->image('static/board.gif', array("alt"=>"Tema normal", "title"=>"Tema normal")) . ' Tema normal <br />'; 
    59 $tmp .= $html->image('static/locked.gif', array("alt"=>"Tema bloqueado", "title"=>"Tema bloqueado")) . ' Tema bloqueado<br />'; 
    60 $tmp .= $html->image('static/new.gif', array("alt"=>"Comentario nuevo", "title"=>"Comentario nuevo")). ' Comentario nuevo<br />'; 
    61  
    62 echo $html->para(null, $tmp); 
     59  echo $html->para(null, $tmp); 
     60else: 
     61  e($html->para(null, 'You must be logged and belogs to this class to see the forum')); 
     62endif; 
    6363?>