Removed the login.php script in main directory that is not being used
authorbradymiller <bradymiller@users.sourceforge.net>
Mon, 1 Jul 2013 01:36:30 +0000 (30 18:36 -0700)
committerbradymiller <bradymiller@users.sourceforge.net>
Mon, 1 Jul 2013 01:36:30 +0000 (30 18:36 -0700)
login.php [deleted file]

diff --git a/login.php b/login.php
deleted file mode 100644 (file)
index 0c6267c..0000000
--- a/login.php
+++ /dev/null
@@ -1,97 +0,0 @@
-<?php
-
-$ignoreAuth=true;
-include_once("../globals.php");
-include_once("$srcdir/sha1.js");
-include_once("$srcdir/sql.inc");
-?>
-<html>
-<head>
-<link rel=stylesheet href="<?php echo $css_header;?>" type="text/css">
-</head>
-<body topmargin=0 rightmargin=0 leftmargin=2 bottommargin=0 marginwidth=2 marginheight=0 onload="javascript:document.login_form.authUser.focus();" >
-
-<span class="text"></span>
-
-<center>
-
-<form method="POST" action="../main/main_screen.php?auth=login" target="_top" name=login_form>
-
-<?php
-
-$res = sqlStatement("select distinct name from groups");
-for ($iter = 0;$row = sqlFetchArray($res);$iter++)
-       $result[$iter] = $row;
-if (count($result) == 1) {
-       $resvalue = $result[0]{"name"};
-       echo "<input type='hidden' name='authProvider' value='$resvalue' />\n";
-}
-?>
-
-<table width=100% height="90%">
-<tr>
-<td valign=middle width=33%>
-<?php echo $logocode;?>
-</td>
-<td align='center' valign='middle' width=34%>
-<table>
-<?php
-
-if (count($result) != 1) {
-?>
-<tr>
-<td><span class="text"><?xl('Group:','e')?></span></td>
-<td>
-<select name=authProvider>
-<?php
-
-       foreach ($result as $iter) {
-               echo "<option value='".$iter{"name"}."'>".$iter{"name"}."</option>\n";
-       }
-?>
-</select>
-</td></tr>
-<?php
-
-}
-?>
-<tr>
-<td><span class="text"><?xl('Username:','e')?></span></td>
-<td>
-<input type="entry" size=10 name=authUser>
-</td></tr><tr>
-<td><span class="text"><?xl('Password:','e')?></span></td>
-<td>
-<input type="password" size=10 name=clearPass>
-</td></tr>
-<tr><td>&nbsp;</td><td>
-<input type="hidden" name="authPass">
-<!-- ViCareplus : As per NIST standard, the SHA1 encryption algorithm is used-->
-<input type="submit" onClick="javascript:this.form.authPass.value=SHA1(this.form.clearPass.value);this.form.clearPass.value='';" value="<?php xl('Login','e'); ?>">
-</td></tr>
-</table>
-
-</td>
-<td width=33%>
-
-<!-- Uncomment this for the OpenEMR demo installation
-<p><center>login = admin
-<br>password = pass
--->
-
-</center></p>
-
-</td>
-</table>
-
-
-
-</form>
-
-<address>
-<a href="copyright_notice.html" target="main"><?xl('Copyright Notice','e')?></a><br />
-</address>
-
-</center>
-</body>
-</html>