Ignore:
Timestamp:
Feb 24, 2009, 4:44:44 PM (16 years ago)
Author:
maron
Message:

Zobrazení informací o překladatelském týmu, možnost exportu pro tým

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/img_statistic.php

    r75 r131  
    66$TranslationTree = GetTranslationTree();
    77$Group = $TranslationTree[$_GET['group']];
     8if (array_key_exists('team', $_GET)) {
     9        $team = ' AND User IN (SELECT ID FROM user WHERE team = '.$_GET['team'].')';
     10} else $team = '';
    811
    9 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE (Language <> 0) AND (Complete = 1)'));
     12$ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE (Language <> 0) AND (Complete = 1) '.$team));
    1013$NumberTranslate = $ID[0];
    1114 
Note: See TracChangeset for help on using the changeset viewer.