Show
Ignore:
Timestamp:
05/21/08 01:07:29 (7 months ago)
Author:
aarkerio
Message:

New Try

Files:
1 modified

Legend:

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

    r529 r539  
    6464    <div id="sidebar"> 
    6565<?php 
    66    echo $this->renderElement('menu_b'); 
     66   echo $this->element('menu_b'); 
    6767    
    6868   // if student logged in, show groups 
    6969   if ( isset($cU['User']) && $cU['User']['group_id'] == 3 && $Element['Vclassrooms'] != false): 
    70            echo $this->renderElement('studentclass', $Element['Vclassrooms']); 
     70           echo $this->element('studentclass', $Element['Vclassrooms']); 
    7171   endif;     
    7272 
     
    7979   else 
    8080   { 
    81              echo $this->renderElement('login'); 
     81             echo $this->element('login'); 
    8282   } 
    8383 
    84    echo  $this->renderElement('lastentries', $Element["Lentry"]); 
     84   echo  $this->element('lastentries', $Element["Lentry"]); 
    8585   echo  '<br />'; 
    8686       
    8787   echo  $html->div(null, $html->link($html->image('teacher_podcast.jpg', array('alt'=>'Podcast', 'style'=>'border:1px solid black')), '/podcasts/recent', null, null, false)); 
    8888 
    89    echo  $this->renderElement('poll',       $Element["Poll"]);  
     89   echo  $this->element('poll',       $Element["Poll"]);  
    9090         
    91    echo $this->renderElement('subjects');  
     91   echo $this->element('subjects');  
    9292?> 
    9393       <ul>    
    9494        <li id="archives"> 
    9595            <h2 class="bg3">Search</h2> 
    96                        <?php echo $this->renderElement('search'); ?>             
     96                       <?php echo $this->element('search'); ?>           
    9797            </li> 
    9898        </ul> 
     
    112112<div id="footer"> 
    113113<?php  
    114        // echo $this->renderElement('footer') . '<br />  ' . $this->renderElement('quote',   $Element["Quote"]);  
     114       // echo $this->element('footer') . '<br />  ' . $this->element('quote',   $Element["Quote"]);  
    115115?> 
    116116 
     
    122122 if ( !isset( $cU['User']) ) 
    123123 { 
    124      echo $this->renderElement('login_hide');   //login javascript popup 
     124     echo $this->element('login_hide');   //login javascript popup 
    125125 } 
    126126 
     
    128128 
    129129?> 
    130  
    131130</body> 
    132131</html>