Changeset 949 for trunk/Modules/Log/Log.php
- Timestamp:
- Apr 24, 2023, 8:26:33 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Log/Log.php
r919 r949 17 17 function DoStart(): void 18 18 { 19 $this->System->FormManager->RegisterClass('Log', array(19 Core::Cast($this->System)->FormManager->RegisterClass('Log', array( 20 20 'Title' => 'Záznamy', 21 21 'Table' => 'Log', … … 51 51 function ShowRSS(): string 52 52 { 53 $this->RawPage = true;54 $this->FormatHTML = false;55 53 Header('Content-Type: text/xml'); 56 54 $Count = 100; … … 71 69 ( 72 70 'Title' => $Line['Module'].' '.$Line['Operation'].' ('.$Line['UserName'].', '.$Line['IPAddress'].')', 73 'Link' => 'https://'. $this->System->Config['Web']['Host'].$this->System->Link('/is/?t=Log&a=list'),71 'Link' => 'https://'.Core::Cast($this->System)->Config['Web']['Host'].$this->System->Link('/is/?t=Log&a=list'), 74 72 'Description' => $Line['Module'].' '.$Line['Operation'].': '.$Line['Value'].' ('.$Line['UserName']. 75 73 ', '.$Line['IPAddress'].', '.HumanDate($Line['Time']).')', … … 79 77 80 78 $RSS = new RSS(); 81 $RSS->Title = $this->System->Config['Web']['Title'].' - Záznamy';82 $RSS->Link = 'https://'. $this->System->Config['Web']['Host'].'/';83 $RSS->Description = 'Aktuality '. $this->System->Config['Web']['Description'];84 $RSS->WebmasterEmail = $this->System->Config['Web']['AdminEmail'];79 $RSS->Title = Core::Cast($this->System)->Config['Web']['Title'].' - Záznamy'; 80 $RSS->Link = 'https://'.Core::Cast($this->System)->Config['Web']['Host'].'/'; 81 $RSS->Description = 'Aktuality '.Core::Cast($this->System)->Config['Web']['Description']; 82 $RSS->WebmasterEmail = Core::Cast($this->System)->Config['Web']['AdminEmail']; 85 83 $RSS->Items = $Items; 86 84 return $RSS->Generate();
Note:
See TracChangeset
for help on using the changeset viewer.