Changeset 327 for trunk/statistic.php


Ignore:
Timestamp:
Feb 20, 2010, 10:34:38 PM (14 years ago)
Author:
maron
Message:

Úprava addonu: vyžší stabilita, odstranění chyby špatného zobrazování vzdálenosti v Gridu, naprogramováno překládání textu tooltipů (nejen názvů), oprava tutoriálu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/statistic.php

    r291 r327  
    1313if($Language['Enabled'] == 1) echo(' <a href="?language='.$Language['Id'].'">'.$Language['Name'].'</a>');
    1414
    15 foreach($TranslationTree as $Group)
     15$SortList = $TranslationTree;
     16
     17  $last = 1;
     18
     19for ($y = 0; $y < 1000; $y = $y + 1) {
     20  foreach($TranslationTree as $Group)
     21  { 
     22    $i = $Group['Id'];
     23    if ($i != 1)
     24     if ($SortList[$last]['BuffPercent'] > $SortList[$i]['BuffPercent']) {
     25       echo($SortList[$last]['BuffPercent'].'-'.$SortList[$i]['BuffPercent'].' ');
     26       $tmp = $SortList[$last];
     27       $SortList[$last] = $SortList[$i];
     28       $SortList[$i] = $tmp;
     29     }
     30     $last = $i;
     31  }
     32  $last = 1;
     33}
     34foreach($SortList as $Group)
    1635  if($Group['TablePrefix'] != '')
    1736  echo('<div class="state-image">
Note: See TracChangeset for help on using the changeset viewer.