Changeset 706 for trunk/cgi-bin


Ignore:
Timestamp:
02/26/15 13:15:15 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Add breadcrumb navigation to "update complete" page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r705 r706  
    10021002  }
    10031003
     1004  # Collect existing block info here, since we need it for the breadcrumb nav
     1005  my $binfo = getBlockData($ip_dbh, $webvar{block}, $webvar{basetype});
     1006  my $crumbs = getBreadCrumbs($ip_dbh, $binfo->{parent_id});
     1007  my @rcrumbs = reverse (@$crumbs);
     1008  $utilbar->param(breadcrumb => \@rcrumbs);
     1009
    10041010  # Make sure incoming data is in correct format - custID among other things.
    10051011  return if !validateInput;
     
    10591065
    10601066  # Link back to browse-routed or list-pool page on "Update complete" page.
    1061   my $binfo = getBlockData($ip_dbh, $webvar{block}, $webvar{basetype});
    10621067  my $pblock = getBlockData($ip_dbh, $binfo->{parent_id});
    10631068  $page->param(backid => $binfo->{parent_id});
Note: See TracChangeset for help on using the changeset viewer.