Changeset 852
- Timestamp:
- 09/17/07 19:15:15 (15 months ago)
- Location:
- trunk/htdocs
- Files:
-
- 2 modified
-
system/classes/theme.php (modified) (3 diffs)
-
user/themes/k2/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/system/classes/theme.php
r851 r852 356 356 $this->template_engine->$key= $value; 357 357 } 358 359 358 360 359 /** … … 363 362 public function header() { 364 363 Plugins::act( 'template_header' ); 365 if ( is_callable( array( THEME_CLASS, 'header' )) ) {364 if ( function_exists( THEME_CLASS . '::header' ) ) { 366 365 call_user_func( array( THEME_CLASS, 'header' ) ); 367 366 } … … 378 377 public function footer() { 379 378 Plugins::act( 'template_footer' ); 380 if ( is_callable( array( THEME_CLASS, 'footer' )) ) {379 if ( function_exists( THEME_CLASS . '::footer' ) ) { 381 380 call_user_func( array( THEME_CLASS, 'footer' ) ); 382 381 } -
trunk/htdocs/user/themes/k2/theme.php
r851 r852 65 65 public function header() 66 66 { 67 if ( $this->user instanceof User) {67 if ( User::identify() != FALSE ) { 68 68 Stack::add( 'template_header_javascript', Site::get_url('scripts') . '/jquery.js', 'jquery' ); 69 69 }
