]> git.p6c8.net - jirafeau_project.git/blobdiff - index.php
[BUGFIX] Empty admin password should not generate hash
[jirafeau_project.git] / index.php
index 09b37e4f00824acd17f5e69dd22baa67b6d24146..7ce95327419494daad220e5ab207e554fa891c24 100644 (file)
--- a/index.php
+++ b/index.php
@@ -60,7 +60,7 @@ if (true === jirafeau_challenge_upload_ip($cfg['upload_ip'], get_ip_address($cfg
         // Show login form if user session is not authorized yet
         if (true === empty($_SESSION['upload_auth'])) {
             ?>
-            <form method="post">
+            <form method="post" class="form login">
             <fieldset>
                 <table>
                 <tr>
@@ -118,12 +118,12 @@ else {
     <p><a id="direct_link" href=""></a></p>
     </div>
 
-    <div>
+    <div id="upload_delete">
     <p><?php echo t('Delete link') ?>:</p>
     <p><a id="delete_link" href=""></a></p>
     </div>
 
-    <div id="validity">
+    <div id="upload_validity">
     <p><?php echo t('This file is valid until the following date'); ?>:</p>
     <p id="date"></p>
     </div>
@@ -245,7 +245,7 @@ else {
     <?php
     if (jirafeau_has_upload_password($cfg)) {
         ?>
-    <form method="post">
+    <form method="post" class="form logout">
         <input type = "hidden" name = "action" value = "logout"/>
         <input type = "submit" value = "<?php echo t('Logout'); ?>" />
     </form>

patrick-canterino.de