Files
ms1inscription-v5/sql/MSIN-inscriptions-mobile-phase1.sql
stephan 2cb6a59c96 Implement participant status management in mobile registration; update version code
This commit introduces a new feature for managing participant status within the mobile registration interface. It includes updates to the PHP functions for handling status changes, new JavaScript for dynamic updates, and corresponding CSS styles for improved layout. The version code is incremented to 4.72.673 to reflect these enhancements, further optimizing the user experience in managing participant registrations.
2026-06-18 16:22:02 -04:00

47 lines
3.5 KiB
SQL

-- Inscriptions mobile — page compte + libellés (phase 1)
DELETE FROM inscriptions_pages WHERE pag_code = 'compte_inc_tableau_inscriptions_mobile';
INSERT INTO inscriptions_pages (pag_code, pag_label_fr, pag_label_en, pag_titre_fr, pag_titre_en, pag_texte_fr, pag_texte_en, pag_keywords_fr, pag_keywords_en, pag_tri, pag_maj, pag_menu, pag_actif) VALUES
('compte_inc_tableau_inscriptions_mobile', 'Inscriptions mobile', 'Mobile registrations', 'Liste des inscriptions', 'Registration list', '', '', '', '', 0, NOW(), 0, 1);
DELETE FROM info WHERE info_clef IN (
'tableau_promoteur_menu_inscriptions_mobile',
'inscr_mobile_title',
'inscr_mobile_filters',
'inscr_mobile_apply_filters',
'inscr_mobile_view_record',
'inscr_mobile_back_list',
'inscr_mobile_section_info',
'inscr_mobile_details',
'inscr_mobile_modified',
'inscr_mobile_section_actions',
'inscr_mobile_section_editable',
'inscr_mobile_statut_label'
) AND info_prg = 'compte.php';
INSERT INTO info (info_clef, info_langue, info_texte, info_aide, info_prg, info_description, info_trie, info_actif, info_option1, info_option2, info_option3, info_creation) VALUES
('tableau_promoteur_menu_inscriptions_mobile', 'fr', 'Inscriptions (mobile)', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('tableau_promoteur_menu_inscriptions_mobile', 'en', 'Registrations (mobile)', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_title', 'fr', 'Liste des inscriptions', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_title', 'en', 'Registration list', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_filters', 'fr', 'Filtres', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_filters', 'en', 'Filters', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_apply_filters', 'fr', 'Appliquer', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_apply_filters', 'en', 'Apply', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_view_record', 'fr', 'Voir la fiche', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_view_record', 'en', 'View record', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_back_list', 'fr', 'Retour à la liste', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_back_list', 'en', 'Back to list', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_section_info', 'fr', 'Informations', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_section_info', 'en', 'Information', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_details', 'fr', 'Détails', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_details', 'en', 'Details', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_modified', 'fr', 'Modifiée', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_modified', 'en', 'Modified', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_section_actions', 'fr', 'Actions', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_section_actions', 'en', 'Actions', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_section_editable', 'fr', 'Champs modifiables', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_section_editable', 'en', 'Editable fields', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_statut_label', 'fr', 'Statut', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
('inscr_mobile_statut_label', 'en', 'Status', '', 'compte.php', '', 0, 1, '', '', '', NOW());