From dce1b3cb6b28be512d5a927d5bce9435dde02499 Mon Sep 17 00:00:00 2001
From: satish <satish.dvnk@vtiger.com>
Date: Tue, 23 May 2017 13:39:07 +0530
Subject: [PATCH] Added footer for login page

---
 layouts/v7/modules/Users/Login.tpl       |  4 ++--
 layouts/v7/modules/Users/LoginFooter.tpl | 11 -----------
 modules/Users/views/Login.php            |  2 +-
 3 files changed, 3 insertions(+), 14 deletions(-)
 delete mode 100644 layouts/v7/modules/Users/LoginFooter.tpl

diff --git a/layouts/v7/modules/Users/Login.tpl b/layouts/v7/modules/Users/Login.tpl
index 211864aa3..12ab730cd 100644
--- a/layouts/v7/modules/Users/Login.tpl
+++ b/layouts/v7/modules/Users/Login.tpl
@@ -15,7 +15,7 @@
 			background-position: center;
 			background-size: cover;
 			width: 100%;
-			height: 100%;
+			height: 96%;
 			background-repeat: no-repeat;
 		}
 		hr {
@@ -120,7 +120,6 @@
 		}
 		.app-footer p {
 			margin-top: 0px;
-			padding-bottom: 0px !important;
 		}
 		.footer {
 			background-color: #fbfbfb;
@@ -392,4 +391,5 @@
 				loginFormDiv.find('#username').focus();
 			});
 		</script>
+		</div>
 	{/strip}
\ No newline at end of file
diff --git a/layouts/v7/modules/Users/LoginFooter.tpl b/layouts/v7/modules/Users/LoginFooter.tpl
deleted file mode 100644
index 8f684bffe..000000000
--- a/layouts/v7/modules/Users/LoginFooter.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-{*+**********************************************************************************
-* The contents of this file are subject to the vtiger CRM Public License Version 1.1
-* ("License"); You may not use this file except in compliance with the License
-* The Original Code is: vtiger CRM Open Source
-* The Initial Developer of the Original Code is vtiger.
-* Portions created by vtiger are Copyright (C) vtiger.
-* All Rights Reserved.
-************************************************************************************}
-</div>
-</body>
-</html>
diff --git a/modules/Users/views/Login.php b/modules/Users/views/Login.php
index 657843a6c..da4451429 100644
--- a/modules/Users/views/Login.php
+++ b/modules/Users/views/Login.php
@@ -85,7 +85,7 @@ class Users_Login_View extends Vtiger_View_Controller {
 	function postProcess(Vtiger_Request $request) {
 		$moduleName = $request->getModule();
 		$viewer = $this->getViewer($request);
-		$viewer->view('LoginFooter.tpl', $moduleName);
+		$viewer->view('Footer.tpl', $moduleName);
 	}
 
 	function getPageTitle(Vtiger_Request $request) {
-- 
GitLab