mirror of
https://github.com/Mibew/tray.git
synced 2024-11-15 09:24:12 +03:00
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:
parent
9a4a863ef5
commit
b5ed1f8ebd
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
Web Instant Messenger
|
||||
Open Web Messenger
|
||||
Copyright (c) 2005-2008 сообщество разработчиков Web Messenger.
|
||||
|
||||
Все права защищены. Данное программное обеспечение и сопутствующие материалы
|
||||
|
@ -97,7 +97,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Web Messenger/<?php echo $page['version'] ?> • <?php echo $page['localeLinks'] ?> • <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
|
||||
«<span style="color:#bb5500;">Open</span> Web Messenger» <?php echo $page['version'] ?> • <?php echo $page['localeLinks'] ?> • <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -74,7 +74,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Web Messenger/<?php echo $page['version'] ?> • <?php echo $page['localeLinks'] ?> • <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
|
||||
«<span style="color:#bb5500;">Open</span> Web Messenger» <?php echo $page['version'] ?> • <?php echo $page['localeLinks'] ?> • <a href="<?php echo $webimroot ?>/epl-v10.html" target="_blank"><?php echo getlocal("install.license") ?></a>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -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 .= " • ";
|
||||
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;
|
||||
}
|
||||
|
@ -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:
|
||||
|
6
src/messenger/webim/locales/names/properties
Normal file
6
src/messenger/webim/locales/names/properties
Normal file
@ -0,0 +1,6 @@
|
||||
encoding=utf-8
|
||||
|
||||
en=English
|
||||
fr=Français
|
||||
sp=Español
|
||||
ru=Russian
|
@ -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:
|
||||
|
@ -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');
|
||||
?>
|
@ -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/>
|
||||
«<span style="color:#bb5500;">Open</span> Web Messenger» <?php echo $page['version'] ?> • <?php echo $page['localeLinks'] ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -74,7 +74,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Web Messenger/<?php echo $page['version'] ?> • <?php echo $page['localeLinks'] ?>
|
||||
«<span style="color:#bb5500;">Open</span> Web Messenger» <?php echo $page['version'] ?> • <?php echo $page['localeLinks'] ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user