- Timestamp:
- Aug 3, 2021, 11:38:29 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/BaseView.php
r899 r912 8 8 public bool $FormatHTML = false; 9 9 public bool $ShowRuntimeInfo = false; 10 public bool $ ClearPage = false;10 public bool $RawPage = false; 11 11 public bool $BasicHTML = false; 12 12 public string $ParentClass = ''; 13 public string $ ShortTitle;14 public string $ FullTitle;13 public string $Title; 14 public string $Description; 15 15 public string $Encoding; 16 16 public string $Style; … … 58 58 while ($Page) 59 59 { 60 $Output = ' > <a href="'.$this->System->Link($ScriptName).'/">'.$Page-> ShortTitle.'</a>'.$Output;60 $Output = ' > <a href="'.$this->System->Link($ScriptName).'/">'.$Page->Title.'</a>'.$Output; 61 61 62 62 if (class_exists($Page->ParentClass)) … … 73 73 function ShowHeader(Page $Page): string 74 74 { 75 $Title = $Page->FullTitle; 76 $Path = $Page->ShortTitle; 75 $Path = $Page->Title; 77 76 78 77 $Navigation = $this->ShowNavigation($Page); … … 87 86 '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Encoding.'" />'. 88 87 '<script type="text/javascript" src="'.$this->System->Link('/style/').$this->Style.'/global.js"></script>'. 89 '<title>'.$ this->System->Config['Web']['Title'].' - '.$Path.'</title>';88 '<title>'.$Path.' - '.$this->System->Config['Web']['Title'].'</title>'; 90 89 91 90 // Show page headers … … 133 132 134 133 $Output = $Page->Show(); 135 if ($Page-> ClearPage == false)134 if ($Page->RawPage == false) 136 135 { 137 136 $Output = $this->ShowHeader($Page).$Output.$this->ShowFooter(); -
trunk/Application/Core.php
r903 r912 152 152 if (file_exists($this->ModuleManager->FileName)) $this->ModuleManager->LoadState(); 153 153 if (ModuleSetup::Cast($ModuleSetup)->CheckState()) 154 154 { 155 155 $this->ModuleManager->StartAll(array(ModuleCondition::Enabled)); 156 156 } … … 236 236 return $System; 237 237 } 238 throw new Exception('Expected ModuleSetuptype but '.gettype($System));238 throw new Exception('Expected Core type but '.gettype($System)); 239 239 } 240 240 } … … 245 245 { 246 246 parent::__construct($System); 247 $this->FullTitle = 'Stránka nenalezena'; 248 $this->ShortTitle = 'Stránka nenalezena'; 247 $this->Title = 'Stránka nenalezena'; 249 248 $this->ParentClass = 'PagePortal'; 250 249 } -
trunk/Modules/API/API.php
r899 r912 53 53 { 54 54 parent::__construct($System); 55 $this-> ClearPage = true;55 $this->RawPage = true; 56 56 $this->DataFormat = ''; 57 57 } -
trunk/Modules/Chat/Chat.php
r899 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Výpis z historie chatu';9 $this-> ShortTitle = 'Historie chatu';8 $this->Title = 'Historie chatu'; 9 $this->Description = 'Výpis historie chatu'; 10 10 $this->ParentClass = 'PagePortal'; 11 11 } -
trunk/Modules/Contract/Contract.php
r905 r912 76 76 { 77 77 parent::__construct($System); 78 $this->FullTitle = 'Generování smlouvy'; 79 $this->ShortTitle = 'Generování smlouvy'; 78 $this->Title = 'Generování smlouvy'; 80 79 $this->ParentClass = 'PagePortal'; 81 80 } -
trunk/Modules/Customer/Customer.php
r909 r912 264 264 { 265 265 parent::__construct($System); 266 $this-> FullTitle = 'Dokumenty klienta';267 $this-> ShortTitle = 'Dokumenty';266 $this->Title = 'Dokumenty'; 267 $this->Description = 'Dokumenty klienta'; 268 268 $this->ParentClass = 'PageUser'; 269 269 } -
trunk/Modules/EmailQueue/EmailQueue.php
r899 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Odeslání pošty z fronty';9 $this-> ShortTitle = 'Fronta pošty';8 $this->Title = 'Fronta pošty'; 9 $this->Description = 'Odeslání pošty z fronty'; 10 10 $this->ParentClass = 'PagePortal'; 11 11 } -
trunk/Modules/File/File.php
r901 r912 122 122 { 123 123 $Hash = $_GET['h']; 124 $this-> ClearPage = true;124 $this->RawPage = true; 125 125 ModuleFile::Cast($this->System->GetModule('File'))->File->DownloadHash($Hash); 126 126 return ''; … … 129 129 { 130 130 $Id = $_GET['i'] * 1; 131 $this-> ClearPage = true;131 $this->RawPage = true; 132 132 ModuleFile::Cast($this->System->GetModule('File'))->File->DownloadId($Id); 133 133 } … … 153 153 { 154 154 parent::__construct($System); 155 $this->FullTitle = 'File check'; 156 $this->ShortTitle = 'File check'; 155 $this->Title = 'File check'; 157 156 $this->ParentClass = 'PagePortal'; 158 157 } -
trunk/Modules/Finance/Import.php
r901 r912 6 6 { 7 7 parent::__construct($System); 8 $this->FullTitle = 'Import plateb'; 9 $this->ShortTitle = 'Import plateb'; 8 $this->itle = 'Import plateb'; 10 9 $this->ParentClass = 'PageFinance'; 11 10 } -
trunk/Modules/Finance/Manage.php
r908 r912 6 6 { 7 7 parent::__construct($System); 8 $this->FullTitle = 'Správa financí'; 9 $this->ShortTitle = 'Správa financí'; 8 $this->Title = 'Správa financí'; 10 9 $this->ParentClass = 'PageFinance'; 11 10 } -
trunk/Modules/Finance/Trade.php
r888 r912 8 8 { 9 9 parent::__construct($System); 10 $this->FullTitle = 'Daňová evidence'; 11 $this->ShortTitle = 'Daňová evidence'; 10 $this->Title = 'Daňová evidence'; 12 11 $this->ParentClass = 'PageFinance'; 13 12 } -
trunk/Modules/Finance/UserState.php
r901 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Stav financí účastníka';9 $this-> ShortTitle = 'Stav financí';8 $this->Title = 'Stav financí'; 9 $this->Description = 'Stav financí účastníka'; 10 10 $this->ParentClass = 'PageUser'; 11 11 } -
trunk/Modules/FinanceBankAPI/FileImport.php
r901 r912 72 72 { 73 73 parent::__construct($System); 74 $this->FullTitle = 'Import plateb přes API'; 75 $this->ShortTitle = 'Import plateb přes API'; 74 $this->Title = 'Import plateb přes API'; 76 75 $this->ParentClass = 'PageFinance'; 77 76 } … … 115 114 { 116 115 parent::__construct($System); 117 $this->FullTitle = 'Import plateb ze souboru'; 118 $this->ShortTitle = 'Import plateb ze souboru'; 116 $this->Title = 'Import plateb ze souboru'; 119 117 $this->ParentClass = 'PageFinance'; 120 118 } -
trunk/Modules/IS/IS.php
r905 r912 12 12 { 13 13 parent::__construct($System); 14 $this->FullTitle = 'Správa dat'; 15 $this->ShortTitle = 'Správa dat'; 14 $this->Title = 'Správa dat'; 16 15 $this->ParentClass = 'PagePortal'; 17 16 … … 173 172 $Form->SetClass($Table); 174 173 $Form->LoadValuesFromForm(); 175 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' úprava';174 $this->Title .= ' - '.$Form->Definition['Title'].' úprava'; 176 175 try 177 176 { … … 215 214 $Form->SetClass($Table); 216 215 $Form->LoadValuesFromDatabase($Id); 217 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' úprava';216 $this->Title .= ' - '.$Form->Definition['Title'].' úprava'; 218 217 $Form->OnSubmit = '?a=edit&t='.$Table.'&i='.$_GET['i'].'&o=save'; 219 218 $Output .= $Form->ShowEditForm(); … … 246 245 $Form->SetClass($Table); 247 246 $Form->LoadValuesFromForm(); 248 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' duplikování';247 $this->Title .= ' - '.$Form->Definition['Title'].' duplikování'; 249 248 try 250 249 { … … 286 285 $Form->SetClass($Table); 287 286 $Form->LoadValuesFromDatabase($Id); 288 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' duplikování';287 $this->Title .= ' - '.$Form->Definition['Title'].' duplikování'; 289 288 $Form->OnSubmit = '?a='.$_GET['a'].'&t='.$Table.'&o=save'; 290 289 $Output .= $Form->ShowEditForm(); … … 318 317 $Form->SetClass($Table); 319 318 $Form->LoadValuesFromDatabase($Id); 320 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' odstranění';319 $this->Title .= ' - '.$Form->Definition['Title'].' odstranění'; 321 320 if (array_key_exists('BeforeDelete', $Form->Definition)) 322 321 { … … 355 354 $Form->SetClass($Table); 356 355 $Form->LoadValuesFromForm(); 357 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' přidání';356 $this->Title .= ' - '.$Form->Definition['Title'].' přidání'; 358 357 try 359 358 { … … 405 404 $Form = new Form($this->System->FormManager); 406 405 $Form->SetClass($Table); 407 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' přidání';406 $this->Title .= ' - '.$Form->Definition['Title'].' přidání'; 408 407 // Load presets from URL 409 408 foreach ($_GET as $Key => $Value) … … 477 476 $Form = new Form($this->System->FormManager); 478 477 $Form->SetClass($Table); 479 $this-> ShortTitle .= ' - '.$Form->Definition['Title'].' položka';478 $this->Title .= ' - '.$Form->Definition['Title'].' položka'; 480 479 $Form->LoadValuesFromDatabase($Id); 481 480 $Form->OnSubmit = '?a=view'; … … 797 796 $FormClass = $this->System->FormManager->Classes[$Table]; 798 797 else return $this->SystemMessage('Chyba', 'Tabulka '.$Table.' nenalezena'); 799 if ($ExcludeColumn == '') $this-> ShortTitle .= ' - '.$FormClass['Title'];798 if ($ExcludeColumn == '') $this->Title .= ' - '.$FormClass['Title']; 800 799 if (array_key_exists('ItemActions', $FormClass)) 801 800 { -
trunk/Modules/Log/Log.php
r908 r912 51 51 function ShowRSS(): string 52 52 { 53 $this-> ClearPage = true;53 $this->RawPage = true; 54 54 $this->FormatHTML = false; 55 55 Header('Content-Type: text/xml'); -
trunk/Modules/Map/Map.php
r899 r912 8 8 { 9 9 parent::__construct($System); 10 $this->FullTitle = 'Mapa sítě'; 11 $this->ShortTitle = 'Mapa sítě'; 10 $this->Title = 'Mapa sítě'; 12 11 $this->ParentClass = 'PagePortal'; 13 12 } -
trunk/Modules/Meals/Meals.php
r899 r912 11 11 { 12 12 parent::__construct($System); 13 $this-> FullTitle = 'Jídleníček jídelny Na kopečku';14 $this-> ShortTitle = 'Jídelníček';13 $this->Title = 'Jídelníček'; 14 $this->Description = 'Jídleníček jídelny Na kopečku'; 15 15 $this->ParentClass = 'PagePortal'; 16 16 } … … 50 50 function ShowPrint(): string 51 51 { 52 $this-> ClearPage = true;52 $this->RawPage = true; 53 53 54 54 $Output = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -
trunk/Modules/Meteostation/Meteostation.php
r899 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Stav meteostanice';9 $this-> ShortTitle = 'Meteostanice';8 $this->Title = 'Meteostanice'; 9 $this->Description = 'Stav meteostanice'; 10 10 $this->ParentClass = 'PagePortal'; 11 11 } -
trunk/Modules/Monitoring/Monitoring.php
r899 r912 24 24 { 25 25 parent::__construct($System); 26 $this->FullTitle = 'Monitoring'; 27 $this->ShortTitle = 'Monitoring'; 26 $this->Title = 'Monitoring'; 28 27 $this->ParentClass = 'PagePortal'; 29 28 } -
trunk/Modules/Network/HostList.php
r887 r912 8 8 { 9 9 parent::__construct($System); 10 $this-> FullTitle = 'Seznam registrovanýchpočítačů';11 $this-> ShortTitle = 'Seznampočítačů';10 $this->Title = 'Seznam počítačů'; 11 $this->Description = 'Seznam registrovaných počítačů'; 12 12 $this->ParentClass = 'PageNetwork'; 13 13 } -
trunk/Modules/Network/Hosting.php
r887 r912 6 6 { 7 7 parent::__construct($System); 8 $this->FullTitle = 'Hostované projekty'; 9 $this->ShortTitle = 'Hostované projekty'; 8 $this->Title = 'Hostované projekty'; 10 9 $this->ParentClass = 'PageNetwork'; 11 10 } -
trunk/Modules/Network/Network.php
r911 r912 12 12 { 13 13 parent::__construct($System); 14 $this-> FullTitle = 'Výpis obsazení frekvenčních kanálů';15 $this-> ShortTitle = 'Frekvenční plán';14 $this->Title = 'Frekvenční plán'; 15 $this->Description = 'Výpis obsazení frekvenčních kanálů'; 16 16 $this->ParentClass = 'PageNetwork'; 17 17 } … … 83 83 { 84 84 parent::__construct($System); 85 $this-> FullTitle = 'Technické informace o síti';86 $this-> ShortTitle = 'Síť';85 $this->Title = 'Síť'; 86 $this->Description = 'Technické informace o síti'; 87 87 $this->ParentClass = 'PagePortal'; 88 88 } … … 895 895 $Output .= $StillOffline['Report']; 896 896 $Offline = $this->OnlineList('Offline', 0, -1, 0); 897 return array('Report' => $Output, 'Count' => $Offline['Count'], ' ShortTitle' => 'Odezva');897 return array('Report' => $Output, 'Count' => $Offline['Count'], 'Title' => 'Odezva'); 898 898 } 899 899 … … 947 947 $Output .= $StillOffline['Report']; 948 948 $Offline = $this->PortCheckList('Offline', 0, -1, 0); 949 return array('Report' => $Output, 'Count' => $Offline['Count'], ' ShortTitle' => 'Port');949 return array('Report' => $Output, 'Count' => $Offline['Count'], 'Title' => 'Port'); 950 950 } 951 951 } -
trunk/Modules/Network/Subnet.php
r887 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Informace o podsítích';9 $this-> ShortTitle = 'Podsítě';8 $this->Title = 'Podsítě'; 9 $this->Description = 'Informace o podsítích'; 10 10 $this->ParentClass = 'PageNetwork'; 11 11 } -
trunk/Modules/Network/UserHosts.php
r887 r912 6 6 { 7 7 parent::__construct($System); 8 $this->FullTitle = 'Registrované počítače'; 9 $this->ShortTitle = 'Registrované počítače'; 8 $this->Title = 'Registrované počítače'; 10 9 $this->ParentClass = 'PageNetwork'; 11 10 } -
trunk/Modules/NetworkConfigRouterOS/NetworkConfigRouterOS.php
r899 r912 52 52 { 53 53 parent::__construct($System); 54 $this-> FullTitle = 'Přístup zdarma k Internetu';55 $this-> ShortTitle = 'Internet zdarma';54 $this->Title = 'Internet zdarma'; 55 $this->Description = 'Přístup zdarma k Internetu'; 56 56 $this->ParentClass = 'PagePortal'; 57 57 -
trunk/Modules/NetworkShare/SharePage.php
r888 r912 20 20 { 21 21 parent::__construct($System); 22 $this-> FullTitle = 'Prohledávání sdílených souborů';23 $this-> ShortTitle = 'Sdílené soubory';22 $this->Title = 'Sdílené soubory'; 23 $this->Description = 'Prohledávání sdílených souborů'; 24 24 $this->ParentClass = 'PagePortal'; 25 25 } -
trunk/Modules/NetworkTopology/NetworkTopology.php
r899 r912 8 8 { 9 9 parent::__construct($System); 10 $this-> FullTitle = 'Grafické zobrazení topologie sítě';11 $this-> ShortTitle = 'Topologie sítě';10 $this->Title = 'Topologie sítě'; 11 $this->Description = 'Grafické zobrazení topologie sítě'; 12 12 $this->ParentClass = 'PagePortal'; 13 13 } -
trunk/Modules/News/NewsPage.php
r908 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Aktualní informace';9 $this-> ShortTitle = 'Aktuality';8 $this->Title = 'Aktuality'; 9 $this->Description = 'Aktualní informace'; 10 10 $this->ParentClass = 'PagePortal'; 11 11 } … … 312 312 { 313 313 parent::__construct($System); 314 $this->FullTitle = 'Aktualizace aktualit'; 315 $this->ShortTitle = 'Aktualizace aktualit'; 314 $this->Title = 'Aktualizace aktualit'; 316 315 $this->ParentClass = 'PageNews'; 317 316 } … … 332 331 { 333 332 parent::__construct($System); 334 $this->FullTitle = 'Odběry aktualit'; 335 $this->ShortTitle = 'Odběry aktualit'; 333 $this->Title = 'Odběry aktualit'; 336 334 $this->ParentClass = 'PageNews'; 337 335 } … … 371 369 { 372 370 parent::__construct($System); 373 $this-> FullTitle = 'RSS kanál aktualit';374 $this-> ShortTitle = 'Aktuality RSS';371 $this->Title = 'Aktuality RSS'; 372 $this->Description = 'RSS kanál aktualit'; 375 373 $this->ParentClass = 'PageNews'; 376 374 } … … 378 376 function Show(): string 379 377 { 380 $this-> ClearPage = true;378 $this->RawPage = true; 381 379 $this->FormatHTML = false; 382 380 Header('Content-Type: text/xml'); -
trunk/Modules/Notify/Notify.php
r908 r912 80 80 } 81 81 if (strlen($Title) > 0) $Title .= ', '; 82 $Title .= $Status[' ShortTitle'].':'.$Status['Count'];82 $Title .= $Status['Title'].':'.$Status['Count']; 83 83 } 84 84 } … … 143 143 function ShowLogRSS(): string 144 144 { 145 $this-> ClearPage = true;145 $this->RawPage = true; 146 146 $this->FormatHTML = false; 147 147 Header('Content-Type: text/xml'); -
trunk/Modules/OpeningHours/OpeningHours.php
r901 r912 11 11 { 12 12 parent::__construct($System); 13 $this-> FullTitle = 'Otvírací doby místních subjektů';14 $this-> ShortTitle = 'Otvírací doby';13 $this->Title = 'Otvírací doby'; 14 $this->Description = 'Otvírací doby místních subjektů'; 15 15 $this->ParentClass = 'PagePortal'; 16 16 } -
trunk/Modules/Portal/Portal.php
r902 r912 96 96 { 97 97 parent::__construct($System); 98 $this-> FullTitle = 'Zděchovský rozcestník';99 $this-> ShortTitle = 'Rozcestník';98 $this->Title = 'Rozcestník'; 99 $this->Description = 'Zděchovský rozcestník'; 100 100 } 101 101 -
trunk/Modules/RSS/RSS.php
r899 r912 65 65 function Show(): string 66 66 { 67 $this-> ClearPage = true;67 $this->RawPage = true; 68 68 69 69 if (array_key_exists('channel', $_GET)) $ChannelName = $_GET['channel']; -
trunk/Modules/Search/Search.php
r899 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Hledání v obsahu';9 $this-> ShortTitle = 'Vyhledávání';8 $this->Title = 'Vyhledávání'; 9 $this->Description = 'Hledání v obsahu'; 10 10 $this->ParentClass = 'PagePortal'; 11 11 } -
trunk/Modules/SpeedTest/SpeedTest.php
r899 r912 35 35 { 36 36 parent::__construct($System); 37 $this-> FullTitle = 'Test rychlosti připojení';38 $this-> ShortTitle = 'Test rychlosti';37 $this->Title = 'Test rychlosti'; 38 $this->Description = 'Test rychlosti připojení'; 39 39 $this->ParentClass = 'PagePortal'; 40 40 } -
trunk/Modules/TV/TV.php
r899 r912 8 8 { 9 9 parent::__construct($System); 10 $this-> FullTitle = 'Síťová televize';11 $this-> ShortTitle = 'IPTV';10 $this->Title = 'IPTV'; 11 $this->Description = 'Síťová televize'; 12 12 $this->ParentClass = 'PagePortal'; 13 13 } … … 71 71 function Show(): string 72 72 { 73 $this-> ClearPage = true;73 $this->RawPage = true; 74 74 75 75 Header("Content-Type: audio/mpegurl"); -
trunk/Modules/TV/tkr.php
r887 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Seznam televizních kanálů místníkabelové televize';9 $this-> ShortTitle = 'Kanálykabelové televize';8 $this->Title = 'Kanály kabelové televize'; 9 $this->Description = 'Seznam televizních kanálů místní kabelové televize'; 10 10 } 11 11 -
trunk/Modules/TimeMeasure/Graph.php
r888 r912 19 19 function Show(): string 20 20 { 21 $this-> ClearPage = true;21 $this->RawPage = true; 22 22 $this->Render(); 23 23 return ''; -
trunk/Modules/TimeMeasure/Main.php
r887 r912 11 11 { 12 12 parent::__construct($System); 13 $this-> ShortTitle = 'Grafy';14 $this-> FullTitle= 'Časové grafy veličin';13 $this->Title = 'Grafy'; 14 $this->Description = 'Časové grafy veličin'; 15 15 $this->ImageWidth = 800; 16 16 $this->ImageHeight = 200; … … 268 268 function Show(): string 269 269 { 270 $this-> ClearPage = true;270 $this->RawPage = true; 271 271 272 272 $Output = ''; -
trunk/Modules/User/UserList.php
r887 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Seznam registrovanýchuživatelů';9 $this-> ShortTitle = 'Seznamuživatelů';8 $this->Title = 'Seznam uživatelů'; 9 $this->Description = 'Seznam registrovaných uživatelů'; 10 10 $this->ParentClass = 'PagePortal'; 11 11 } -
trunk/Modules/User/UserPage.php
r901 r912 6 6 { 7 7 parent::__construct($System); 8 $this->FullTitle = 'Uživatel'; 9 $this->ShortTitle = 'Uživatel'; 8 $this->Title = 'Uživatel'; 10 9 $this->ParentClass = 'PagePortal'; 11 10 } -
trunk/Modules/WebCam/WebCam.php
r899 r912 6 6 { 7 7 parent::__construct($System); 8 $this-> FullTitle = 'Webová kamera';9 $this-> ShortTitle = 'Kamera';8 $this->Title = 'Kamera'; 9 $this->Description = 'Webová kamera'; 10 10 $this->ParentClass = 'PagePortal'; 11 11 } -
trunk/Modules/Wiki/Wiki.php
r899 r912 67 67 { 68 68 parent::__construct($System); 69 $this-> FullTitle = 'Wiki stránky';70 $this-> ShortTitle = 'Wiki';69 $this->Title = 'Wiki'; 70 $this->Description = 'Wiki stránky'; 71 71 $this->ParentClass = 'PagePortal'; 72 72 } -
trunk/Packages/Common/Database.php
r901 r912 60 60 } 61 61 62 function Connect(string $Host, string $User, string $Password, string $Database) 62 function Connect(string $Host, string $User, string $Password, string $Database): void 63 63 { 64 64 if ($this->Type == 'mysql') $ConnectionString = 'mysql:host='.$Host.';dbname='.$Database; … … 75 75 } 76 76 77 function Disconnect() 77 function Disconnect(): void 78 78 { 79 79 unset($this->PDO); … … 166 166 } 167 167 168 function update(string $Table, string $Condition, array $Data) 168 function update(string $Table, string $Condition, array $Data): void 169 169 { 170 170 $this->query($this->GetUpdate($Table, $Condition, $Data)); … … 187 187 } 188 188 189 function replace(string $Table, array $Data) 189 function replace(string $Table, array $Data): void 190 190 { 191 191 $Name = ''; … … 208 208 } 209 209 210 function charset(string $Charset) 210 function charset(string $Charset): void 211 211 { 212 212 $this->query('SET NAMES "'.$Charset.'"'); … … 223 223 } 224 224 225 public function __sleep() 225 public function __sleep(): array 226 226 { 227 227 return array('LastQuery'); 228 228 } 229 229 230 public function __wakeup() 231 { 232 } 233 234 public function Transaction(array $Queries) 230 public function __wakeup(): void 231 { 232 } 233 234 public function Transaction(array $Queries): void 235 235 { 236 236 //echo('|'."\n"); -
trunk/Packages/Common/Modules/ModuleManager.php
r900 r912 404 404 { 405 405 parent::__construct($System); 406 $this->FullTitle = T('Modules'); 407 $this->ShortTitle = T('Modules'); 406 $this->Title = T('Modules'); 408 407 $this->ParentClass = 'PageSetup'; 409 408 $this->YesNo = array(false => T('No'), true => T('Yes')); -
trunk/Packages/Common/Modules/Setup.php
r903 r912 75 75 { 76 76 parent::__construct($System); 77 $this->FullTitle = T('Application setup'); 78 $this->ShortTitle = T('Application setup'); 77 $this->Title = T('Application setup'); 79 78 //$this->ParentClass = 'PageSetupRedirect'; 80 79 $this->ConfigDir = dirname(dirname(dirname(__FILE__))).'/Config'; -
trunk/Packages/Common/Page.php
r888 r912 3 3 class Page extends View 4 4 { 5 public string $ FullTitle;6 public string $ ShortTitle;5 public string $Title; 6 public string $Description; 7 7 public string $ParentClass; 8 public bool $ ClearPage;8 public bool $RawPage; 9 9 public $OnSystemMessage; 10 10 public string $Load; … … 14 14 { 15 15 parent::__construct($System); 16 $this-> ClearPage = false;16 $this->RawPage = false; 17 17 $this->OnSystemMessage = array(); 18 $this-> FullTitle = "";19 $this-> ShortTitle= "";18 $this->Title = ""; 19 $this->Description = ""; 20 20 $this->ParentClass = ""; 21 21 } -
trunk/Packages/Common/System.php
r899 r912 134 134 return $Target; 135 135 } 136 137 function AbsoluteLink(string $Target): string 138 { 139 return $Target; 140 } 136 141 } -
trunk/block/index.php
r887 r912 16 16 { 17 17 parent::__construct($System); 18 $this->FullTitle = 'Blokování internetu'; 19 $this->ShortTitle = 'Blokování internetu'; 18 $this->Title = 'Blokování internetu'; 20 19 } 21 20
Note:
See TracChangeset
for help on using the changeset viewer.