Changeset 234

Show
Ignore:
Timestamp:
09/07/07 09:55:11 (15 years ago)
Author:
ralle030583
Message:

Fixes:
- cc_detail row count of tables (cause of Capital Ind.)
- capital killer award
- autoupgrade for navigation tables which had still a small error

Other:
- Alliance Logos added (thx to the bored Silent ;-) )

Location:
dev
Files:
100 added
5 modified

Legend:

Unmodified
Added
Removed
  • dev/common/cc_detail.php

    r233 r234  
    5656            $summary = new KillSummaryTable($kl, $ll); 
    5757            $summary->setVerbose(true); 
    58             $summary->setBreak(12); 
     58            $summary->setBreak(13); 
    5959            $summary->setView('combined'); 
    6060 
  • dev/common/includes/autoupgrade.php

    r233 r234  
    107107                INSERT IGNORE INTO `kb3_navigation` VALUES (2,'top',1,'Campaings','?a=campaigns','_self',2,'ALL_PAGES','".KB_SITE."'); 
    108108                INSERT IGNORE INTO `kb3_navigation` VALUES (3,'top',1,'Contracts','?a=contracts','_self',3,'ALL_PAGES','".KB_SITE."'); 
    109                 INSERT IGNORE INTO `kb3_navigation` VALUES (4,'top',1,'Kills','?a=home','_self',4,'ALL_PAGES','".KB_SITE."'); 
     109                INSERT IGNORE INTO `kb3_navigation` VALUES (4,'top',1,'Kills','?a=kills','_self',4,'ALL_PAGES','".KB_SITE."'); 
    110110                INSERT IGNORE INTO `kb3_navigation` VALUES (5,'top',1,'Losses','?a=losses','_self',5,'ALL_PAGES','".KB_SITE."'); 
    111111                INSERT IGNORE INTO `kb3_navigation` VALUES (6,'top',1,'Post Mail','?a=post','_self',6,'ALL_PAGES','".KB_SITE."'); 
  • dev/common/includes/class.navigation.php

    r220 r234  
    99                require_once('common/includes/autoupgrade.php'); 
    1010                check_navigationtable(); 
    11                 $this->contracts_ = killboard::hasContracts(); 
    12         $this->campaigns_ = killboard::hasCampaigns(); 
    1311        $this->sql_start = "SELECT * FROM kb3_navigation"; 
    1412        $this->sql_end = " AND KBSITE LIKE '" . KB_SITE . "' ORDER BY posnr"; 
     
    2220                $query .= " WHERE nav_type LIKE '$this->type_'"; 
    2321                 
    24                 if (!$this->contracts_){ 
     22                if (killboard::hasContracts() == false){ 
    2523                        $query .= " AND url NOT LIKE '?a=contracts'"; 
    2624                } 
    27                 if (!$this->campaigns_){ 
     25                if (killboard::hasCampaigns() == false){ 
    2826                        $query .= " AND url NOT LIKE '?a=campaigns'"; 
    2927                } 
  • dev/common/includes/class.toplist.php

    r209 r234  
    581581        $this->addVictimShipClass(new ShipClass(28)); // mothership 
    582582        $this->addVictimShipClass(new ShipClass(26)); // titan 
     583        $this->addVictimShipClass(new ShipClass(29)); // cap. industrial 
    583584    } 
    584585} 
  • dev/common/includes/globals.php

    r233 r234  
    11<?php 
    22// current subversion revision 
    3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 233 $', $match); 
     3preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 234 $', $match); 
    44define('SVN_REV', $match[1]); 
    55