Ignore:
Timestamp:
Jan 9, 2016, 11:45:01 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Some libraries moved to Common package located at Packages directory.
  • Modified: Application class System renamed to Core. System class is not just basic parent class for application.
  • Fixed: alert file now use same application class as other files.
  • Modified: Error application module.
File:
1 edited

Legend:

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

    r816 r838  
    9696            '<tr><td colspan="2"><input type="submit" value="'.T('Create').'" /></td></tr>'.
    9797            '</table></fieldset></form>';
    98       } else $Output = ShowMessage(T('You can\'t create another export. Max for one user is').$this->System->Config['MaxExportPerUser'].'.', MESSAGE_CRITICAL);
     98      } else $Output = ShowMessage(sprintf(T('You can\'t create another export. Max for one user is %d.'), $this->System->Config['MaxExportPerUser']), MESSAGE_CRITICAL);
    9999    } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL);
    100100    return($Output);
     
    117117          $_GET['Filter'] = 'my';
    118118          $this->ExportList();
    119         } else $Output = ShowMessage(T('You can\'t create another export. Max for one user is').' '.$this->System->Config['MaxExportPerUser'].'.', MESSAGE_CRITICAL);
     119        } else $Output = ShowMessage(sprintf(T('You can\'t create another export. Max for one user is %d.'),$this->System->Config['MaxExportPerUser']), MESSAGE_CRITICAL);
    120120      } else $Output = ShowMessage(T('Missing data in form.'), MESSAGE_CRITICAL);
    121121    } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL);
     
    800800            $this->ExportList();
    801801          } else $Output = ShowMessage('Zdrojový export nenalezen', MESSAGE_CRITICAL);
    802         } else $Output = ShowMessage('Nemůžete vytvářet další export. Max. počet na uživatele je '.
    803           $this->System->Config['MaxExportPerUser'].'.', MESSAGE_CRITICAL);
     802        } else $Output = ShowMessage(sprintf(T('You can\'t create another export. Max for one user is %d.'),
     803          $this->System->Config['MaxExportPerUser']), MESSAGE_CRITICAL);
    804804      } else $Output = ShowMessage(T('Export not found.'), MESSAGE_CRITICAL);
    805805    } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL);
Note: See TracChangeset for help on using the changeset viewer.