Changeset 541 for trunk/app/views/layouts/rubyx.ctp
- Timestamp:
- 05/21/08 15:27:00 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/layouts/rubyx.ctp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/rubyx.ctp
r464 r541 114 114 if ( $blog["Vclassroom"] != null) 115 115 { 116 echo $this-> renderElement('vclassrooms', $blog["Vclassroom"]);116 echo $this->element('vclassrooms', $blog["Vclassroom"]); 117 117 } 118 118 … … 127 127 128 128 129 if ( $blog["Lesson"] != null) 130 { 131 echo $this->renderElement('lesson', $blog["Lesson"]); 132 } 129 if ( $blog["Lesson"] != null ): 130 echo $this->element('lesson', $blog["Lesson"]); 131 endif; 133 132 134 if ( $blog["Podcast"] != null ) 135 { 136 echo $this->renderElement('podcast', $blog["Podcast"]); 137 } 133 if ( $blog["Podcast"] != null ): 134 echo $this->element('podcast', $blog["Podcast"]); 135 endif; 138 136 139 if ( $blog["Catfaq"] != null ) 140 { 141 echo $this->renderElement('catfaqs', $blog["Catfaq"]); 142 } 137 if ( $blog["Catfaq"] != null ): 138 echo $this->element('catfaqs', $blog["Catfaq"]); 139 endif; 143 140 144 if ( $blog["Acquaintance"] != null) 145 { 146 echo $this->renderElement('acquaintances', $blog["Acquaintance"]); 147 } 141 if ( $blog["Acquaintance"] != null ): 142 echo $this->element('acquaintances', $blog["Acquaintance"]); 143 endif; 148 144 149 145 /* maybe remove this later 150 146 if ( $blog["Catforum"] != null) 151 147 { 152 echo $this-> renderElement('catforums', $blog["Catforum"]);148 echo $this->element('catforums', $blog["Catforum"]); 153 149 } 154 150 */ 155 151 156 if ( !isset( $cU['User']['id'] ) ) 157 { 158 e($html->para($html->link( 152 if ( $session->check('Auth.User') ): 153 e($html->para($html->link( 159 154 $html->image('static/login.png', array("alt"=>'Login', "title"=>'Login')), 160 155 '/users/login', false, false, null), aa('style', 'text-align:center;margin:35px 0 35px 0'))); 161 }156 endif; 162 157 163 158 e($html->div('temas', 'Powered by')); … … 175 170 <div id="footer"> 176 171 <div id="top" class="noprint"><p><span class="noscreen">Back on top</span> <a href="#header" title="Back on top ^">^<span></span></a></p></div> 177 <hr class="noscreen" />172 <hr class="noscreen" /> 178 173 179 174 <p id="createdby">created by <a href="http://www.nuvio.cz">Nuvio | Webdesign</a> <!-- DON?T REMOVE, PLEASE! --></p> … … 185 180 </div> <!-- /footer --> 186 181 </div> <!-- /main --> 187 188 182 </body> 189 183 </html>
