Changeset 786 for trunk/cgi-bin/main.cgi
- Timestamp:
- 10/08/15 17:25:44 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r782 r786 982 982 } # rDNS availability check 983 983 984 # backup data 985 if ($blockinfo->{hasbk}) { 986 $page->param(hasbackup => $blockinfo->{hasbk}); 987 for my $bkfield (qw(brand model src user vpass epass port)) { 988 $page->param("bk$bkfield" => $blockinfo->{"bk$bkfield"}); 989 } 990 $page->param(bktelnet => 1) if $blockinfo->{bktype} eq 'telnet'; 991 $page->param(bkssh => 1) if $blockinfo->{bktype} eq 'SSH'; 992 } 993 984 994 # consider extending this to show time as well as date 985 995 my ($lastmod,undef) = split /\s+/, $blockinfo->{lastmod};
Note:
See TracChangeset
for help on using the changeset viewer.