Changeset 888 for trunk/includes
- Timestamp:
- Dec 27, 2022, 7:50:23 PM (2 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Global.php
r880 r888 22 22 class TempPage extends Page 23 23 { 24 function Show() 24 function Show(): string 25 25 { 26 26 global $TempPageContent; -
trunk/includes/PageEdit.php
r880 r888 19 19 } 20 20 21 function Show() 21 function Show(): string 22 22 { 23 23 $Output = ''; … … 26 26 if ($_GET['action'] == 'add') $Output .= $this->AddItem(); 27 27 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(); 30 30 else if ($_GET['action'] == 'delete') $Output .= $this->DeleteItem(); 31 31 else $Output .= ShowMessage(T('Unknown action'), MESSAGE_CRITICAL);
Note:
See TracChangeset
for help on using the changeset viewer.