Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79e5bdb1 authored by Ronak Patel's avatar Ronak Patel
Browse files

added login screen patch

parent 4561de5d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ COPY patches/ ${TMP_PATCH_DIR}/
RUN patch -u ${BASE_DIR}/core/templates/layout.user.php -i ${TMP_PATCH_DIR}/003-contact-search-removal.patch
RUN patch -u ${BASE_DIR}/core/Controller/ContactsMenuController.php -i ${TMP_PATCH_DIR}/004-contact-search-controller-removal.patch
RUN cd ${BASE_DIR} && patch -p0 < ${TMP_PATCH_DIR}/005-autocomplete-user-leak-core.patch
# RUN patch -u ${BASE_DIR}/core/templates/layout.guest.php -i ${TMP_PATCH_DIR}/016-login-screen.patch
RUN patch -u ${BASE_DIR}/core/templates/layout.guest.php -i ${TMP_PATCH_DIR}/016-login-screen.patch
RUN patch -u ${BASE_DIR}/lib/private/Notification/Manager.php -i ${TMP_PATCH_DIR}/020-fairuse-notification-fix.patch
RUN cd ${BASE_DIR} && patch -u ${BASE_DIR}/apps/user_ldap/lib/User_LDAP.php -i ${TMP_PATCH_DIR}/023-ldap-check-pwd-optimization.patch
RUN patch -u ${BASE_DIR}/lib/private/User/Manager.php -i ${TMP_PATCH_DIR}/025-optimize-get-by-email.patch
+11 −14
Original line number Diff line number Diff line
From: Akhil <akhil@e.email>
Date: Thu, 28 Mar 2023 15:05:00 +0530
Subject: [PATCH] Login page patch to apply Murena login page

This patch applies the Murena login page changes to the login page

--- ./core/templates/layout.guest.php	2023-03-28 14:56:52.130616847 +0530
+++ ./core/templates/layout.guest-new.php	2023-03-28 15:01:34.973604329 +0530
--- ./core/templates/layout.guest.php	2024-03-15 19:20:21
+++ ./core/templates/layout.guest-new.php	2024-03-15 19:24:49
@@ -22,6 +22,7 @@
 		<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('core', 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
 		<link rel="manifest" href="<?php print_unescaped(image_path('core', 'manifest.json')); ?>">
 		<link rel="manifest" href="<?php print_unescaped(image_path('core', 'manifest.json')); ?>" crossorigin="use-credentials">
 		<?php emit_css_loading_tags($_); ?>
+		<?php array_push($_['jsfiles'] , '/themes/eCloud/core/js/custom-login.js') ?>
 		<?php emit_script_loading_tags($_); ?>
 		<?php print_unescaped($_['headers']); ?>
 	</head>
\ No newline at end of file
@@ -30,12 +31,37 @@
 		<?php foreach ($_['initialStates'] as $app => $initialState) { ?>
 			<input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>">
@@ -54,6 +49,7 @@ This patch applies the Murena login page changes to the login page
 						</div>
 					</header>
 				<?php endif; ?>
\ No newline at end of file
@@ -44,13 +70,24 @@
 						<?php p($theme->getName()); ?>
 					</h1>
@@ -77,10 +73,11 @@ This patch applies the Murena login page changes to the login page
+				</p>
+			</footer>
 		</div>
-		<footer role="contentinfo">
-		<footer role="contentinfo" class="guest-box">
-			<p class="info">
-				<?php print_unescaped($theme->getLongFooter()); ?>
-			</p>
-		</footer>
 	</body>
 </html>
\ No newline at end of file