Changeset 80 for trunk/www/Application


Ignore:
Timestamp:
Oct 21, 2009, 10:24:50 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Chybějící include v souborech.
Location:
trunk/www/Application
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/Controller/Backup.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Backup.php');
    46
    57class BackupController extends Controller
  • trunk/www/Application/Controller/Client.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Client.php');
    46
    57class ClientController extends Controller
  • trunk/www/Application/Controller/Cluster.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Cluster.php');
    46
    57class ClusterController extends Controller
  • trunk/www/Application/Controller/Debug.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Debug.php');
    46
    57class DebugController extends Controller
  • trunk/www/Application/Controller/Emulator.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Emulator.php');
    46
    57class EmulatorController extends Controller
  • trunk/www/Application/Controller/News.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/News.php');
    46
    57class NewsController extends Controller
  • trunk/www/Application/Controller/Realm.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Realm.php');
    46
    57class RealmController extends Controller
  • trunk/www/Application/Controller/Server.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Server.php');
    46
    57class ServerController extends Controller
  • trunk/www/Application/Controller/Task.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Task.php');
    46
    57class TaskController extends Controller
  • trunk/www/Application/Controller/Update.php

    r78 r80  
    22
    33include_once(dirname(__FILE__).'/../../Base/Controller.php');
     4include_once(dirname(__FILE__).'/../View/Page.php');
     5include_once(dirname(__FILE__).'/../View/Update.php');
    46
    57class UpdateController extends Controller
  • trunk/www/Application/Model/Backup.php

    r78 r80  
    66{
    77  var $Id;
    8   var $Tash;
     8  var $Task;
    99 
    1010  function __construct($Database, $Id)
  • trunk/www/Application/Model/User.php

    r78 r80  
    124124      else
    125125      {
    126         $this->Database->update('User', 'Id='.$Row['Id'], array('LastLoginTime' => 'NOW()', 'LastIpAddress' => GetRemoteAddress()));     
     126        $this->Database->update('User', 'Id='.$Row['Id'], array('LastLoginTime' => 'NOW()', 'LastIpAddress' => $this->System->GetRemoteAddress()));     
    127127        $this->Database->update('UserOnline', 'SessionId="'.$SID.'"', array('User' => $Row['Id']));
    128128        // načtení stavu stromu
    129129        $Result = $this->System->Translate('UserLoggedIn');
    130         $this->System->Modules['Log']->NewRecord('User', 'Login', 'Login='.$Login.',Host='.gethostbyaddr(GetRemoteAddress()));
     130        $this->System->Modules['Log']->NewRecord('User', 'Login', 'Login='.$Login.',Host='.gethostbyaddr($this->System->GetRemoteAddress()));
    131131      }
    132132    } else $Result = $this->System->Translate('UserNotRegistred');
  • trunk/www/Application/View/User.php

    r78 r80  
    145145    $UserOptions = new Form($this->System, $this->OptionsFormClass);
    146146    $UserOptions->LoadValuesFromDatabase($this->System->Modules['User']->Data['Id']);
    147     $UserOptions->OnSubmit = '?Module=User&Action=UserOptionsSave';
     147    $UserOptions->OnSubmit = '?Module=User&Action=OptionsSave';
    148148    $Output = $UserOptions->ShowEditForm();
    149149    return($Output);
Note: See TracChangeset for help on using the changeset viewer.