mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-01-17 21:08:20 +01:00
Send button changes while uploading
This commit is contained in:
parent
ae198477d0
commit
be0e8b0e4c
10
index.php
10
index.php
@ -141,9 +141,13 @@ if (!has_error () && $writable)
|
||||
"config"><?php printf ('%s: %dMB', t('Maximum file size'),
|
||||
jirafeau_get_max_upload_size () / (1024 *
|
||||
1024));
|
||||
?></p> <p><input type = "submit" value =
|
||||
"<?php echo t('Send'); ?>" /></p>
|
||||
<hr /><div id = "moreoptions"> <p><label><input type =
|
||||
?></p><p>
|
||||
<input type = "submit" id='send' value ="<?php echo t('Send'); ?>"
|
||||
onclick="
|
||||
document.getElementById('send').value='<?php echo t ('Uploading ...'); ?>';
|
||||
document.getElementById('send').disabled='true';
|
||||
"/>
|
||||
</p><hr /><div id = "moreoptions"> <p><label><input type =
|
||||
"checkbox" name =
|
||||
"one_time_download" /><?php echo t('One time download');
|
||||
?></label></p><br/><p><label for = "input_key"
|
||||
|
@ -22,6 +22,7 @@ $tr = array (
|
||||
'Jirafeau, your web file repository' => 'Jirafeau, votre dépot de fichiers',
|
||||
'Upload a file' => 'Envoyer un fichier',
|
||||
'Send' => 'Envoyer',
|
||||
'Uploading ...' => 'Envoie ...',
|
||||
'One time download' => 'Téléchargement unique',
|
||||
'Password' => 'Mot de passe',
|
||||
'Time limit' => 'Limite de temps',
|
||||
|
Loading…
x
Reference in New Issue
Block a user