Show
Ignore:
Timestamp:
07/07/08 18:00:27 (5 months ago)
Author:
aarkerio
Message:

Little fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/layouts/rubyx.ctp

    r617 r629  
    9898<?php  
    9999 if ( $blog["Vclassroom"] != null):  
    100      echo $this->element('vclassrooms', $blog["Vclassroom"]);   
     100     echo $this->element('vclassrooms', $blog['Vclassroom']);   
    101101 endif; 
    102102 
     
    112112     
    113113 if ( $blog["Lesson"] != null ): 
    114       echo $this->element('lesson', $blog["Lesson"]);   
     114      echo $this->element('lesson', $blog['Lesson']);   
    115115 endif;  
    116116          
    117117 if ( $blog["Podcast"] != null ):  
    118       echo $this->element('podcast', $blog["Podcast"]);   
     118      echo $this->element('podcast', $blog['Podcast']);   
    119119 endif; 
    120120          
    121121 if ( $blog["Catfaq"] != null ):  
    122       echo $this->element('catfaqs', $blog["Catfaq"]);   
     122      echo $this->element('catfaqs', $blog['Catfaq']);   
    123123 endif; 
    124124          
    125125 if ( $blog["Acquaintance"] != null ):  
    126        echo $this->element('acquaintances', $blog["Acquaintance"]);   
     126     echo $this->element('acquaintances', $blog['Acquaintance']);   
    127127 endif; 
    128128         
    129 /* maybe remove this later 
    130 if ( $blog["Catforum"] != null)  
    131 { 
    132          echo $this->element('catforums', $blog["Catforum"]);   
    133 } 
    134 */ 
    135129 
    136130 if ( $session->check('Auth.User') ):   
    137       e($html->para($html->link( 
    138                            $html->image('static/login.png', array("alt"=>'Login', "title"=>'Login')),  
    139                            '/users/login', false, false, null), aa('style', 'text-align:center;margin:35px 0 35px 0')));  
     131      e($html->para(null, $html->link( 
     132                           $html->image('static/login.png', array('alt'=>'Login', 'title'=>'Login')),  
     133                           '/users/login', false, false, null), array('style'=>'text-align:center;margin:35px 0 35px 0')));  
    140134 endif;  
    141135