Changeset 912 for trunk/Application/BaseView.php
- Timestamp:
- Aug 3, 2021, 11:38:29 AM (3 years ago)
- File:
-
- 1 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();
Note:
See TracChangeset
for help on using the changeset viewer.