12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <?php
- function tripal_example_admin_examples_listing() {
- $output = '';
-
- $breadcrumb = array();
- $breadcrumb[] = l('Home', '<front>');
- $breadcrumb[] = l('Administration', 'admin');
- $breadcrumb[] = l('Tripal', 'admin/tripal');
- $breadcrumb[] = l('Chado', 'admin/tripal/chado');
- $breadcrumb[] = l('Examples', 'admin/tripal/chado/tripal_example');
- drupal_set_breadcrumb($breadcrumb);
-
-
-
-
-
- $output = 'Typically a search view goes here';
- return $output;
- }
- function tripal_example_admin() {
- $form = array();
- $form['nothing'] = array(
- '#markup' => t('There are currently no settings to configure.')
- );
-
-
- $details = array(
- 'module' => 'tripal_example',
-
-
- 'options' => array(
- '[example.name]' => 'Germplasm Name Only',
- '[example.uniquename]' => 'Germplasm Unique Name Only',
-
-
-
- '[example.example_id]' => 'Unique Contraint: The Chado ID for Examples'
- ),
-
- 'unique_option' => '[example.example_id]'
- );
-
-
- chado_add_admin_form_set_title($form, $form_state, $details);
- return system_settings_form($form);
- }
- function tripal_example_admin_validate($form, &$form_state) {
- }
|