/* Show auth page. */
if (!isset($_SESSION['upload_auth']) || $_SESSION['upload_auth'] != true) {
?>
- <form action = "<?php echo basename(__FILE__); ?>" method = "post">
+ <form method="post">
<fieldset>
<table>
<tr>
}
}
}
-
+
?>
<div id="upload_finished">
<p><?php echo t('File uploaded !') ?></p>
<p><?php echo t('View link') ?>:</p>
<p><a id="preview_link" href=""></a></p>
</div>
- <?php
+ <?php
} ?>
<div id="upload_direct_download">
<?php
if (jirafeau_has_upload_password($cfg)) {
?>
- <form action = "<?php echo basename(__FILE__); ?>" method = "post">
+ <form method="post">
<input type = "hidden" name = "action" value = "logout"/>
<input type = "submit" value = "<?php echo t('Logout'); ?>" />
</form>