From ae39c47c3a07f9a9334c9676829fd948d682ffbd Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 01 Mar 2011 16:58:54 -0500
Subject: [PATCH] New config option for custom logo; allow skins to define/override texts

---
 skins/default/templates/login.html |   37 ++++++++++++++++++++++++-------------
 1 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/skins/default/templates/login.html b/skins/default/templates/login.html
index bf928c2..7fb4370 100644
--- a/skins/default/templates/login.html
+++ b/skins/default/templates/login.html
@@ -1,32 +1,43 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<title>Welcome to RoundCube|Mail</title>
-<link rel="stylesheet" type="text/css" href="/common.css" />
-<style type="text/css">
-
-#login-form
-  {
-	margin: 150px auto;
-	width: 350px;
-  }
-
-</style>
+<title><roundcube:object name="pagetitle" /></title>
+<meta name="Robots" content="noindex,nofollow" />
+<roundcube:include file="/includes/links.html" />
 </head>
 <body>
 
-<div id="header"><img src="skins/default/images/roundcube_logo.png" id="rcmbtn104" width="165" height="55" border="0" alt="RoundCube Webmail" /></div>
+<roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" style="margin:0 11px" />
 
 <roundcube:object name="message" id="message" />
 
 <div id="login-form">
+<div class="boxtitle"><roundcube:label name="welcome" /></div>
+<div class="boxcontent">
+
 <form name="form" action="./" method="post">
 <roundcube:object name="loginform" form="form" />
 
-<p style="text-align: center;"><input type="submit" class="button" value="<roundcube:label name="login" />">
+<p style="text-align:center;"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p>
 
 </form>
 </div>
+</div>
+
+<roundcube:object name="preloader" images="
+    /images/icons/folders.png
+    /images/mail_footer.png
+    /images/taskicons.gif
+    /images/display/loading.gif
+    /images/pagenav.gif
+    /images/mail_toolbar.png
+    /images/searchfield.gif
+    /images/messageicons.png
+    /images/icons/reset.gif
+    /images/abook_toolbar.png
+    /images/icons/groupactions.png
+    /images/watermark.gif
+" />
 
 </body>
 </html>

--
Gitblit v1.9.1