Ignore:
Timestamp:
Feb 22, 2015, 11:20:50 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Tabs converted to spaces.
  • Modified: Remove spaces from end of lines.
  • Added: Code format script.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/Progress.php

    r743 r816  
    22
    33include_once(dirname(__FILE__).'/../../includes/global.php');
    4  
     4
    55  $System = new System();
    66  $System->DoNotShowPage = true;
    77  $System->Run();
    8    
     8
    99
    1010    $Output = '';
     
    1212    ' LEFT JOIN `Export` ON `Export`.`Id` = `ExportTask`.`Export` WHERE  (`Export`.`OutputType` = 9 OR  `Export`.`OutputType` = 10 ) AND `TimeFinish` IS NULL  OR `Export` ='.$_GET['RedirectId'].' ORDER BY `Progress` DESC');// `Export`='.$Export->Id
    1313    while($Task = $DbResult->fetch_assoc()) {
    14       $Export = '<a href="'.$System->Link('/export/?Action=View&ExportId='.$Task['Export']).'">'.$Task['Export'].'</a>';         
     14      $Export = '<a href="'.$System->Link('/export/?Action=View&ExportId='.$Task['Export']).'">'.$Task['Export'].'</a>';
    1515      if ($_GET['RedirectId'] == $Task['Export'])
    1616        $Export = ''.$Export.' (tento)';
     
    1919      'setTimeout("parent.location.href=\''.$System->Link('/export/?Action=View&Tab=7&ExportId='.$_GET['RedirectId']).'\'", 500)'.
    2020      '</script>';
    21     }   
     21    }
    2222
    2323    echo $Output;
Note: See TracChangeset for help on using the changeset viewer.