Index: datehu.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hungarian/Attic/datehu.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 datehu.module
--- datehu.module	20 Mar 2007 21:38:04 -0000	1.1.2.1
+++ datehu.module	28 Mar 2007 08:23:42 -0000
@@ -6,15 +6,15 @@
  */
 
 function datehu_form_alter($form_id, &$form) {
-  if ($form_id == 'system_settings_form') {
+  if ($form_id == 'system_date_time_settings') {
     $hu_formats = array(
       'short' => 'Y. m. d. H.i',
       'medium' => 'Y. F j. H.i',
       'long' => 'Y. F j., l H.i'
     );
     foreach ($hu_formats as $n => $f) {
-      $form['dates']['date_format_' . $n]['#options'][$f] = format_date(time(), 'custom', $f) . ' (magyar)';
-      $form['dates']['date_format_' . $n]['#default_value'] = variable_get('date_format_' . $n, $f);
+      $form['date_format_' . $n]['#options'][$f] = format_date(time(), 'custom', $f) . ' (magyar)';
+      $form['date_format_' . $n]['#default_value'] = variable_get('date_format_' . $n, $f);
     }
   }
 }
