*** tetris.module	Thu Feb 10 20:18:17 2011
--- tetris_ao.module	Thu Feb 10 20:10:53 2011
***************
*** 57,72 ****
  
  
  /**
! /* Generate HTML for the tetris block
! * @param op the operation from the URL
! * @param delta offset
! * @returns block HTML
! */
! function tetris_block($op='list', $delta=0) {
!   if ($op == "list") {
!     $block[0]["info"] = t('Tetris');
!     return $block;
!   } else if ($op == 'view') {
      $block['subject'] = 'Tetris';
  	drupal_add_js(drupal_get_path('module', 'tetris') .'/tetris.js');
      $content='		
--- 58,82 ----
  
  
  /**
!  * Implements hook_block_info().
!  */
! function tetris_block_info() {
!   $blocks = array();
! 
!   $blocks['Tetris'] = array(
!     'info' => t('Tetris'),
!     'cache' => DRUPAL_NO_CACHE,
!     );
! 
!     return $blocks;
! }
! 
! 
! /**
!  * Implements hook_block_view().
!  */
! function tetris_block_view($block_name = '') {
!   if ($block_name == 'Tetris') {
      $block['subject'] = 'Tetris';
  	drupal_add_js(drupal_get_path('module', 'tetris') .'/tetris.js');
      $content='		
***************
*** 167,174 ****
      $block['content'] = $content;
      return $block;
    }
  
- } // end tetris_block
  
  /**
   * Implementation of hook_settings()
--- 177,184 ----
      $block['content'] = $content;
      return $block;
    }
+ }
  
  
  /**
   * Implementation of hook_settings()
***************
*** 440,443 ****
  
  
  
! ?>
\ No newline at end of file
--- 449,452 ----
  
  
  
! ?>
