From 22bea1b6138027b160b4ece6a7c1ebe86dd96075 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Wed, 1 Dec 2010 23:56:55 +0000
Subject: [PATCH] New: Prepare for new features

---
 htdocs/core/tpl/login.tpl.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php
index 0c8ef6fc4bc..d7004d56745 100644
--- a/htdocs/core/tpl/login.tpl.php
+++ b/htdocs/core/tpl/login.tpl.php
@@ -66,6 +66,10 @@ function donnefocus() {
 <form id="login" name="login" method="post" action="<?php echo $php_self; ?>">
 <input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
 <input type="hidden" name="loginfunction" value="loginfunction" />
+<!-- Add fields to send local user information -->
+<input type="hidden" name="tz" value="" />
+<input type="hidden" name="screenwidth" value="" />
+<input type="hidden" name="screenheight" value="" />
 
 <table class="login" summary="<?php echo $title; ?>" cellpadding="0" cellspacing="0" border="0" align="center">
 <tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr>
-- 
GitLab