Plugin Directory


Ignore:
Timestamp:
09/19/2026 12:48:35 PM (5 weeks ago)
Author:
thesiim
Message:

Version 1.78.0 release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • seatreg/trunk/php/constants.php

    r3693621 r3703299  
    1717define('SEATREG_REGISTRATION_SEARCH_MAX_LENGTH', 60);
    1818define('SEATREG_CUSTOM_FIELD_TYPES', array('text', 'check', 'sel'));
     19define('SEATREG_CUSTOM_FIELD_LABEL_REGEX', '/^[\p{L}\p{N}+\s]+$/u');
    1920define('SEATREG_CUSTOM_TEXT_FIELD_MAX_LENGTH', 100);
    2021define('SEATREG_DEFAULT_INPUT_MAX_LENGHT', 100);
    … …  
    7475define('SEATREG_TRIGGER_MIGRATIONS', '4');
    7576
     77// Layout export
     78//Exported layout .json files can move between sites, so every export is stamped with this number and a plugin refuses one stamped higher than its own
     79//Bump it when a layout change breaks older export, say a seat price turning from a number into an object
     80//parseLayoutExportFile in js/build.js then decides what becomes of those older files
     81define('SEATREG_LAYOUT_EXPORT_VERSION', 1);
     82
    7683// Status
    7784define('SEATREG_BOOKING_DEFAULT', 0);
    … …  
    120127define('SEATREG_FILTER_ROOM_NOUNS', 'seatreg_room_nouns');
    121128define('SEATREG_FILTER_SEAT_NOUNS', 'seatreg_seat_nouns');
     129define('SEATREG_FILTER_CUSTOM_FIELD_LABEL', 'seatreg_custom_field_label');
     130define('SEATREG_FILTER_CUSTOM_FIELD_OPTION', 'seatreg_custom_field_option');
    122131
    123132// Multilingual
Note: See TracChangeset for help on using the changeset viewer.