You are here

function apps_catalog_page in Apps 7

Callpage for apps catelog page, an .md formatted app listing.

1 string reference to 'apps_catalog_page'
apps_menu in ./apps.module
Implements hook_menu().

File

./apps.pages.inc, line 138
The page callbacks for the Apps module.

Code

function apps_catalog_page($server) {
  apps_include('manifest');
  drupal_add_http_header('Content-Type', 'text/x-markdown');
  $render = array(
    '#theme' => 'apps_catalog_page',
    '#apps' => apps_apps($server, array(), FALSE),
    '#server' => $server,
  );
  print drupal_render($render);
}