diff options
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r-- | application/views/file/upload_form.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index d4a35c8ee..ce1d00498 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -25,6 +25,13 @@ document.write('\ </div> <? } else { ?> You have to <?=anchor("user/login", "log in"); ?> to be able to upload/paste. +<div id="login-form"> + <?=form_open("user/login"); ?> + <input type="text" name="username" /> + <input type="password" name="password" /> + <input type="submit" value="Login" name="process" /> + </form> +</div> <? } ?> <br /> <p>Uploads/pastes are deleted after <?php echo $upload_max_age; ?> days<?php if($small_upload_size > 0): ?> |