فهرست منبع

Collapse upload section to shorten admin page

E.Cannon 8 سال پیش
والد
کامیت
3e4ad0eb03
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      includes/blast_ui.admin.inc

+ 2 - 2
includes/blast_ui.admin.inc

@@ -46,6 +46,8 @@ function blast_ui_admin_form($form, $form_state) {
 
 
   $form['file_upload'] = array(
   $form['file_upload'] = array(
     '#type' => 'fieldset',
     '#type' => 'fieldset',
+    '#collapsible' => true,
+    '#collapsed' => true,
     '#title' => 'Allow File Upload',
     '#title' => 'Allow File Upload',
     '#description' => 'The following options allow you to control whether your users can
     '#description' => 'The following options allow you to control whether your users can
       upload files for the query or target respectively. The ability to upload files allows
       upload files for the query or target respectively. The ability to upload files allows
@@ -55,8 +57,6 @@ function blast_ui_admin_form($form, $form_state) {
 
 
   $form['file_upload']['query_upload'] = array(
   $form['file_upload']['query_upload'] = array(
     '#type' => 'checkbox',
     '#type' => 'checkbox',
-    '#collapsible' => true,
-    '#collapsed' => true,
     '#title' => 'Enable Query Sequence Upload',
     '#title' => 'Enable Query Sequence Upload',
     '#description' => 'When checked, a query file upload field will be available on BLAST request forms.',
     '#description' => 'When checked, a query file upload field will be available on BLAST request forms.',
     '#default_value' => FALSE,
     '#default_value' => FALSE,