t('Publications'), 'description' => ('A module for interfacing the GMOD chado database with Drupal, providing viewing of publications'), 'page callback' => 'administration_description_page', 'access arguments' => array('administer site configuration'), 'type' => MENU_NORMAL_ITEM ); $items['admin/tripal/tripal_pub/configuration'] = array( 'title' => t('Configuration'), 'description' => t('Configuration for this module'), 'page callback' => 'drupal_get_form', 'page arguments' => array('tripal_pub_configuration_form'), 'access arguments' => array('administer site configuration'), 'type' => MENU_NORMAL_ITEM ); // Automatically generate checkboxes. $items['node/add/tripal_pub/ahah_authors'] = array( 'title' => 'Add Additional Authors', 'page callback' => 'drupal_get_form', 'page arguments' => array('author_addition_fields_ahah_callback'), 'access callback' => TRUE, 'type' => MENU_CALLBACK, 'weight' => 2, ); $items['tripal_pub/js/%'] = array( 'page callback' => 'tripal_pub_js', 'page arguments' => array(2), 'access arguments' => array('access content'), 'type ' => MENU_CALLBACK, ); return $items; } /** * Implements hook_theme(): Register themeing functions for this module * * * @return * An array of themeing functions to register * */ function tripal_pub_theme(){ return array( 'tripal_pub_author_table' => array( 'arguments' => array('form'=>NULL), ), 'publication_author' => array( 'arguments' => array('element'=>NULL) ), ); } /** * Implement hook_perm(). */ function tripal_pub_perm(){ return array('edit own tripal_pub', 'edit tripal_pub', 'create tripal_pub'); } /** * This section uses HTML to output the descriptions of the module, through the Tripal Management * Administation window.Any installation instructions are given as well as included features * as well as a overview of the purpose Module. * * @return * Returns '$text'The HTML description of the Module, its instructions, features, and any other * important aspects. This is returned when the Administration page is selected. */ function administration_description_page(){ $text = ''; $text = '

Tripal Publication Administrative Tools Quick Links

'; $text .= ''; $text .= '

Module Description:

'; //================================================================================ $text .= '

The Tripal Publication Module provides the functionality for adding, editing, deleting and accessing academic publications, entered by the user.This module also allows a time limited search, specified by the user, which searches the PubMed extracts and saves acedemic puplications.

'; $text .= '

Setup Instructions:

'; //================================================================================ $text .= '
    '; $text .= '
      '; $text .= '
    '; $text .= '
  1. Set Permissions: The stock module supports the Drupal user permissions interface for controlling access to stock content and functions. These permissions include viewing, creating, editing or administering of stock content. The default is that only the original site administrator has these permissions. You can add roles for classifying users, assign users to roles and assign permissions for the publication content to those roles. For a simple setup, allow anonymous users access to view organism content and allow the site administrator all other permissions.

  2. '; $text .= '
'; $text .= '

Features of this Module:

'; //================================================================================ $text .= '