Changeset 80 for trunk/www/Application
- Timestamp:
- Oct 21, 2009, 10:24:50 AM (15 years ago)
- Location:
- trunk/www/Application
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/Controller/Backup.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Backup.php'); 4 6 5 7 class BackupController extends Controller -
trunk/www/Application/Controller/Client.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Client.php'); 4 6 5 7 class ClientController extends Controller -
trunk/www/Application/Controller/Cluster.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Cluster.php'); 4 6 5 7 class ClusterController extends Controller -
trunk/www/Application/Controller/Debug.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Debug.php'); 4 6 5 7 class DebugController extends Controller -
trunk/www/Application/Controller/Emulator.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Emulator.php'); 4 6 5 7 class EmulatorController extends Controller -
trunk/www/Application/Controller/News.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/News.php'); 4 6 5 7 class NewsController extends Controller -
trunk/www/Application/Controller/Realm.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Realm.php'); 4 6 5 7 class RealmController extends Controller -
trunk/www/Application/Controller/Server.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Server.php'); 4 6 5 7 class ServerController extends Controller -
trunk/www/Application/Controller/Task.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Task.php'); 4 6 5 7 class TaskController extends Controller -
trunk/www/Application/Controller/Update.php
r78 r80 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/Update.php'); 4 6 5 7 class UpdateController extends Controller -
trunk/www/Application/Model/Backup.php
r78 r80 6 6 { 7 7 var $Id; 8 var $Tas h;8 var $Task; 9 9 10 10 function __construct($Database, $Id) -
trunk/www/Application/Model/User.php
r78 r80 124 124 else 125 125 { 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())); 127 127 $this->Database->update('UserOnline', 'SessionId="'.$SID.'"', array('User' => $Row['Id'])); 128 128 // načtení stavu stromu 129 129 $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())); 131 131 } 132 132 } else $Result = $this->System->Translate('UserNotRegistred'); -
trunk/www/Application/View/User.php
r78 r80 145 145 $UserOptions = new Form($this->System, $this->OptionsFormClass); 146 146 $UserOptions->LoadValuesFromDatabase($this->System->Modules['User']->Data['Id']); 147 $UserOptions->OnSubmit = '?Module=User&Action= UserOptionsSave';147 $UserOptions->OnSubmit = '?Module=User&Action=OptionsSave'; 148 148 $Output = $UserOptions->ShowEditForm(); 149 149 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.