Fix : maj du fichier de surcharge de Bigup + correction chaîne de langue html_titre

This commit is contained in:
cy_altern 2025-04-09 18:25:45 +02:00
parent 110ad97c13
commit d0548a952c
3 changed files with 9 additions and 7 deletions

View file

@ -23,7 +23,7 @@
]
<B_fichiers>
<div class='bigup_fichiers fichiers_[(#ENV{nom}|concat{#ENV{multiple}|=={oui}|?{\[\]}}|bigup_nom2classe)]'>
<BOUCLE_fichiers(DATA){source tableau, #FICHIERS|bigup_lister_fichiers{#ENV{nom},#ENV{multiple}}}>
<BOUCLE_fichiers(DATA){source table, #FICHIERS|bigup_lister_fichiers{#ENV{nom},#ENV{multiple}}}>
<div class='fichier'>
<div class='description'>
[(#VALEUR{bigup/vignette/data}|oui)
@ -36,6 +36,7 @@
<span class='name'><strong>#NAME</strong></span>
<span class='size'>[(#SIZE|taille_en_octets)]</span>
</div>
[(#ENV{mode}|=={liste}|non)
<div class="html_titre">
<label><:bigform:html_titre:> <input type="text" value="" name="html_titre\[\]"/></label>
<input type="hidden" value="#NAME" name="html_ordre\[\]"/>
@ -43,10 +44,11 @@
<div class='actions'>
<button class='submit' type='submit'
name='bigup_enlever_fichier' value="#VALEUR{bigup/identifiant}"
onclick="jQuery(this).parents('form').find('input,textarea,select').filter('[required]').prop('required', false); return true;">
onclick="jQuery(this).parents('form').find('input,textarea,select').filter('\[required\]').prop('required', false); return true;">
<:bigup:bouton_enlever:>
</button>
</div>
]
</div>
</div>
</BOUCLE_fichiers>

View file

@ -16,8 +16,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'envoyer' => 'Submit',
//H
'html_titre' => 'Bigform',
'html_titre' => 'Title',
// T
'titre_page_configurer_bigform' => 'BigForm',
'titre_page_configurer_bigform' => 'Configure BigForm',
);

View file

@ -16,8 +16,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'envoyer' => 'Envoyer',
//H
'html_titre' => 'Bigform',
'html_titre' => 'Titre',
// T
'titre_page_configurer_bigform' => 'BigForm',
'titre_page_configurer_bigform' => 'Configurer BigForm',
);