瀏覽代碼

Collapse upload section to shorten admin page

E.Cannon 7 年之前
父節點
當前提交
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,