Ignore:
Timestamp:
Feb 28, 2022, 8:53:22 AM (2 years ago)
Author:
chronos
Message:
  • Modified: Do not determine form submit from URL but directly from submit variable and filled form variables.
  • Added: Use system config from /etc/isp-central directory if standard config is not available.
  • Modified: Form file code cleanup. FormManager class moved to separate file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Form/Types/GPS.php

    r908 r922  
    4747  }
    4848
     49  function OnCanLoad(array $Item): bool
     50  {
     51    return array_key_exists($Item['Name'].'-lat-deg', $_POST) and array_key_exists($Item['Name'].'-lat-sec', $_POST) and
     52    array_key_exists($Item['Name'].'-lat-min', $_POST) and array_key_exists($Item['Name'].'-lon-deg', $_POST) and
     53      array_key_exists($Item['Name'].'-lon-min', $_POST) and array_key_exists($Item['Name'].'-lon-sec', $_POST);
     54  }
     55
     56
    4957  function Explode(float $Float): array
    5058  {
Note: See TracChangeset for help on using the changeset viewer.