Ignore:
Timestamp:
Sep 22, 2023, 11:55:38 PM (15 months ago)
Author:
chronos
Message:
  • Added: Store request URL into Log table.
  • Fixed: Some warnings for invalid inputs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/BaseView.php

    r929 r957  
    7575    '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Encoding.'" />'.
    7676    '<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>';
    7878
    7979    // Show page headers
    8080    $Bar = '';
    81     foreach ($this->System->PageHeaders as $Item)
     81    foreach (Core::Cast($this->System)->PageHeaders as $Item)
    8282      $Output .= call_user_func($Item);
    8383
     
    8888      $Output .= '<div class="MainTitle"><span class="MenuItem"><strong>Navigace :: </strong> '.$Navigation.'</span><div class="MenuItem2">';
    8989      $Bar = '';
    90       foreach ($this->System->Bars['Top'] as $BarItem)
     90      foreach (Core::Cast($this->System)->Bars['Top'] as $BarItem)
    9191        $Bar .= call_user_func($BarItem);
    9292      if (trim($Bar) != '') $Output .= $Bar;
     
    101101    global $Revision, $ReleaseTime;
    102102
    103     $Time = round(GetMicrotime() - $this->System->ScriptTimeStart, 2);
     103    $Time = round(GetMicrotime() - Core::Cast($this->System)->ScriptTimeStart, 2);
    104104    $Output = '';
    105105    if ($this->BasicHTML == false)
    106106    {
    107107      $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'].' | '.
    109109      ' Verze: '.$Revision.' ('.Core::Cast($this->System)->HumanDate($ReleaseTime).') |';
    110110      if ($this->ShowRuntimeInfo == true) $Output .= ' Doba generování: '.$Time.' s / '.ini_get('max_execution_time').
     
    118118  function GetOutput(Page $Page): string
    119119  {
    120     $Page->OnSystemMessage = array($this->System->BaseView, 'SystemMessage');
     120    $Page->OnSystemMessage = array(Core::Cast($this->System)->BaseView, 'SystemMessage');
    121121
    122122    $Output = $Page->Show();
Note: See TracChangeset for help on using the changeset viewer.