Changeset 970 for trunk/Application


Ignore:
Timestamp:
Jul 17, 2024, 10:48:28 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Service internet speed min and max used as contracted speeds. Real speed will be calculated with bonus speed and further queues calculations.
  • Added: Bonus internet speed service field.
  • Modified: Few PHP 8.3 fixes.
Location:
trunk/Application
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/BaseView.php

    r965 r970  
    77  public bool $FormatHTML = false;
    88  public bool $ShowRuntimeInfo = false;
    9   public bool $RawPage = false;
    10   public bool $BasicHTML = false;
    119  public string $ParentClass = '';
    1210  public string $Title;
     
    8583
    8684    $Output .= '</head><body'.$BodyParam.'>';
    87     if ($this->BasicHTML == false)
     85    if ($Page->BasicHTML == false)
    8886    {
    8987      //$Output .= '<div class="MainTitle">'.$Title.'</div>';
     
    9997  }
    10098
    101   function ShowFooter(): string
     99  function ShowFooter(Page $Page): string
    102100  {
    103101    global $Revision, $ReleaseTime;
     
    105103    $Time = round(GetMicrotime() - Core::Cast($this->System)->ScriptTimeStart, 2);
    106104    $Output = '';
    107     if ($this->BasicHTML == false)
     105    if ($Page->BasicHTML == false)
    108106    {
    109107      $Output .= '<div id="Footer">'.
     
    125123    if ($Page->RawPage == false)
    126124    {
    127       $Output = $this->ShowHeader($Page).$Output.$this->ShowFooter();
     125      $Output = $this->ShowHeader($Page).$Output.$this->ShowFooter($Page);
    128126      if ($this->FormatHTML == true) $Output = $this->FormatOutput($Output);
    129127    }
  • trunk/Application/UpdateTrace.php

    r967 r970  
    22592259      "VALUES (NULL , 'Měsíční přehled', '".$DbRow['Id']."', '".$ActionId."', '1');");   
    22602260  }
     2261}
     2262
     2263function UpdateTo970(UpdateManager $Manager): void
     2264{
     2265  $Manager->Execute('ALTER TABLE `Service` ADD `InternetSpeedBonus` INT NULL DEFAULT NULL AFTER `InternetSpeedMin`;');
    22612266}
    22622267
     
    23752380      953 => array('Revision' => 957, 'Function' => 'UpdateTo957'),
    23762381      957 => array('Revision' => 967, 'Function' => 'UpdateTo967'),
     2382      967 => array('Revision' => 970, 'Function' => 'UpdateTo970'),
    23772383    );
    23782384  }
  • trunk/Application/Version.php

    r969 r970  
    11<?php
    22
    3 $Revision = 969; // Subversion revision
    4 $DatabaseRevision = 967; // SQL structure revision
     3$Revision = 970; // Subversion revision
     4$DatabaseRevision = 970; // SQL structure revision
    55$ReleaseTime = strtotime('2024-07-17');
Note: See TracChangeset for help on using the changeset viewer.