Changeset 821 for trunk/cgi-bin
- Timestamp:
- 03/16/16 13:33:11 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r820 r821 349 349 path => @templatepath); 350 350 # alternate layout; put master blocks on the front summary page instead of "out"/"down" a 351 # layer in the browse tree 352 my $vrfinfo = HTML::Template->new(filename => "showvrf.tmpl", path => @templatepath); 351 # layer in the browse tree. Leaving the manual include of showvrf.tmpl for reference; not 352 # sure why setting webpath here didn't seem to make it to the output. 353 # my $vrfinfo = HTML::Template->new(filename => "showvrf.tmpl", path => @templatepath); 353 354 foreach my $vrf (@$vrflist) { 354 355 my $masterlist = listSummary($ip_dbh, $vrf->{vrf}); 355 $vrfinfo->param(vrf => $vrf->{vrf}); 356 $vrfinfo->param(masterlist => $masterlist); 357 $vrfinfo->param(addmaster => ($IPDBacl{$authuser} =~ /s/) ); 358 $vrfinfo->param(maydel => ($IPDBacl{$authuser} =~ /s/) ); 359 $vrfinfo->param(sub => 1); 360 $vrf->{vrfinfo} = $vrfinfo->output; 356 $vrf->{masterlist} = $masterlist; 357 $vrf->{addmaster} = ($IPDBacl{$authuser} =~ /s/); 358 $vrf->{maydel} = ($IPDBacl{$authuser} =~ /s/); 359 $vrf->{sub} = 1; 360 # $vrfinfo->param(vrf => $vrf->{vrf}); 361 # $vrfinfo->param(masterlist => $masterlist); 362 # $vrfinfo->param(addmaster => ($IPDBacl{$authuser} =~ /s/) ); 363 # $vrfinfo->param(maydel => ($IPDBacl{$authuser} =~ /s/) ); 364 # $vrfinfo->param(sub => 1); 365 # $vrfinfo->param(webpath => $IPDB::webpath); 366 # $vrf->{vrfinfo} = $vrfinfo->output; 361 367 } 362 368 }
Note:
See TracChangeset
for help on using the changeset viewer.