Index: zen/template.block-editing.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/zen/zen/template.block-editing.inc,v
retrieving revision 1.3
diff -u -p -r1.3 template.block-editing.inc
--- zen/template.block-editing.inc	1 Feb 2009 21:27:34 -0000	1.3
+++ zen/template.block-editing.inc	27 Apr 2009 01:25:53 -0000
@@ -19,7 +19,7 @@ function zen_preprocess_block_editing(&$
 
   // Display 'edit block' for custom blocks.
   if ($block->module == 'block') {
-    $edit_links[] = l('<span>' . t('edit block') . '</span>', 'admin/build/block/configure/' . $block->module . '/' . $block->delta,
+    $vars['edit_links_array'][] = l('<span>' . t('edit block') . '</span>', 'admin/build/block/configure/' . $block->module . '/' . $block->delta,
       array(
         'attributes' => array(
           'title' => t('edit the content of this block'),
@@ -32,7 +32,7 @@ function zen_preprocess_block_editing(&$
   }
   // Display 'configure' for other blocks.
   else {
-    $edit_links[] = l('<span>' . t('configure') . '</span>', 'admin/build/block/configure/' . $block->module . '/' . $block->delta,
+    $vars['edit_links_array'][] = l('<span>' . t('configure') . '</span>', 'admin/build/block/configure/' . $block->module . '/' . $block->delta,
       array(
         'attributes' => array(
           'title' => t('configure this block'),
@@ -47,7 +47,7 @@ function zen_preprocess_block_editing(&$
   // Display 'edit view' for Views blocks.
   if ($block->module == 'views' && user_access('administer views')) {
     list($view_name, $view_block) = explode('-block', $block->delta);
-    $edit_links[] = l('<span>' . t('edit view') . '</span>', 'admin/build/views/edit/' . $view_name,
+    $vars['edit_links_array'][] = l('<span>' . t('edit view') . '</span>', 'admin/build/views/edit/' . $view_name,
       array(
         'attributes' => array(
           'title' => t('edit the view that defines this block'),
@@ -62,7 +62,7 @@ function zen_preprocess_block_editing(&$
   // Display 'edit menu' for Menu blocks.
   elseif (($block->module == 'menu' || ($block->module == 'user' && $block->delta == 1)) && user_access('administer menu')) {
     $menu_name = ($block->module == 'user') ? 'navigation' : $block->delta;
-    $edit_links[] = l('<span>' . t('edit menu') . '</span>', 'admin/build/menu-customize/' . $menu_name,
+    $vars['edit_links_array'][] = l('<span>' . t('edit menu') . '</span>', 'admin/build/menu-customize/' . $menu_name,
       array(
         'attributes' => array(
           'title' => t('edit the menu that defines this block'),
@@ -76,7 +76,7 @@ function zen_preprocess_block_editing(&$
   // Display 'edit menu' for Menu block blocks.
   elseif ($block->module == 'menu_block' && user_access('administer menu')) {
     list($menu_name, ) = split(':', variable_get("menu_block_{$block->delta}_parent", 'navigation:0'));
-    $edit_links[] = l('<span>' . t('edit menu') . '</span>', 'admin/build/menu-customize/' . $menu_name,
+    $vars['edit_links_array'][] = l('<span>' . t('edit menu') . '</span>', 'admin/build/menu-customize/' . $menu_name,
       array(
         'attributes' => array(
           'title' => t('edit the menu that defines this block'),
@@ -88,6 +88,5 @@ function zen_preprocess_block_editing(&$
     );
   }
 
-  $vars['edit_links_array'] = $edit_links;
-  $vars['edit_links'] = '<div class="edit">' . implode(' ', $edit_links) . '</div>';
+  $vars['edit_links'] = '<div class="edit">' . implode(' ', $vars['edit_links_array']) . '</div>';
 }
