Ignore:
Timestamp:
Apr 7, 2020, 10:15:48 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved code formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Import/cmd.php

    r859 r880  
    1313$Output = '';
    1414
    15 if(defined('STDIN') == false)
     15if (defined('STDIN') == false)
    1616{
    1717  $Output = T('Access denied');
     
    1919}
    2020
    21 foreach($_SERVER['argv'] as $parameter)
     21foreach ($_SERVER['argv'] as $parameter)
    2222{
    23   if(strpos($parameter, '=') !== false)
     23  if (strpos($parameter, '=') !== false)
    2424  {
    2525    $index = substr($parameter, 0, strpos($parameter, '='));
     
    3030}
    3131
    32 if(!array_key_exists('id', $_GET))
     32if (!array_key_exists('id', $_GET))
    3333{
    3434  $Output .= '
     
    4949  $Output .= '   version=<version> - nastaví verzi importu default: '.$System->Config['Web']['GameVersion'].'<br /><br />';
    5050      $Output .= '    <id_import_group>:';
    51     foreach($TranslationTree as $Group)
     51    foreach ($TranslationTree as $Group)
    5252    {
    5353      $Output .= '<br />    '.$Group['Id'].' ';
Note: See TracChangeset for help on using the changeset viewer.