X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=index.pl;h=537f46fed29ab15cd2f93772da02c22d66f60c7a;hb=cbd638b5704dd3a5afeec3e0290c06fd56e98cd7;hp=fe1572b68330d920d1e89d4fd2256bc5c513aa33;hpb=5af89dd22a075c6652b779ef471bf21cb9965cb6;p=ndwebbie.git diff --git a/index.pl b/index.pl index fe1572b..537f46f 100755 --- a/index.pl +++ b/index.pl @@ -64,7 +64,7 @@ while (my ($name,$attack,$gid) = $query->fetchrow()){ our $LOG = $DBH->prepare('INSERT INTO log (uid,text) VALUES(?,?)'); my $page = 'main'; -if (param('page') =~ /^(main|check|motd|points|covop|top100|launchConfirmation|addintel|defrequest|raids|editRaid|calls|intel|users|alliances|memberIntel)$/){ +if (param('page') =~ /^(main|check|motd|points|covop|top100|launchConfirmation|addintel|defrequest|raids|editRaid|calls|intel|users|alliances|memberIntel|resources)$/){ $page = $1; } @@ -96,6 +96,7 @@ unless ($XML){ $TEMPLATE->param(isHC => isHC()); $TEMPLATE->param(isDC => isDC()); $TEMPLATE->param(isBC => isBC()); + $TEMPLATE->param(isIntel => isBC()); $TEMPLATE->param(isAttacker => $ATTACKER && (!isMember() || ((($TICK - $fleetupdate < 24) || isScanner()) && $PLANET))); if ($ATTACKER && (!isMember() || ((($TICK - $fleetupdate < 24) || isScanner()) && $PLANET))){ $ND::TEMPLATE->param(Targets => listTargets());