Changeset 541 for trunk/app/views/layouts/paris.ctp
- Timestamp:
- 05/21/08 15:27:00 (6 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/layouts/paris.ctp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/paris.ctp
r342 r541 4 4 ?> 5 5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 6 7 6 <head> 8 7 <?php … … 20 19 21 20 <body> 22 <?php echo $this-> renderElement('search_blog'); ?>21 <?php echo $this->element('search_blog'); ?> 23 22 24 23 <div id="box"> … … 61 60 <div id="sidebar"> 62 61 <?php 63 if ( $blog["Lesson"] != null) 64 { 65 echo $this->renderElement('lesson', $blog["Lesson"]); 66 } 67 if ( $blog["Podcast"] != null ) 68 { 69 echo $this->renderElement('podcast', $blog["Podcast"]); 70 } 62 if ( $blog["Lesson"] != null): 63 echo $this->element('lesson', $blog["Lesson"]); 64 endif; 65 66 if ( $blog["Podcast"] != null ): 67 echo $this->element('podcast', $blog["Podcast"]); 68 endif; 71 69 72 if ( $blog["Catfaq"] != null ) 73 { 74 echo $this->renderElement('catfaqs', $blog["Catfaq"]); 75 } 70 if ( $blog["Catfaq"] != null ): 71 echo $this->element('catfaqs', $blog["Catfaq"]); 72 endif; 76 73 77 if ( $blog["Acquaintance"] != null) 78 { 79 echo $this->renderElement('acquaintances', $blog["Acquaintance"]); 80 } 74 if ( $blog["Acquaintance"] != null); 75 echo $this->element('acquaintances', $blog["Acquaintance"]); 76 endif; 81 77 82 if ( $blog["Vclassroom"] != null) 83 { 84 echo $this->renderElement('vclassrooms', $blog["Vclassroom"]); 85 } 78 if ( $blog["Vclassroom"] != null): 79 echo $this->element('vclassrooms', $blog["Vclassroom"]); 80 endif; 86 81 87 if ( $blog["Catforum"] != null) 88 { 89 echo $this->renderElement('catforums', $blog["Catforum"]); 90 } 82 /* if ( $blog["Catforum"] != null): 83 echo $this->element('catforums', $blog["Catforum"]); 84 endif; */ 91 85 92 if ( !$cU['User'] ) 93 { 86 if ( !$session->check('Auth.User') ): 94 87 echo '<p style="text-align:center;margin:35px 0 35px 0">' . $html->link( 95 88 $html->image('static/login.png', array("alt"=>'Login', "title"=>'Login')), 96 89 '/users/login', false, false, null) . "</p>"; 97 }90 endif; 98 91 ?> 99 92
