Browse Source

Fixed size limit in pub importer text field. Updated doxygen config file

spficklin 11 years ago
parent
commit
dd6d29004d
2 changed files with 15 additions and 14 deletions
  1. 1 1
      docs/tripal_doxygen.config
  2. 14 13
      tripal_pub/includes/pub_importers.inc

+ 1 - 1
docs/tripal_doxygen.config

@@ -31,7 +31,7 @@ PROJECT_NAME           = Tripal
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = "v1.0 (6.x-1.0)"
+PROJECT_NUMBER         = "v1.1 (6.x-1.1)"
 
 # Using the PROJECT_BRIEF tag one can provide an optional one line description
 # for a project that appears at the top of each page and should give viewer

+ 14 - 13
tripal_pub/includes/pub_importers.inc

@@ -334,23 +334,24 @@ function tripal_pub_importer_setup_form(&$form_state = NULL, $pub_import_id = NU
       }
 
       $form['criteria'][$i]["search_terms-$i"] = array(
-      '#type'          => 'textfield',
-      '#description'   => t('Please provide a list of words for searching. You may use 
-        conjunctions such as "AND" or "OR" to separate words if they are expected in 
-        the same scope, but do not mix ANDs and ORs.  Uncheck the "Is Phrase" checkbox to use conjunctions'),
-      '#default_value' => $search_terms,
-      '#required'      => TRUE,
+        '#type'          => 'textfield',
+        '#description'   => t('Please provide a list of words for searching. You may use 
+          conjunctions such as "AND" or "OR" to separate words if they are expected in 
+          the same scope, but do not mix ANDs and ORs.  Uncheck the "Is Phrase" checkbox to use conjunctions'),
+        '#default_value' => $search_terms,
+        '#required'      => TRUE,
+        '#maxlength' => 2048,
       );
       $form['criteria'][$i]["scope-$i"] = array(
-      '#type'          => 'select',
-      '#description'   => t('Please select the fields to search for this term.'),
-      '#options'       => $scope_choices,
-      '#default_value' => $scope,
+        '#type'          => 'select',
+        '#description'   => t('Please select the fields to search for this term.'),
+        '#options'       => $scope_choices,
+        '#default_value' => $scope,
       );
       $form['criteria'][$i]["is_phrase-$i"] = array(
-      '#type'    => 'checkbox',
-      '#title'   => t('Is Phrase?'),    
-      '#default_value' => $is_phrase,
+        '#type'    => 'checkbox',
+        '#title'   => t('Is Phrase?'),    
+        '#default_value' => $is_phrase,
       );
 
       if ($i == 1) {