Ignore:
Timestamp:
Aug 15, 2013, 11:17:26 PM (11 years ago)
Author:
chronos
Message:
  • Fixed: System variable as parameter to constructors of descendents of Module class.
  • Removed: End PHP mark "?>" from all files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/View/Emulator.php

    r92 r93  
    3636  function ItemList()
    3737  {
    38     global $Config;
    39    
    4038    $Output = '<h4>Seznam verzí emulátoru</h4>';
    4139    $Table = new Table($this->ItemListFormClass, $this->System);
     
    5957  {
    6058    $Id = $_GET['Id'];
    61     //$Server = new Server($this->Database, $Id);
     59    //$Server = new Server($this->System, $Id);
    6260    $Output = '<h4>Podrobnosti emulátoru</h4>';
    6361    $Form = new Form($this->System, $this->ItemFormClass);
     
    6563    $Output .= $Form->ShowTable();
    6664    $Output .= '<div style="text-align: center">';
    67     $Emulator = new Emulator($this->Database, $Id);
     65    $Emulator = new Emulator($this->System, $Id);
    6866    if($this->System->Modules['Permission']->Check('Emulator', 'Download', $Emulator->Id))
    6967    {
     
    106104    if(array_key_exists('Id', $_GET))
    107105    {
    108       $Emulator = new Emulator($this->Database, $_GET['Id']);
     106      $Emulator = new Emulator($this->System, $_GET['Id']);
    109107      if($this->System->Modules['Permission']->Check('Emulator', 'Download', $Emulator->Id))
    110108      {
     
    122120    if(array_key_exists('Id', $_GET))
    123121    {
    124       $Emulator = new Emulator($this->Database, $_GET['Id']);
     122      $Emulator = new Emulator($this->System, $_GET['Id']);
    125123      if($this->System->Modules['Permission']->Check('Emulator', 'Download', $Emulator->Id))
    126124      {
     
    134132  }
    135133}
    136 
    137 ?>
Note: See TracChangeset for help on using the changeset viewer.