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/Date.php

    r887 r922  
    8282  }
    8383
     84  function OnCanLoad(array $Item): bool
     85  {
     86    return array_key_exists($Item['Name'].'-null', $_POST) or (array_key_exists($Item['Name'].'-day', $_POST) and
     87      array_key_exists($Item['Name'].'-month', $_POST) and array_key_exists($Item['Name'].'-year', $_POST));
     88  }
     89
    8490  function OnLoadDb(array $Item): ?string
    8591  {
Note: See TracChangeset for help on using the changeset viewer.