Location: PHPKode > projects > Teampopor > teampopor-0.5/teampopor/themes/default/template.php
<?php

/**
 * Implementation of hook_theme().
 */
function default_theme() {
  global $theme;
  $blocks_path = get_path('theme', $theme) . '/blocks';
  $forms_path = get_path('theme', $theme) . '/forms';
  return array(
    // blocks
    'menu' => array(
      'arguments' => array('menu' => NULL),
      'template' => 'menu',
      'path' => $blocks_path,
    ),

    // user forms
    'user_register' => array(
      'arguments' => array('form' => NULL),
      'template' => 'user-register',
      'path' => $forms_path,
    ),
    'activate_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'activate-form',
      'path' => $forms_path,
    ),
    'account_basics_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'account-basics-form',
      'path' => $forms_path,
    ),

    // network forms
    'send_invitations_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'send-invitations-form',
      'path' => $forms_path,
    ),
    'create_group_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'create-group-form',
      'path' => $forms_path,
    ),
    'network_group_manage_settings_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'network-group-manage-settings-form',
      'path' => $forms_path,
    ),

    // message forms
    'share_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'share-form',
      'path' => $forms_path,
    ),
    'attach_file_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'attach-file-form',
      'path' => $forms_path,
    ),
    'comment_form' => array(
      'arguments' => array('form' => NULL),
      'template' => 'comment-form',
      'path' => $forms_path,
    ),
  );
}

/**
 * Implementation of template_preprocess_page().
 */
function default_preprocess_page(&$variables) {
  if (variable_get('debug', false)) {
    $variables['styles'] .= '<style type="text/css">.debug { border: 1px solid red !important; }</style>';
  }
  else {
    $variables['styles'] .= '<style type="text/css">.debug { display: none !important; }</style>';
  }
}

Return current item: Teampopor