phpBMS

Changeset 198 for trunk/phpbms/index.php

Show
Ignore:
Timestamp:
03/08/07 15:02:42 (5 years ago)
Author:
brieb
Message:

Minor bug fixes, basic gui reformatting, further progress on scheduler.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/index.php

    r196 r198  
    4545<html xmlns="http://www.w3.org/1999/xhtml"> 
    4646<head> 
    47         <title><?php echo $_SESSION["application_name"]; ?> - Login Page</title> 
     47        <title><?php echo $_SESSION["application_name"]; ?> - Login</title> 
    4848        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    4949 
     
    5353        <script language="javascript" src="common/javascript/login.js" type="text/javascript"></script> 
    5454</head> 
    55 <body onload="setMainFocus()"> 
     55<body onload="init()"> 
    5656        <div id="loginbox" class="bodyline" > 
    5757                <h1 class="box"> 
     
    6161                <h3>Business Management Web Application</h3> 
    6262                <?php if ($failed) {?><div class="standout" id="failed"><?php echo $failed?></div><?php } ?> 
    63  
     63                <noscript> 
     64                        <p class="standout" align="center">JavaScript is disabled.</p> 
     65                        <p> Please check browser requirements.</p> 
     66                </noscript> 
    6467                <form name="form1" method="post" action="<?php echo $_SERVER["PHP_SELF"]?>"> 
    6568                        <p> 
    6669                                <label for="username">name</label><br /> 
    67                                 <input name="name" type="text" id="username" size="25" maxlength="64" value="<?php echo htmlQuotes($_POST["name"])?>"/> 
     70                                <input name="name" type="text" id="username" size="25" maxlength="64" value="<?php echo htmlQuotes($_POST["name"])?>" disabled="disabled"/> 
    6871                        </p> 
    6972                         
    7073                        <p> 
    7174                                <label for="password">password</label><br /> 
    72                                 <input name="password" type="password" id="password" size="25" maxlength="24"/> 
     75                                <input name="password" type="password" id="password" size="25" maxlength="24" disabled="disabled"/> 
    7376                        </p> 
    7477                         
    75                         <p><input id="command" name="command" type="submit" class="Buttons" value="Log On"/></p> 
     78                        <p><button class="Buttons" type="submit" id="loginButton" disabled="disabled">Log In</button></p> 
    7679                </form> 
    7780         
     
    8386        <?php if($_SESSION["demo_enabled"]=="true"){?> 
    8487        <div id="demobox" class="bodyline"> 
    85                 <h2>Demonstration Mode Enabled</h2> 
     88                <h2>Demonstration Mode</h2> 
    8689                <p> 
    8790                        Use the following user credentials to log into phpBMS. Each user  
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.