]> git.p6c8.net - jirafeau.git/blobdiff - index.php
[FEATURE] Styles: Add classes to forms
[jirafeau.git] / index.php
index 09b37e4f00824acd17f5e69dd22baa67b6d24146..9a7b9ec4d81ced114394b61a2e679c7013f96c33 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>
@@ -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