From: Jerome Jutteau Date: Thu, 3 Jan 2013 00:08:54 +0000 (+0100) Subject: better form for download page and fix missing translation X-Git-Tag: 1.1~230 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/c8f707dd7ecedc278ebfbcb92a6d3b376957f9f6?ds=sidebyside better form for download page and fix missing translation --- diff --git a/file.php b/file.php index 1f79095..18bb459 100644 --- a/file.php +++ b/file.php @@ -110,8 +110,11 @@ if (!empty ($link['key'])) '' . + '' . + '
' . t('Give the password of this file') . ' : ' . '' . - '
'; - + '
' . + t('By using our services, you accept of our'). ' ' . t('Term Of Service') . '' . + '
'; ?>'; ?> ' . - '

' . ('You are about to download ') . substr ($link['file_name'], 0, 20) . ' (' . jirafeau_human_size($link['file_size']) . ')

' . - '

' . t('By using our services, you accept of our '). '' . t('Term Of Service') . '' . '

'. - '

' + echo '

' . $link['file_name'] . '' . + '' . + ''; + echo '
' . + t('You are about to download') . ' "' . $link['file_name'] . '" (' . jirafeau_human_size($link['file_size']) . ')' . + '
' . + t('By using our services, you accept of our'). ' ' . t('Term Of Service') . ''; ?>&bp=1'; document.getElementById('submit_preview').submit ();"/>'; + echo '
'; require (JIRAFEAU_ROOT.'lib/template/footer.php'); exit; } diff --git a/lib/lang/fr.php b/lib/lang/fr.php index 49ec634..c8b3fe4 100755 --- a/lib/lang/fr.php +++ b/lib/lang/fr.php @@ -52,6 +52,9 @@ $tr = array ( 'Password protection' => 'Protection par mot de passe', 'Give the password of this file' => 'Donnez le mot de passe pour ce fichier', 'Access denied' => 'Accès interdit', + 'You are about to download' => 'Vous êtes sur le point de télécharger', + 'By using our services, you accept of our' => 'En utilisant nos services, vous acceptez nos', + 'Term Of Service' => 'Conditions d\'utilisation', /* functions.php */ 'Internal error during file creation.' => 'Erreur interne durant la creation de fichier.', /* install.hpp */