? .DS_Store
? .buildpath
? .git
? .project
? .settings
? geshifilter.kpf
Index: geshifilter.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/geshifilter/geshifilter.admin.inc,v
retrieving revision 1.23
diff -u -b -u -p -r1.23 geshifilter.admin.inc
--- geshifilter.admin.inc	12 Jul 2009 23:24:48 -0000	1.23
+++ geshifilter.admin.inc	16 Jul 2009 07:40:23 -0000
@@ -203,17 +203,28 @@ function geshifilter_admin_general_setti
     );
 
     // Code container
+    $container_options = array(
+      GESHI_HEADER_PRE => t('Use @cnt container (efficient whitespace coding, no automatic line wrapping).',
+        array('@cnt' => '<pre>')),
+      GESHI_HEADER_DIV => t('Use @cnt container (enables automatic line wrapping).',
+        array('@cnt' => '<div>')),
+    );
+    if (version_compare(GESHI_VERSION, '1.0.8', '>=')) {
+      $container_options[GESHI_HEADER_PRE_VALID] = t('Use @pre container and ensure valid HTML when line numbering is enabled (generates more markup).',
+        array('@pre' => '<pre>', '@li' => '<li>'));
+      $container_options[GESHI_HEADER_PRE_TABLE] = t('Use a table construction for adding line numbers.');
+    }
+    if (version_compare(GESHI_VERSION, '1.0.7.2', '>=')) {
+      $container_options[GESHI_HEADER_NONE] = t('Use no container.');
+    }
+
     $form['geshifilter_styling']['geshifilter_code_container'] = array(
       '#type' => 'radios',
       '#title' => t('Code container'),
       '#description' => t('Define the container element to use for code blocks. (GeSHi documentation: <a href="!link">The Code Container</a>).',
         array('!link' => 'http://qbnz.com/highlighter/geshi-doc.html#the-code-container')
       ),
-      '#options' => array(
-        GESHI_HEADER_PRE => t('Use @cnt container (efficient whitespace coding, no automatic line wrapping)', array('@cnt' => '<pre>')),
-        GESHI_HEADER_DIV => t('Use @cnt container (enables automatic line wrapping)', array('@cnt' => '<div>')),
-        GESHI_HEADER_NONE => t('Use no container'),
-      ),
+      '#options' => $container_options,
       '#default_value' => variable_get('geshifilter_code_container', GESHI_HEADER_PRE),
     );
   }
