Files
ms1inscription-v5/sql/MSIN-inscriptions-mobile-phase1.sql
stephan b7fa26d1e9 Implement mobile registration functionality and update version code
This commit introduces new routing rules in .htaccess for mobile access, adds mobile-specific PHP includes and logic in compte.php, and enhances the footer scripts for mobile page handling. Additionally, new CSS styles are added to support the mobile registration interface. The version code is incremented to 4.72.670 to reflect these changes, improving the overall user experience for mobile users.
2026-06-18 13:35:36 -04:00

41 lines
3.0 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'
) 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());