--- potx.module.orig	2007-12-30 23:43:16.000000000 +0100
+++ potx.module	2007-12-30 23:40:53.000000000 +0100
@@ -17,7 +17,7 @@
 function potx_help($section) {
   switch ($section) {
     case 'admin/settings/locale/potx':
-      return t('This page allows you to generate translation templates for module files. Select the module you wish to generate a template file for. A single Gettext Portable Object (Template) file is generated, so you can easily save it and start translation.');
+      return '<p>'. t('This page allows you to generate translation templates for module files. Select the module you wish to generate a template file for. A single Gettext Portable Object (Template) file is generated, so you can easily save it and start translation.') .'</p>';
   }
 }
 
@@ -211,8 +211,8 @@
     $element = array(
       '#type' => 'fieldset',
       '#title' => t('Modules in "@dir_name"', $subst),
-      '#collapsible' => true,
-      '#collapsed' => true,
+      '#collapsible' => (count(split('/', $subst['@dir_name'])) == 1) ? false : true,
+      '#collapsed' => (count(split('/', $subst['@dir_name'])) == 1) ? false : true,
     );
     $form[_potx_form_id('fs', $dirname)] =& $element;
   }
