]> ruin.nu Git - ndwebbie.git/blobdiff - index.pl
matct targetlist over multiple lines
[ndwebbie.git] / index.pl
index 31beaf5ce486f3a2159fb571bf263ea700825ea0..3d324604456016bccdcc95d625e41f59b03482e3 100755 (executable)
--- a/index.pl
+++ b/index.pl
@@ -71,6 +71,8 @@ if (param('page') =~ /^(main|check|motd|points|covop|top100|launchConfirmation|a
 our $XML = 0;
 $XML = 1 if param('xml') and $page =~ /^(raids)$/;
 
+our $AJAX = 1;
+
 my $type = 'text/html';
 if ($XML){
        $type = 'text/xml';
@@ -96,6 +98,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());