Changeset 539 for trunk/app/views/layouts
- Timestamp:
- 05/21/08 01:07:29 (7 months ago)
- Location:
- trunk/app/views/layouts
- Files:
-
- 2 modified
-
admin.ctp (modified) (1 diff)
-
portal.ctp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/admin.ctp
r497 r539 42 42 </div><!-- header ends--> 43 43 44 <?php echo $this-> renderElement('admin_menu'); ?>44 <?php echo $this->element('admin_menu'); ?> 45 45 46 46 <div style="float:left;border:1px solid white;width:900px;margin:15px 10px 10px 100px;text-align:left;"> -
trunk/app/views/layouts/portal.ctp
r529 r539 64 64 <div id="sidebar"> 65 65 <?php 66 echo $this-> renderElement('menu_b');66 echo $this->element('menu_b'); 67 67 68 68 // if student logged in, show groups 69 69 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']); 71 71 endif; 72 72 … … 79 79 else 80 80 { 81 echo $this-> renderElement('login');81 echo $this->element('login'); 82 82 } 83 83 84 echo $this-> renderElement('lastentries', $Element["Lentry"]);84 echo $this->element('lastentries', $Element["Lentry"]); 85 85 echo '<br />'; 86 86 87 87 echo $html->div(null, $html->link($html->image('teacher_podcast.jpg', array('alt'=>'Podcast', 'style'=>'border:1px solid black')), '/podcasts/recent', null, null, false)); 88 88 89 echo $this-> renderElement('poll', $Element["Poll"]);89 echo $this->element('poll', $Element["Poll"]); 90 90 91 echo $this-> renderElement('subjects');91 echo $this->element('subjects'); 92 92 ?> 93 93 <ul> 94 94 <li id="archives"> 95 95 <h2 class="bg3">Search</h2> 96 <?php echo $this-> renderElement('search'); ?>96 <?php echo $this->element('search'); ?> 97 97 </li> 98 98 </ul> … … 112 112 <div id="footer"> 113 113 <?php 114 // echo $this-> renderElement('footer') . '<br /> ' . $this->renderElement('quote', $Element["Quote"]);114 // echo $this->element('footer') . '<br /> ' . $this->element('quote', $Element["Quote"]); 115 115 ?> 116 116 … … 122 122 if ( !isset( $cU['User']) ) 123 123 { 124 echo $this-> renderElement('login_hide'); //login javascript popup124 echo $this->element('login_hide'); //login javascript popup 125 125 } 126 126 … … 128 128 129 129 ?> 130 131 130 </body> 132 131 </html>
