Changeset 541 for trunk/app/views/layouts/school.ctp
- Timestamp:
- 05/21/08 15:27:00 (6 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/layouts/school.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/school.ctp
r343 r541 49 49 </div> <!-- /search --> 50 50 <?php 51 if ( $blog["Lesson"] != null) 52 { 53 echo $this->renderElement('lesson', $blog["Lesson"]); 54 } 55 if ( $blog["Podcast"] != null ) 56 { 57 echo $this->renderElement('podcast', $blog["Podcast"]); 58 } 51 if ( $blog["Lesson"] != null): 52 echo $this->element('lesson', $blog["Lesson"]); 53 endif; 54 55 if ( $blog["Podcast"] != null ): 56 echo $this->element('podcast', $blog["Podcast"]); 57 endif; 59 58 60 if ( $blog["Catfaq"] != null ) 61 { 62 echo $this->renderElement('catfaqs', $blog["Catfaq"]); 63 } 59 if ( $blog["Catfaq"] != null ): 60 echo $this->element('catfaqs', $blog["Catfaq"]); 61 endif; 64 62 65 if ( $blog["Acquaintance"] != null) 66 { 67 echo $this->renderElement('acquaintances', $blog["Acquaintance"]); 68 } 63 if ( $blog["Acquaintance"] != null); 64 echo $this->element('acquaintances', $blog["Acquaintance"]); 65 endif; 69 66 70 if ( $blog["Vclassroom"] != null) 71 { 72 echo $this->renderElement('vclassrooms', $blog["Vclassroom"]); 73 } 67 if ( $blog["Vclassroom"] != null): 68 echo $this->element('vclassrooms', $blog["Vclassroom"]); 69 endif; 74 70 75 if ( $blog["Catforum"] != null) 76 { 77 echo $this->renderElement('catforums', $blog["Catforum"]); 78 } 71 if ( $blog["Catforum"] != null): 72 echo $this->element('catforums', $blog["Catforum"]); 73 endif; 79 74 80 if ( !$cU['User'] ) 81 { 75 if ( !$session->check('Auth.User') ): 82 76 echo '<p style="text-align:center;margin:35px 0 35px 0">' . $html->link( 83 77 $html->image('static/login.png', array("alt"=>'Login', "title"=>'Login')), 84 78 '/users/login', false, false, null) . "</p>"; 85 }79 endif; 86 80 ?> 87 81 </td>
