Hi,


Hope that is you want.

Add version under the logo Add the posibility to show or not on the login
page

Fred
Index: roundcubemail/config/main.inc.php.dist
===================================================================
--- roundcubemail/config/main.inc.php.dist	(révision 552)
+++ roundcubemail/config/main.inc.php.dist	(copie de travail)
@@ -246,5 +246,8 @@
 // default setting if preview pane is enabled
 $rcmail_config['preview_pane'] = FALSE;
 
+//Show version on login page
+$rcmail_config['login_show_version'] = TRUE;
+
 // end of config file
 ?>
Index: roundcubemail/program/localization/fr/labels.inc
===================================================================
--- roundcubemail/program/localization/fr/labels.inc	(révision 552)
+++ roundcubemail/program/localization/fr/labels.inc	(copie de travail)
@@ -177,5 +177,5 @@
 $labels['sortby'] = 'Trier par';
 $labels['sortasc'] = 'Tri ascendant';
 $labels['sortdesc'] = 'Tri descendant';
-
+$labels['version'] = 'Version';
 ?>
\ Pas de fin de ligne à la fin du fichier
Index: roundcubemail/program/localization/en_GB/labels.inc
===================================================================
--- roundcubemail/program/localization/en_GB/labels.inc	(révision 552)
+++ roundcubemail/program/localization/en_GB/labels.inc	(copie de travail)
@@ -192,4 +192,5 @@
 $labels['sortasc']  = 'Sort ascending';
 $labels['sortdesc'] = 'Sort descending';
 
+$labels['version'] = 'Version';
 ?>
\ Pas de fin de ligne à la fin du fichier
Index: roundcubemail/skins/default/common.css
===================================================================
--- roundcubemail/skins/default/common.css	(révision 552)
+++ roundcubemail/skins/default/common.css	(copie de travail)
@@ -424,3 +424,9 @@
   background-color: #CC3333;
 }
 
+#version{
+  margin-left: 55px;
+  color: #666;
+  font-size: 11px;
+  font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
+}
\ Pas de fin de ligne à la fin du fichier
Index: roundcubemail/skins/default/templates/login.html
===================================================================
--- roundcubemail/skins/default/templates/login.html	(révision 552)
+++ roundcubemail/skins/default/templates/login.html	(copie de travail)
@@ -27,11 +27,14 @@
 </style>
 </head>
 <body>
-
-<img src="/images/roundcube_logo.png" width="165" height="55" border="0" alt="<roundcube:object name='productname' />" hspace="10" />
-
-<roundcube:object name="message" id="message" />
-
+<div>
+	<img src="/images/roundcube_logo.png" width="165" height="55" border="0" alt="<roundcube:object name='productname' />" hspace="10" />
+</div>
+<roundcube:if condition="config:show_version == true" />
+	<div id="version">
+		<roundcube:label name="version" /> <roundcube:object name="version" />
+	</div>
+ <roundcube:endif />
 <div id="login-form">
 <div class="boxtitle"><roundcube:label name="welcome" /></div>
 <div class="boxcontent">
Index: roundcubemail/skins/default/includes/header.html
===================================================================
--- roundcubemail/skins/default/includes/header.html	(révision 552)
+++ roundcubemail/skins/default/includes/header.html	(copie de travail)
@@ -1,3 +1,10 @@
-<div id="header"><roundcube:button command="mail" image="/images/roundcube_logo.png" alt="RoundCube Webmail" width="165" height="55" /></div>
+<div id="header">
+<roundcube:button command="mail" image="/images/roundcube_logo.png" alt="RoundCube Webmail" width="165" height="55" />
 
-<roundcube:object name="message" id="message" />
+<roundcube:if condition="config:show_version == true" />
+	<div id="version">
+		<roundcube:label name="version" /> <roundcube:object name="version" />
+	</div>
+ <roundcube:endif />
+
+</div>
Index: roundcubemail/index.php
===================================================================
--- roundcubemail/index.php	(révision 552)
+++ roundcubemail/index.php	(copie de travail)
@@ -102,6 +102,7 @@
 // set output buffering
 if ($_action != 'get' && $_action != 'viewsource')
 {
+
   // use gzip compression if supported
   if (function_exists('ob_gzhandler') && ini_get('zlib.output_compression'))
     ob_start('ob_gzhandler');

Reply via email to