1.5.0 beta1 (added separate locale for locale names, nice footer)

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@212 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2008-11-28 12:18:27 +00:00
parent 9a4a863ef5
commit b5ed1f8ebd
12 changed files with 22 additions and 15 deletions

View File

@ -1,5 +1,5 @@
/*
* Web Messenger common script
* Open Web Messenger common script
* http://sourceforge.net/projects/webim
*
* Based on Prototype JavaScript framework, version 1.3.1

View File

@ -1,5 +1,5 @@
Web Instant Messenger
Open Web Messenger
Copyright (c) 2005-2008 Web Messenger Creators Community.
All rights reserved. This program and the accompanying materials

View File

@ -1,5 +1,5 @@
Web Instant Messenger
Open Web Messenger
Copyright (c) 2005-2008 сообщество разработчиков Web Messenger.
Все права защищены. Данное программное обеспечение и сопутствующие материалы

View File

@ -97,7 +97,7 @@
</tr>
</table>
Web Messenger/<?php echo $page['version'] ?> &bull; <?php echo $page['localeLinks'] ?> &bull; <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
&laquo;<span style="color:#bb5500;">Open</span> Web Messenger&raquo; <?php echo $page['version'] ?> &bull; <?php echo $page['localeLinks'] ?> &bull; <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
</td>
</tr>

View File

@ -74,7 +74,7 @@
</tr>
</table>
Web Messenger/<?php echo $page['version'] ?> &bull; <?php echo $page['localeLinks'] ?> &bull; <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
&laquo;<span style="color:#bb5500;">Open</span> Web Messenger&raquo; <?php echo $page['version'] ?> &bull; <?php echo $page['localeLinks'] ?> &bull; <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
</td>
</tr>

View File

@ -17,7 +17,7 @@ session_start();
require_once(dirname(__FILE__).'/converter.php');
require_once(dirname(__FILE__).'/config.php');
$version = 'v1.4.3';
$version = '1.5.0 beta 1';
function myiconv($in_enc, $out_enc, $string) {
global $_utf8win1251, $_win1251utf8;
@ -119,9 +119,9 @@ function get_locale_links($href) {
if( strlen($localeLinks) > 0 )
$localeLinks .= " &bull; ";
if( $k == $current_locale )
$localeLinks .= $k;
$localeLinks .= getlocal_($k, "names");
else
$localeLinks .= "<a href=\"$href?locale=$k\">$k</a>";
$localeLinks .= "<a href=\"$href?locale=$k\">".getlocal_($k, "names")."</a>";
}
return $localeLinks;
}

View File

@ -13,8 +13,8 @@ page_login.remember=Remember
page_login.error=Entered login/password is incorrect
agent.not_logged_in=Your session is expired please login again
page_client.pending_users=Your can find awaiting visitors.
chat.window.title.agent=Web Messenger
chat.window.title.user=Web Messenger
chat.window.title.agent=Open Web Messenger
chat.window.title.user=Open Web Messenger
chat.window.product_name=Web <span class="grey">Messenger</span>
chat.window.close_title=Close chat
chat.window.chatting_with=You chat with:

View File

@ -0,0 +1,6 @@
encoding=utf-8
en=English
fr=Français
sp=Español
ru=Russian

View File

@ -13,8 +13,8 @@ page_login.remember=Recordar
page_login.error=Usuario/password incorrecto
agent.not_logged_in=Su session a expirado por favor accese de nuevo
page_client.pending_users=Puedes encontrar visitantes en espera.
chat.window.title.agent=Web Messenger
chat.window.title.user=Web Messenger
chat.window.title.agent=Open Web Messenger
chat.window.title.user=Open Web Messenger
chat.window.product_name=Web <span class="grey">Messenger</span>
chat.window.close_title=Cerrar conversacion
chat.window.chatting_with=Esta en conversacion con:

View File

@ -36,7 +36,7 @@ if( isset($_POST['login']) && isset($_POST['password']) ) {
}
}
$page = array( 'backPath' => '', 'formisRemember' => true );
$page = array( 'backPath' => '', 'formisRemember' => true, 'version' => $version, 'localeLinks' => get_locale_links("$webimroot/operator/login.php") );
start_html_output();
require('../view/login.php');
?>

View File

@ -114,7 +114,8 @@
</table></td><td></td></tr><tr><td><img src='<?php echo $webimroot ?>/images/logincrnlb.gif' width='16' height='16' border='0' alt=''></td><td></td><td><img src='<?php echo $webimroot ?>/images/logincrnrb.gif' width='16' height='16' border='0' alt=''></td></tr></table></td></tr></table>
</form>
<br/>
&laquo;<span style="color:#bb5500;">Open</span> Web Messenger&raquo; <?php echo $page['version'] ?> &bull; <?php echo $page['localeLinks'] ?>
</td>
</tr>
</table>

View File

@ -74,7 +74,7 @@
</tr>
</table>
Web Messenger/<?php echo $page['version'] ?> &bull; <?php echo $page['localeLinks'] ?>
&laquo;<span style="color:#bb5500;">Open</span> Web Messenger&raquo; <?php echo $page['version'] ?> &bull; <?php echo $page['localeLinks'] ?>
</td>
</tr>