Changeset 949
- Timestamp:
- Apr 24, 2023, 8:26:33 AM (20 months ago)
- Location:
- trunk
- Files:
-
- 8 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(); -
trunk/Packages/Common/Image.php
r887 r949 98 98 } 99 99 100 function Output(): void101 {102 $this->SaveToFile(NULL);103 }104 105 100 function SetSize(int $Width, int $Height): void 106 101 { -
trunk/Packages/Common/Mail.php
r935 r949 21 21 private string $Boundary; 22 22 public bool $TestMode; 23 public string $SenderAddress; 24 public string $SenderName; 23 25 24 26 function __construct() … … 72 74 function Organization(string $org): void 73 75 { 74 if (trim($org != '')) $this-> xheaders['Organization'] = $org;76 if (trim($org != '')) $this->Headers['Organization'] = $org; 75 77 } 76 78 … … 81 83 if (!isset($this->Priorities[$Priority - 1])) return false; 82 84 83 $this-> xheaders['X-Priority'] = $this->Priorities[$Priority - 1];85 $this->Headers['X-Priority'] = $this->Priorities[$Priority - 1]; 84 86 return true; 85 87 } -
trunk/Packages/Common/ModelDesc.php
r934 r949 8 8 public string $PrimaryKey; 9 9 public bool $Memory; 10 public $DefaultValuesMethod; 10 11 11 12 function __construct(string $Name) -
trunk/Packages/Common/ModuleManager.php
r900 r949 10 10 public $OnLoadModules; 11 11 public $OnInstallModel; 12 public $OnUninst sallModel;12 public $OnUninstallModel; 13 13 public $OnInstallModule; 14 public $OnUninstsallModule; 14 public $OnUninstallModule; 15 public $OnModuleChange; 15 16 private int $NewModuleId; 16 17 … … 25 26 $this->OnInstallModule = null; 26 27 $this->OnUninstallModule = null; 28 $this->OnModuleChange = null; 27 29 $this->NewModuleId = 1; 28 30 } -
trunk/Packages/Common/System.php
r912 r949 3 3 class ModelDef 4 4 { 5 public string $Title; 5 6 public array $OnChange; 6 7 -
trunk/Packages/Common/Table.php
r888 r949 97 97 public TableMemory $Table; 98 98 public string $Style; 99 private array $OrderDirSQL; 99 100 100 101 function __construct() -
trunk/Packages/Common/Update.php
r890 r949 8 8 public Database $Database; 9 9 public string $InstallMethod; 10 public $InsertSampleDataMethod; 10 11 11 12 function __construct()
Note:
See TracChangeset
for help on using the changeset viewer.