SAAS-155: Add possibility to show additional information on

login page (for demo site)

- username and password are auto filled on demo site
- added informative msg on demo site about username and password
This commit is contained in:
James 2012-01-17 14:47:26 -05:00
parent 63b2fa94de
commit 3a8ba36e0d
4 changed files with 22 additions and 6 deletions

View file

@ -2,6 +2,9 @@
<div class="logobox">&nbsp;</div>
<h2>Login</h2>
<div id="login" class="login-content clearfix">
<?php if(isset($this->demo) && $this->demo == 1){?>
<p style="font-weight:bold">Welcome to the online Airtime demo! You can log in using the username 'admin' and the password 'admin'.</p>
<?php }?>
<p class="light" style='<?php echo $this->error?"color:#902d2d;font-size:11px;padding:2px 4px;background:#c6b4b4;margin-bottom:2px;border:1px solid #c83f3f;":""?>'><?php echo $this->message; ?></p>
<?php echo $this->form; ?>
</div>