? multiblock.module.changed
Index: multiblock.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/multiblock/multiblock.module,v
retrieving revision 1.1.4.7
diff -u -r1.1.4.7 multiblock.module
--- multiblock.module	6 Jan 2009 07:36:58 -0000	1.1.4.7
+++ multiblock.module	13 Jan 2009 03:43:46 -0000
@@ -111,7 +111,7 @@
 
   // Get an array of existing blocks.
   $multiblocks = multiblock_get_block(NULL, TRUE);
-  return theme('multiblock_general', $form, $multiblocks);
+  return theme('multiblock_general', $form, $multiblocks, isset($req_block));
 }
 
 /**
@@ -149,7 +149,7 @@
   );
   $form['submit'] = array(
     '#type' => 'submit',
-    '#value' => $update ? t('Update Title'): t('Add Instance'),
+    '#value' => t('Save'),
   );
   return $form;
 }
@@ -291,12 +291,12 @@
 /**
  * Theme function for the "Manage Block Instances" page.
  */
-function theme_multiblock_general($add_block_form, $multiblocks) {
+function theme_multiblock_general($add_block_form, $multiblocks, $edit = FALSE) {
   $output = '';
 //  $noyes = array('No', 'Yes');
   $noyes = array('misc/watchdog-error.png', 'misc/watchdog-ok.png');
   
-  $output .= '<p><h3>'. t('Add Instance') .'</h3>'. $add_block_form .'</p>';
+  $output .= '<p><h3>'. ($edit ? t('Edit Instance') : t('Add Instance')) .'</h3>'. $add_block_form .'</p>';
   
   $header = array(t('Title'), t('Original Block Title'), t('Original Module'), t('MultiBlock Enabled'), t('Original Delta'), t('Action'));
   
