Ignore:
Timestamp:
Aug 3, 2021, 11:38:29 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/BaseView.php

    r899 r912  
    88  public bool $FormatHTML = false;
    99  public bool $ShowRuntimeInfo = false;
    10   public bool $ClearPage = false;
     10  public bool $RawPage = false;
    1111  public bool $BasicHTML = false;
    1212  public string $ParentClass = '';
    13   public string $ShortTitle;
    14   public string $FullTitle;
     13  public string $Title;
     14  public string $Description;
    1515  public string $Encoding;
    1616  public string $Style;
     
    5858    while ($Page)
    5959    {
    60       $Output = ' &gt; <a href="'.$this->System->Link($ScriptName).'/">'.$Page->ShortTitle.'</a>'.$Output;
     60      $Output = ' &gt; <a href="'.$this->System->Link($ScriptName).'/">'.$Page->Title.'</a>'.$Output;
    6161
    6262      if (class_exists($Page->ParentClass))
     
    7373  function ShowHeader(Page $Page): string
    7474  {
    75     $Title = $Page->FullTitle;
    76     $Path = $Page->ShortTitle;
     75    $Path = $Page->Title;
    7776
    7877    $Navigation = $this->ShowNavigation($Page);
     
    8786    '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Encoding.'" />'.
    8887    '<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>';
    9089
    9190    // Show page headers
     
    133132
    134133    $Output = $Page->Show();
    135     if ($Page->ClearPage == false)
     134    if ($Page->RawPage == false)
    136135    {
    137136      $Output = $this->ShowHeader($Page).$Output.$this->ShowFooter();
Note: See TracChangeset for help on using the changeset viewer.