Enable better styling for classes.
   elseif ((!isset($_SESSION['admin_auth']) || $_SESSION['admin_auth'] != true)
           && empty($cfg['admin_http_auth_user'])) {
       require(JIRAFEAU_ROOT . 'lib/template/header.php'); ?>
   elseif ((!isset($_SESSION['admin_auth']) || $_SESSION['admin_auth'] != true)
           && empty($cfg['admin_http_auth_user'])) {
       require(JIRAFEAU_ROOT . 'lib/template/header.php'); ?>
+      <form method="post" class="form login">
 
              '<form action = "';
         echo JIRAFEAU_ABSPREFIX . 'f.php';
         echo '" ' .
              '<form action = "';
         echo JIRAFEAU_ABSPREFIX . 'f.php';
         echo '" ' .
-             'method = "post" id = "submit_post">'; ?>
+             'method="post" id="submit_post" class="form login">'; ?>
              <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
         echo '<fieldset>' .
              '<legend>' . t('Password protection') .
              <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
         echo '<fieldset>' .
              '<legend>' . t('Password protection') .
              '<form action="';
     echo JIRAFEAU_ABSPREFIX . 'f.php';
     echo '" ' .
              '<form action="';
     echo JIRAFEAU_ABSPREFIX . 'f.php';
     echo '" ' .
-             'method = "post" id = "submit_post">'; ?>
+             'method="post" id="submit_post" class="form download">'; ?>
              <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
         echo '<fieldset><legend>' . htmlspecialchars($link['file_name']) . '</legend><table>' .
              '<tr><td>' .
              <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION ?>"/><?php
         echo '<fieldset><legend>' . htmlspecialchars($link['file_name']) . '</legend><table>' .
              '<tr><td>' .
 
         // Show login form if user session is not authorized yet
         if (true === empty($_SESSION['upload_auth'])) {
             ?>
         // Show login form if user session is not authorized yet
         if (true === empty($_SESSION['upload_auth'])) {
             ?>
+            <form method="post" class="form login">
     <?php
     if (jirafeau_has_upload_password($cfg)) {
         ?>
     <?php
     if (jirafeau_has_upload_password($cfg)) {
         ?>
+    <form method="post" class="form logout">
         <input type = "hidden" name = "action" value = "logout"/>
         <input type = "submit" value = "<?php echo t('Logout'); ?>" />
     </form>
         <input type = "hidden" name = "action" value = "logout"/>
         <input type = "submit" value = "<?php echo t('Logout'); ?>" />
     </form>