function apps_theme in Apps 7
Implements hook_theme().
File
- ./
apps.module, line 235 - Module file for Apps
Code
function apps_theme() {
$path = drupal_get_path('module', 'apps') . '/theme';
$theme = array(
'apps_market_page' => array(
'render element' => 'servers',
'template' => 'apps-market-page',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_server_item' => array(
'render element' => 'server',
'template' => 'apps-server-item',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_install_page' => array(
'render element' => 'content',
'template' => 'apps-install-page',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_manage_page' => array(
'render element' => 'content',
'template' => 'apps-manage-page',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_update_page' => array(
'render element' => 'content',
'template' => 'apps-update-page',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_catalog_page' => array(
'variables' => array(
'server' => NULL,
'apps' => array(),
),
'template' => 'apps-catalog-page',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_list' => array(
'render element' => 'apps',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_app_teaser' => array(
'render element' => 'app',
'template' => 'apps-app-teaser',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_app_page' => array(
'render element' => 'app',
'template' => 'apps-app-page',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_app_featured' => array(
'render element' => 'app',
'template' => 'apps-app-featured',
'file' => 'apps.theme.inc',
'path' => $path,
),
'apps_voting_widget' => array(
'render element' => 'app',
'function' => 'apps_theme_voting_widget',
'file' => 'apps.voting.inc',
),
);
return $theme;
}