Changeset 957 for trunk/Application/BaseView.php
- Timestamp:
- Sep 22, 2023, 11:55:38 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/BaseView.php
r929 r957 75 75 '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Encoding.'" />'. 76 76 '<script type="text/javascript" src="'.$this->System->Link('/style/').$this->Style.'/global.js"></script>'. 77 '<title>'.$Path.' - '. $this->System->Config['Web']['Title'].'</title>';77 '<title>'.$Path.' - '.Core::Cast($this->System)->Config['Web']['Title'].'</title>'; 78 78 79 79 // Show page headers 80 80 $Bar = ''; 81 foreach ( $this->System->PageHeaders as $Item)81 foreach (Core::Cast($this->System)->PageHeaders as $Item) 82 82 $Output .= call_user_func($Item); 83 83 … … 88 88 $Output .= '<div class="MainTitle"><span class="MenuItem"><strong>Navigace :: </strong> '.$Navigation.'</span><div class="MenuItem2">'; 89 89 $Bar = ''; 90 foreach ( $this->System->Bars['Top'] as $BarItem)90 foreach (Core::Cast($this->System)->Bars['Top'] as $BarItem) 91 91 $Bar .= call_user_func($BarItem); 92 92 if (trim($Bar) != '') $Output .= $Bar; … … 101 101 global $Revision, $ReleaseTime; 102 102 103 $Time = round(GetMicrotime() - $this->System->ScriptTimeStart, 2);103 $Time = round(GetMicrotime() - Core::Cast($this->System)->ScriptTimeStart, 2); 104 104 $Output = ''; 105 105 if ($this->BasicHTML == false) 106 106 { 107 107 $Output .= '<div id="Footer">'. 108 '<i>| Správa webu: '. $this->System->Config['Web']['Admin'].' | e-mail: '.$this->System->Config['Web']['AdminEmail'].' | '.108 '<i>| Správa webu: '.Core::Cast($this->System)->Config['Web']['Admin'].' | e-mail: '.Core::Cast($this->System)->Config['Web']['AdminEmail'].' | '. 109 109 ' Verze: '.$Revision.' ('.Core::Cast($this->System)->HumanDate($ReleaseTime).') |'; 110 110 if ($this->ShowRuntimeInfo == true) $Output .= ' Doba generování: '.$Time.' s / '.ini_get('max_execution_time'). … … 118 118 function GetOutput(Page $Page): string 119 119 { 120 $Page->OnSystemMessage = array( $this->System->BaseView, 'SystemMessage');120 $Page->OnSystemMessage = array(Core::Cast($this->System)->BaseView, 'SystemMessage'); 121 121 122 122 $Output = $Page->Show();
Note:
See TracChangeset
for help on using the changeset viewer.