t('Tripal Views Setups'), 'description' => t('Tripal Views Setups settings page, allows you to select and create materialized views and chado tables to use for searches.'), 'page callback' => 'drupal_get_form', 'page arguments' => array('tripal_views_setup_admin_form'), // 'page callback' => 'tripal_views_setup_admin_form_page', 'access arguments' => array('access administration pages'), 'type' => MENU_NORMAL_ITEM, ); //page to actually create searche->mview->chado table relationships $items['admin/tripal/tripal_views_setup_new'] = array( 'title' => 'Create New Views Setup', 'page callback' => 'drupal_get_form', 'page arguments' => array('tripal_views_setup_new_search_form'), 'access arguments' => array('access administration pages'), //TODO: figure out the proper permissions arguments 'type' => MENU_NORMAL_ITEM, ); return $items; } function tripal_views_setup_theme(){ $theme = array(); $theme['tripal_views_setup_form'] = array( 'arguments' => array('form' => NULL,), ); return $theme; }