summaryrefslogtreecommitdiffstats
path: root/application/views/file/upload_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r--application/views/file/upload_form.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 0596fcbaf..be449ee6e 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -41,7 +41,9 @@
<input type="text" name="username" placeholder="Username" />
<input type="password" name="password" placeholder="Password" />
<input type="submit" class="btn btn-primary" value="Login" name="process" style="margin-bottom: 9px" />
- <p style="display: inline"><?php echo anchor("user/reset_password", "Forgot your password?"); ?></p>
+ <?php if(auth_driver_function_implemented("can_reset_password")) { ?>
+ <p style="display: inline"><?php echo anchor("user/reset_password", "Forgot your password?"); ?></p>
+ <?php } ?>
</form>
<?php } ?>
<div class="row">
@@ -65,7 +67,9 @@
<div class="span6">
<div class="page-header"><h1>Information</h1></div>
<p>This website's primary goal is aiding developers, power users, students and alike in solving problems, debugging software, sharing their configuration, etc. It is not intended to distribute confidential or harmful information, scripts or software.</p>
- <p>If you believe you deserve an account, ask someone who is already using this service to <a href="<?php echo site_url("user/invite"); ?>">invite</a> you.</p>
+ <?php if(auth_driver_function_implemented("can_register_new_users")) { ?>
+ <p>If you believe you deserve an account, ask someone who is already using this service to <a href="<?php echo site_url("user/invite"); ?>">invite</a> you.</p>
+ <?php } ?>
<?php if(isset($contact_me_url) && $contact_me_url) { ?>
<p>If you experience any problems feel free to <a href="<?php echo $contact_me_url; ?>">contact me</a>.</p>
<?php } ?>