This isn't quite ready yet, but get this diff out of my sight...
authordefacer <defacer>
Tue, 8 Feb 2005 02:42:29 +0000 (02:42 +0000)
committerdefacer <defacer>
Tue, 8 Feb 2005 02:42:29 +0000 (02:42 +0000)
blocks/pagedemo.php

index 9daa9839dd5765fedde361af836a4437ef82ea0e..12f06378b04645a10f9667b15b2fc5250db64f21 100644 (file)
             // but I'm not sure if it's worth the complexity increase...
             $pageblocks = blocks_get_by_page($PAGE);
         }
-
-        $missingblocks = blocks_get_missing($PAGE, $pageblocks);
     }
     
     // The actual display logic is here
     if(blocks_have_content($pageblocks[BLOCK_POS_RIGHT]) || $editing) {
         echo '<td style="vertical-align: top; width: '.$preferred_width_right.'px;">';
         blocks_print_group($PAGE, $pageblocks[BLOCK_POS_RIGHT]);
-        if ($editing && !empty($missingblocks)) {
-            blocks_print_adminblock($PAGE, $missingblocks);
+        if ($editing) {
+            blocks_print_adminblock($PAGE, $pageblocks);
         }
         echo '</td>';
     }