Note: always better with url rewriting
require (JIRAFEAU_ROOT.'lib/template/header.php');
echo '<div>' .
'<form action = "';
require (JIRAFEAU_ROOT.'lib/template/header.php');
echo '<div>' .
'<form action = "';
- echo $cfg['web_root'] . '/file.php';
+ echo $cfg['web_root'] . '/f.php';
echo '" ' .
'method = "post" id = "submit">'; ?>
<input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
echo '" ' .
'method = "post" id = "submit">'; ?>
<input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
?><input type="submit" id = "submit_download" value="<?php echo t('Download'); ?>"
onclick="document.getElementById('submit').action='
<?php
?><input type="submit" id = "submit_download" value="<?php echo t('Download'); ?>"
onclick="document.getElementById('submit').action='
<?php
- echo $cfg['web_root'] . '/file.php?h=' . $link_name . '&bd=1';
+ echo $cfg['web_root'] . '/f.php?h=' . $link_name . '&bd=1';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
?><input type="submit" id = "submit_preview" value="<?php echo t('Preview'); ?>"
onclick="document.getElementById('submit').action='
<?php
?><input type="submit" id = "submit_preview" value="<?php echo t('Preview'); ?>"
onclick="document.getElementById('submit').action='
<?php
- echo $cfg['web_root'] . '/file.php?h=' . $link_name . '&bp=1';
+ echo $cfg['web_root'] . '/f.php?h=' . $link_name . '&bp=1';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
require (JIRAFEAU_ROOT.'lib/template/header.php');
echo '<div>' .
'<form action = "';
require (JIRAFEAU_ROOT.'lib/template/header.php');
echo '<div>' .
'<form action = "';
- echo $cfg['web_root'] . '/file.php';
+ echo $cfg['web_root'] . '/f.php';
echo '" ' .
'method = "post" id = "submit">'; ?>
<input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
echo '" ' .
'method = "post" id = "submit">'; ?>
<input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
?><input type="submit" id = "submit_download" value="<?php echo t('Download'); ?>"
onclick="document.getElementById('submit').action='
<?php
?><input type="submit" id = "submit_download" value="<?php echo t('Download'); ?>"
onclick="document.getElementById('submit').action='
<?php
- echo $cfg['web_root'] . '/file.php?h=' . $link_name . '&bd=1';
+ echo $cfg['web_root'] . '/f.php?h=' . $link_name . '&bd=1';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
?><input type="submit" id = "submit_preview" value="<?php echo t('Preview'); ?>"
onclick="document.getElementById('submit').action='
<?php
?><input type="submit" id = "submit_preview" value="<?php echo t('Preview'); ?>"
onclick="document.getElementById('submit').action='
<?php
- echo $cfg['web_root'] . '/file.php?h=' . $link_name . '&bp=1';
+ echo $cfg['web_root'] . '/f.php?h=' . $link_name . '&bp=1';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
if (!empty($crypt_key))
echo '&k=' . urlencode($crypt_key);
?>';
function show_link (url, reference, delete_code, crypt_key, date)
{
function show_link (url, reference, delete_code, crypt_key, date)
{
- var download_link = url + 'file.php?h=' + reference;
- var download_link_href = url + 'file.php?h=' + reference;
+ var download_link = url + 'f.php?h=' + reference;
+ var download_link_href = url + 'f.php?h=' + reference;
if (crypt_key.length > 0)
{
download_link += '&k=' + crypt_key;
download_link_href += '&k=' + crypt_key;
}
if (crypt_key.length > 0)
{
download_link += '&k=' + crypt_key;
download_link_href += '&k=' + crypt_key;
}
- var delete_link = url + 'file.php?h=' + reference + '&d=' + delete_code;
- var delete_link_href = url + 'file.php?h=' + reference + '&d=' + delete_code;
+ var delete_link = url + 'f.php?h=' + reference + '&d=' + delete_code;
+ var delete_link_href = url + 'f.php?h=' + reference + '&d=' + delete_code;
document.getElementById('upload_link').innerHTML = download_link;
document.getElementById('upload_link').href = download_link_href;
document.getElementById('upload_link').innerHTML = download_link;
document.getElementById('upload_link').href = download_link_href;
'File uploaded! Copy the following URL to get it' => 'Fichier envoyé! Le fichier sera accessible à l\'adresse suivante',
'This file is valid until the following date' => 'Ce fichier est valable jusqu\'à la date suivante',
'Keep the following URL to delete it at any moment' => 'Vous pouvez supprimer le fichier lorsque vous le désirez via l\'adresse suivante',
'File uploaded! Copy the following URL to get it' => 'Fichier envoyé! Le fichier sera accessible à l\'adresse suivante',
'This file is valid until the following date' => 'Ce fichier est valable jusqu\'à la date suivante',
'Keep the following URL to delete it at any moment' => 'Vous pouvez supprimer le fichier lorsque vous le désirez via l\'adresse suivante',
'Download' => 'Télécharger',
'Sorry, the requested file is not found' => 'Désolé, le fichier que vous demandez n\'existe pas ou n\'existe plus',
'File not available.' => 'Fichier non disponible',
'Download' => 'Télécharger',
'Sorry, the requested file is not found' => 'Désolé, le fichier que vous demandez n\'existe pas ou n\'existe plus',
'File not available.' => 'Fichier non disponible',