Changeset 888 for trunk/includes


Ignore:
Timestamp:
Dec 27, 2022, 7:50:23 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package to latest version.
  • Modified: Fixes related to PHP 8.x.
Location:
trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Global.php

    r880 r888  
    2222class TempPage extends Page
    2323{
    24   function Show()
     24  function Show(): string
    2525  {
    2626    global $TempPageContent;
  • trunk/includes/PageEdit.php

    r880 r888  
    1919  }
    2020
    21   function Show()
     21  function Show(): string
    2222  {
    2323    $Output = '';
     
    2626      if ($_GET['action'] == 'add') $Output .= $this->AddItem();
    2727      else if ($_GET['action'] == 'view') $Output .= $this->ViewItem();
    28       else if ($_GET['action'] == 'edit') $Output .= $this->ModifyItem();
    29       else if ($_GET['action'] == 'remove') $Output .= $this->RemoveItem();
     28      //else if ($_GET['action'] == 'edit') $Output .= $this->ModifyItem();
     29      //else if ($_GET['action'] == 'remove') $Output .= $this->RemoveItem();
    3030      else if ($_GET['action'] == 'delete') $Output .= $this->DeleteItem();
    3131      else $Output .= ShowMessage(T('Unknown action'), MESSAGE_CRITICAL);
Note: See TracChangeset for help on using the changeset viewer.