This commit modifies the mobile registration menu labels to reflect the new versioning, changing the text to "Gestion des inscriptions V2" in French and "Registration management V2" in English. Additionally, it introduces a new function, `fxInscrMobilePromoteurMenuLabel`, to standardize the label retrieval process. The icon for the mobile registration link is also updated to improve visual consistency across the interface.
59 lines
4.3 KiB
SQL
59 lines
4.3 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',
|
|
'inscr_mobile_section_management',
|
|
'inscr_mobile_epreuve',
|
|
'inscr_mobile_type',
|
|
'inscr_mobile_remboursement'
|
|
) 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', 'Gestion des inscriptions V2', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('tableau_promoteur_menu_inscriptions_mobile', 'en', 'Registration management V2', '', '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()),
|
|
('inscr_mobile_section_management', 'fr', 'Gestion', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('inscr_mobile_section_management', 'en', 'Management', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('inscr_mobile_epreuve', 'fr', 'Épreuve', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('inscr_mobile_epreuve', 'en', 'Race', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('inscr_mobile_type', 'fr', 'Type', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('inscr_mobile_type', 'en', 'Type', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('inscr_mobile_remboursement', 'fr', 'Remboursement', '', 'compte.php', '', 0, 1, '', '', '', NOW()),
|
|
('inscr_mobile_remboursement', 'en', 'Refund', '', 'compte.php', '', 0, 1, '', '', '', NOW());
|