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> <B_fichiers>
<div class='bigup_fichiers fichiers_[(#ENV{nom}|concat{#ENV{multiple}|=={oui}|?{\[\]}}|bigup_nom2classe)]'> <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='fichier'>
<div class='description'> <div class='description'>
[(#VALEUR{bigup/vignette/data}|oui) [(#VALEUR{bigup/vignette/data}|oui)
@ -36,17 +36,19 @@
<span class='name'><strong>#NAME</strong></span> <span class='name'><strong>#NAME</strong></span>
<span class='size'>[(#SIZE|taille_en_octets)]</span> <span class='size'>[(#SIZE|taille_en_octets)]</span>
</div> </div>
[(#ENV{mode}|=={liste}|non)
<div class="html_titre"> <div class="html_titre">
<label><:bigform:html_titre:><input type="text" value="" name="html_titre\[\]"/></label> <label><:bigform:html_titre:> <input type="text" value="" name="html_titre\[\]"/></label>
<input type="hidden" value="#NAME" name="html_ordre\[\]"/> <input type="hidden" value="#NAME" name="html_ordre\[\]"/>
</div> </div>
<div class='actions'> <div class='actions'>
<button class='submit' type='submit' <button class='submit' type='submit'
name='bigup_enlever_fichier' value="#VALEUR{bigup/identifiant}" 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:> <:bigup:bouton_enlever:>
</button> </button>
</div> </div>
]
</div> </div>
</div> </div>
</BOUCLE_fichiers> </BOUCLE_fichiers>

View file

@ -16,8 +16,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'envoyer' => 'Submit', 'envoyer' => 'Submit',
//H //H
'html_titre' => 'Bigform', 'html_titre' => 'Title',
// T // 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', 'envoyer' => 'Envoyer',
//H //H
'html_titre' => 'Bigform', 'html_titre' => 'Titre',
// T // T
'titre_page_configurer_bigform' => 'BigForm', 'titre_page_configurer_bigform' => 'Configurer BigForm',
); );