Disable more of the horizontal login code plan on reworking and using as an option later.

This commit is contained in:
markjcrane 2016-04-29 15:33:52 -06:00
parent e7dd30113b
commit 339b5425c2
1 changed files with 50 additions and 49 deletions

View File

@ -2165,6 +2165,7 @@
<?php
// login form
if ($_SERVER['PHP_SELF'] != PROJECT_PATH."/core/install/install.php" && !$default_login) {
/*
if (strlen($_SESSION["username"]) == 0) {
//add multi-lingual support
require_once "core/user_settings/app_languages.php";
@ -2176,7 +2177,7 @@
$_SESSION['login']['destination']['url'] = PROJECT_PATH."/core/user_settings/user_dashboard.php";
}
//login form
/*
echo "<div align='right'>\n";
echo " <form name='login' METHOD=\"POST\" action=\"".$_SESSION['login']['destination']['url']."\">\n";
echo " <input type='hidden' name='path' value='".$_GET['path']."'>\n";
@ -2216,8 +2217,8 @@
echo " </table>\n";
echo " </form>";
echo "</div>";
*/
}
*/
}
?>
</td>