Index: trunk/cgi-bin/main.cgi
===================================================================
--- trunk/cgi-bin/main.cgi	(revision 683)
+++ trunk/cgi-bin/main.cgi	(revision 685)
@@ -87,7 +87,4 @@
   $webvar{action} = "index";	#shuts up the warnings.
 }
-
-# collect variations in layout by way of $IPDB::sublistlayout
-$webvar{action} = 'showsubs' if $webvar{action} =~ /^showsubs/;
 
 my $page;
@@ -262,5 +259,5 @@
   } else {
 
-    # Default 3-part layout;  containers, end-use allocations, and free blocks
+    # 3-part layout;  containers, end-use allocations, and free blocks
 
     my $contlist = listContainers($ip_dbh, parent => $webvar{parent});
@@ -278,5 +275,8 @@
   my $pinfo = getBlockData($ip_dbh, $webvar{parent});
 
-  $page->param(del_id => $webvar{parent});
+##fixme:  do we add a wrapper to not show the edit link for master blocks?
+#$page->param(editme => 1) unless $pinfo->{type} ne 'mm';
+
+  $page->param(self_id => $webvar{parent});
   $page->param(block => $pinfo->{block});
   $page->param(mayadd => ($IPDBacl{$authuser} =~ /a/));
