diff -upr html_export/html_export.info html_export.6/html_export.info
--- html_export/html_export.info	2008-07-15 21:45:13.000000000 +0200
+++ html_export.6/html_export.info	2008-07-16 15:44:48.005706993 +0200
@@ -1,7 +1,8 @@
 name = HTML Export
 description = This allows you to export drupal nodes to an HTML format.
 ; Information added by drupal.org packaging script on 2008-07-15
-version = "5.x-1.0-rc2"
+version = "6.x-1.0-rc2"
+core = 6.x
 project = "html_export"
 datestamp = "1216151113"
 
diff -upr html_export/html_export.module html_export.6/html_export.module
--- html_export/html_export.module	2008-06-05 21:25:16.000000000 +0200
+++ html_export.6/html_export.module	2008-07-21 16:07:42.677044412 +0200
@@ -38,17 +38,19 @@ function html_export_help($section) {
 /**
 * Implementation of hook_menu
 */
-function html_export_menu($may_cache) {
+function html_export_menu() {
   $items = array();
-  $items[] = array('path' => 'admin/settings/html_export',
-      'title' => t('HTML Export'),
-      'description' => t('Export to HTML'),
-      'callback' => 'drupal_get_form',
-      'callback arguments' => 'html_export_settings',
-      'type' => MENU_NORMAL_ITEM,
-    'access' => user_access('access administration pages'));
+  $items['admin/settings/html_export'] = array(
+    'title' => 'HTML Export',
+    'description' => 'Export your drupal site to static html page',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('html_export_settings'),
+    'access arguments' => array('access administration pages'),
+    'type' => MENU_NORMAL_ITEM,
+   );
   return $items;
 }
+
 /**
 * Implementation of hook_settings
 */
@@ -60,13 +62,14 @@ function html_export_settings() {  
     '#options' => array(0 => 'No',1 => 'Yes'), 
     '#required' => true,
   );
+  $form['#submit'] = array('html_export_settings_submit');
   return system_settings_form($form);  
 }
 /**
 * Implementation of hook_settings_submit
 */
 function html_export_settings_submit($form_id, $form_values) {
-	if($form_values["html_export"] == 1){
+	if($form_values["values"]["html_export"] == 1){
 		$clean = variable_get('clean_url',0);
 		//turn clean URLs off temporarily if they are on
 		if($clean){
@@ -92,7 +95,7 @@ function html_export_settings_submit($fo
 		$export_path = str_replace('index.php','',$_SERVER['PATH_TRANSLATED']) . $export_path;
 		
 		//run the copyr function, modified to work with zip archive; copy the files,themes,sites,and misc directories
-		_html_export_copyr(str_replace('index.php','',$_SERVER['PATH_TRANSLATED']) . file_directory_path(),$export_path . '/' . file_directory_path());
+		//_html_export_copyr(str_replace('index.php','',$_SERVER['PATH_TRANSLATED']) . file_directory_path(),$export_path . '/' . file_directory_path());
 		_html_export_copyr(str_replace('index.php','',$_SERVER['PATH_TRANSLATED']) . 'sites',$export_path . '/sites');
 		_html_export_copyr(str_replace('index.php','',$_SERVER['PATH_TRANSLATED']) . 'modules',$export_path . '/modules');
 		_html_export_copyr(str_replace('index.php','',$_SERVER['PATH_TRANSLATED']) . 'themes',$export_path . '/themes');
@@ -202,4 +205,4 @@ function _html_export_copyr($source, $de
 	// Clean up
 	$dir->close();
 	return true;
-}
\ No newline at end of file
+}
